No matters which id have login into drupal-4.7.3, the session table uid always update it with uid=0, result in unsuccessful login, and in user side, it's a fake login success informations, please suggest how to fix this errors...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

edwardsuen’s picture

I have do a new installations with durpal-4.7.4 and a new database installed, but the same errors exist, and I believe the errors on files and DB are not likely..
But cannot determine why it has worked before, and suddenly it won't now!!

kuahyeow’s picture

Component: accessability » accessibility
Priority: Critical » Normal

What is the real issue here?

FlemmingLeer’s picture

Which version of php are you using ?

If it´s php 5.2 then try this:
I had the same problem not being able to login.

But then I used the CVS version 1.27.2.1 of session.inc for drupal 4.7.4 on a server running php 5.2 and it solved my problem.

Grab it here at the download option:
http://cvs.drupal.org/viewcvs/drupal/drupal/includes/session.inc?rev=1.2...

The current version of session.inc is 1.27, which is the one supplied in 4.7.4.

session.inc is in the /includes/ directory. Simply FTP or access your server and copy the new session.inc and I think your problem is solved.

edwardsuen’s picture

Really appreciate your solutions, Yes, the problems is fixed once the session.inc is uploaded.
Now the user session table is updated.

cosmicdreams’s picture

Status: Active » Closed (fixed)

Glad to hear your issue is fixed. I'll close this issue.