I have noticed a whole thread of posts on this, but none seem to help : http://drupal.org/node/105114 This has only happened in the past 48 hours or so, so if might be some upgrade. It may well be a the server end, they have had a look, but they don't support 3rd party software :(

The server is running Apache version 1.3.41 (Unix) PHP version 5.2.5
MySQL version 4.1.22-standard

I try to log in mysite.com/user/

it won't accept my p/w do I ask for a new temp p/w, which I log in with, and put in a new p/w. But then it doesn't accept that and I am locked out.

The posts mentioned commenting out

<< Solution: In user.module, comment out
sess_regenerate();
return 'user/'. $user->uid;

so that it looks like

//sess_regenerate();
//return 'user/'. $user->uid; >>

but this code is not in my version of user.module.

Another post, way down the list suggested to delete php.ini. I don't believe I have a php.ini file to delete (where would it be??) as the last person on this commented.

Does anyone have any ideas about how to get in. Obviously the next step is to upgrade to 6.1, but I can't do that properly (uninstalling extra modules etc), until I can get in.

I am rather desperate, as I need to update content!!

Comments

gareth_w’s picture

but with only one browser. Changing to a different browser worked fine. Obvioulsy not an ideal or long term solution - but you could give this a try?

Gareth

xmacinfo’s picture

In some circumtances, after an upgrade to a major release, it might be wise to delete your cookies.

But, beforehand, did you try login with another browser?

modul’s picture

What happens if you don't login with /yoursite/user, but with /yoursite/?q=user ?

Php.ini belongs to the php installation you're running Drupal on. Unless you are running your own server, or unless you have access to the php program itself, you won't be able to reach php.ini. In any case, it does not belong to Drupal.

If you have access to your MySQL tables, you could try by manually inserting a new password for the superuser, with the md5() function. But first make a backup of your user table, of course... There are some examples of this on this forum. Just look for md5.