PDA

View Full Version : problems logging in, and warning messages


Redeeman
05-02-2008, 03:47 PM
Cannot login.

I cannot login with phoronix test suite.. the uploadkey doesent get returned. from the file_get_contents() call.

i also get errors:
Warning: imagettfbbox(): Invalid font filename in /home/redeeman/System/Apps/phoronix-test-suite/pts-core/objects/pts_Graph.php on line 187
Warning: imagettftext(): Invalid font filename in /home/redeeman/System/Apps/phoronix-test-suite/pts-core/objects/pts_Graph.php on line 233
Warning: imagettfbbox(): Invalid font filename in /home/redeeman/System/Apps/phoronix-test-suite/pts-core/objects/pts_Graph.php on line 191
Warning: imagettftext(): Invalid font filename in /home/redeeman/System/Apps/phoronix-test-suite/pts-core/objects/pts_Graph.php on line 268

the paramter in the case is "Sans.ttf"

Michael
05-02-2008, 04:51 PM
The font should be inside the pts-core/pts-results-viewer/Sans.ttf can you confirm? Are you using git or version 0.5.0?

Redeeman
05-02-2008, 06:23 PM
oh the font is there, and yes, 0.5.0..

i am however more concerned about the no login part..

Michael
05-02-2008, 06:23 PM
Did you click on the email activation link you received when registering?

Redeeman
05-02-2008, 06:31 PM
i sure did.

Redeeman
05-03-2008, 04:58 PM
michael, any news on why i cannot login?

Michael
05-03-2008, 05:46 PM
Not yet, still can't figure out what the issue would be as right now the PTS Global system is so simple. Can you try making another account and see if it lets you log in there?

Redeeman
05-03-2008, 06:16 PM
new account does not work.. i have created 3 accounts.. the first one called "Redeeman", then when that didnt work, i tried "KasperSandberg", then just now, i tried "tehredee". I realize that you use lower case internally (atleast in the client), but i just preserve case here for 100% correctness.

i have just changed the file_get_contents into an echo and dumped the url, i will private message you the url, the php file returns nothing. So it definetly is server side..

apaige
05-23-2008, 06:33 PM
Can't login either. The console app says "PTS Global Account Not Found.", but if I try to register again with the same username, the website says "This user-name is already in use. Please choose a new name.". I did click on the confirmation link upon registering, and that worked.

Michael
05-24-2008, 07:56 AM
apaige:

Look at the other thread about curl/fopen settings in php.ini configuration with some distributions not setting it up appropriately by default.

apaige
05-24-2008, 08:01 AM
allow_url_fopen = On
I tried to load the URL with the username and md5summed password manually in my browser, I get no output.

Michael
05-24-2008, 08:02 AM
Did you click the link that got emailed to you to activate your account?

apaige
05-24-2008, 08:07 AM
Like I said:
I did click on the confirmation link upon registering, and that worked.

apaige
05-24-2008, 08:14 AM
It's a problem of casing. I registered a new account with an all lowercase password, and logging in worked. I don't know why you use strToLower() in pts-run-cmd.php (makes the password weaker), but I'm guessing the password gets stored in the database intact. Removing strToLower() allowed me to login with my first account.

Michael
05-24-2008, 08:21 AM
Thanks, fixed in git. Not sure why I added in strtolower there to begin with, unless it was from a copy paste. Both the username and password have their strtolower() call removed.