login problem

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
stift
Posts: 10
Joined: Thu 13. May 2004, 18:15
Location: Stuttgart

login problem

Post 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
stift
Posts: 10
Joined: Thu 13. May 2004, 18:15
Location: Stuttgart

Problem solved

Post 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
Jan212
Posts: 859
Joined: Wed 28. Jan 2004, 21:38
Location: Solingen
Contact:

Post 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?
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
stift
Posts: 10
Joined: Thu 13. May 2004, 18:15
Location: Stuttgart

Post 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.
MatthiasH
Posts: 5
Joined: Fri 10. Sep 2004, 15:05

Re: login problem

Post 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: :? )
Post Reply