forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: monstermind on June 08, 2008, 06:09:46 pm
-
Hi,
For some weird reason, I can no longer login with my admin user/pass. I doesn't recognise my username when I use the 'forgot password'-feature. When I browse the dbase, I do see a user 'admin' with an long, encrypted password. I tried editting this field to set a new password, but that does not work.
How can I get access again as an administrator?
Thanks a lot,
Robert
-
Firstly clear your cookies and try to login, if that doesnt work use a md5 hash tool (see here (http://www.google.com/search?hl=en&q=md5+encrypt&meta=)) and hash a new password. Using a database manager like PHPMyAdmin edit the password field for your user with the new one. Then try to login.
-
Thanks for your suggestions.
I went to http://md5encryption.com/ to make a new password and copy/pasted it into the dbase field using PHPmyadmin. But I still cannot login... Removing cookies didn't work either...
What is the next step?
Thanks again!
Robert
-
why not use phpmyadmin to create the password?? While editing the user set 'function' next to user_password to md5
-
Thanks Stramm,
I adjusted the function to md5, and it does encrypt the password I filled out correctly. However, when trying to login, I still get: *** Couldn't log in. Try again ***
Thanks, Robert
-
Forgot about that Stramm, cheers.
Can you view your profile for the user you are trying to login? in other words: does this account actually exist on this install of Coppermine and you are not editing a users table for another gallery? Its an easy mistake to make.
-
You could try adminpass.php as described by SAMI in this thread.
http://forum.coppermine-gallery.net/index.php/topic,33512.msg158620.html#msg158620 (http://forum.coppermine-gallery.net/index.php/topic,33512.msg158620.html#msg158620)
-
Hi,
The adminpass.php solution worked, thanks a million guys!
Robert