This topic is locked

Strange login problem

9/27/2007 09:40:08
PHPRunner General questions
T
tomstreet author

Many of my users are receiving invalid login messages when they try to login to their accounts. When I check the database and verify the entries and try them myself I also get the invalid login message. If I delete the account and add it back exactly as it was it then works. Still others are working just fine. Any ideas what might be going on?
Thanks!

Alexey admin 9/27/2007

Hi,
looks like there are some trailing spaces in usernames and passwords.

R
rfbuehler 1/3/2008

Hi,

looks like there are some trailing spaces in usernames and passwords.


I have a similar problem. An original user works OK but any that are added result in "Invalid Login".

I look at the records using MySQL Admin and the username and password are correct NO TRAILING SPACES but still fail to login.

Any suggestions.
BTW this was working fine on a test server before being migrated to a production server.
After migrating to a production server all works OK except login.

Sergey Kornilov admin 1/3/2008

Richard,
you can try to upload your application to Demo Account and if this error is reproducible there send the URL to support@xlinesoft.com for investigation.

J
Jepsen 1/3/2008

I had a similar problem.
When analysing it, it was only the users that I had added to the users list. And only those where I had used cot and paste from emails to put them in the database. The cut and paste added a tailing space to the username.
I then went into the database and deleted all the tailing spaces (this is where inline editing comes in handy :-) and the problem was solved.
Morten