Page 1 of 1

login problem

Posted: Mon 22. Jan 2007, 19:42
by stift
I have tried to find a similar problem in the forum.

Have developed a website on my MacBook. It works fine and I upload the CMS folder 1:1 to a webserver. I have setup the DB and changed the conf.inc.php.
Anything works fine, login to the backend and site works. But... I can login only once. After a timeout or after I logout, I can't login again to the backend. No message or anything else. If I enter a wrong PW a error message appear. With the correct login data nothing happens.

If I delete all DB tables and import the sql file again I can login again, but only once.

Any idea?

phpwcms v1.2.8
MySQL 4.0.25 and PHP Version 5.2.0

Stift

Problem solved

Posted: Mon 22. Jan 2007, 20:06
by stift
I have found the problem :-)

After I set the field phpwcms_userlog/userlog_id to auto_increment the login works without problems.

Maybe it was a problem in my export file....

Stift

Posted: Mon 22. Jan 2007, 21:07
by Jan212
Hey Stift,

I know this problem, i posted it allready... you have to check all auto_increments in every table and set them up again...

are you using mySQL 5 local and convert/ export it via phpmyadmin to 4?

Posted: Mon 22. Jan 2007, 22:16
by stift
are you using mySQL 5 local and convert/ export it via phpmyadmin to 4?
I have export it to 4 because the other options produce a sql error during the import.

Thank's for the answer. I have check and changed all tables now.

Re: login problem

Posted: Thu 22. Feb 2007, 05:38
by MatthiasH
stift wrote:If I enter a wrong PW a error message appear. With the correct login data nothing happens.
It happend to me the second time now: my first login try - nothing happens, no error message too, the second try works. (The last time I immediately changed my password, in case someone caught it... :lol: :? )