Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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...
Comment | File | Size | Author |
---|---|---|---|
#1 | Login Session update uid errors.doc | 253.5 KB | edwardsuen |
Drupal Successful login screen.doc | 140 KB | edwardsuen |
Comments
Comment #1
edwardsuen CreditAttribution: edwardsuen commentedI 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!!
Comment #2
kuahyeow CreditAttribution: kuahyeow commentedWhat is the real issue here?
Comment #3
FlemmingLeer CreditAttribution: FlemmingLeer commentedWhich 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.Comment #4
edwardsuen CreditAttribution: edwardsuen commentedReally appreciate your solutions, Yes, the problems is fixed once the session.inc is uploaded.
Now the user session table is updated.
Comment #5
cosmicdreams CreditAttribution: cosmicdreams commentedGlad to hear your issue is fixed. I'll close this issue.