Can't Login

sp0om - December 4, 2006 - 16:57

I had a login issue with my blog earlier with the login. When I submit the login form, it doesn't submit and returns me to the login form.

This prompted me to do a fresh install of drupal 4.7.4. I implemented the fix with php 5.2 and it still doesn't work. I have no idea what the issue is.

Is your sessions table being updated?

squaretone - December 4, 2006 - 17:51

I just went through something similar. Do you know if your web hosting environment had changed or been updated before you begin experiancing the problem?

Pull up your database with phpMyAdmin (or whatever method you use) and see what is being logged in the Watchdog table and see if a new session is created in the sessions table.

This post might be of some assistance: http://drupal.org/node/6696

For some of the people in the post it was a browser issue. For others (like me) it was a change to the hosting config.

I was unable to log in

FlemmingLeer - December 4, 2006 - 18:52

But then I used the CVS version 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.

i looked in the watchdog

sp0om - December 4, 2006 - 19:51

i looked in the watchdog table and found that the session does open, but I still can't actually login... WEIRD! :S

browser

squaretone - December 5, 2006 - 03:01

try it accross multiple browsers, ie, firefox, (mac and pc both if possible) to find out if it your drupal install having a problem or your browser.

did you download

FlemmingLeer - December 5, 2006 - 15:14

Sp0om, did you download the session.inc file and still can´t login ?

 
 

Drupal is a registered trademark of Dries Buytaert.