[Solved]: Problem logging in [Solved]: Problem logging in
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: Problem logging in

Started by monstermind, June 08, 2008, 06:09:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

monstermind

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

just_some_guy

Firstly clear your cookies and try to login, if that doesnt work use a md5 hash tool (see here) 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.
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

monstermind

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


Stramm

why not use phpmyadmin to create the password?? While editing the user set 'function' next to user_password to md5

monstermind

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

just_some_guy

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.
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

phill104

It is a mistake to think you can solve any major problems just with potatoes.

monstermind

Hi,

The adminpass.php solution worked, thanks a million guys!

Robert