ok, i know this was a pretty stupid thing to do.

i forgot my password to a site i don't use often, plus the site is in offline mode.

so, i can't request a new password, because it shows me that site is offline

cannot turn it online because no password.

have 2 accounts created, but no pass.

is there any possibility to solve this without reinstalling whole drupal?

thx

Comments

will_kelly’s picture

Go to your site.

Enter www.mysite.com/user

This will bring up the login and you can request a new password.

You have to love the genius in the /User to protect us from ourselves.

blueskipper’s picture

you wish it was that easy...

i come to my site which is offline

then to access the login i have to type this:

www.mysite.com/?q=user

then login appears, but when you click either request new password or forgot your password,
the page switch back to the Site offline message, and not sending any new pass.

will_kelly’s picture

1. Login to PHP Admin.

2. Goto the User Table

3. Edit the Admin User(UID 1).

4. Change the password to 5e9d11a14ad1c8dd77e98ef9b53fd1ba.

5. Goto www.mysite.com/user

6. Enter your login and "newpassword" as the password.

5e9d11a14ad1c8dd77e98ef9b53fd1ba = newpassword in md5()

blueskipper’s picture

ok, solved.. thank you ppl.

changed in php my admin...all is fine

best wishes for the upcoming holidays :)))