Advanced search  

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

Pages: [1]   Go Down

Author Topic: [Solved]: Problem logging in  (Read 3760 times)

0 Members and 1 Guest are viewing this topic.

monstermind

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
[Solved]: Problem logging in
« 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
« Last Edit: June 09, 2008, 08:02:49 am by Joachim Müller »
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Problem logging in
« Reply #1 on: June 08, 2008, 06:25:24 pm »

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.
Logged
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

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: Problem logging in
« Reply #2 on: June 08, 2008, 06:40:59 pm »

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

Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Problem logging in
« Reply #3 on: June 08, 2008, 07:27:33 pm »

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

monstermind

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: Problem logging in
« Reply #4 on: June 08, 2008, 08:13:48 pm »

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
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Problem logging in
« Reply #5 on: June 08, 2008, 09:06:50 pm »

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.
Logged
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

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4886
    • Windsurf.me
Re: Problem logging in
« Reply #6 on: June 08, 2008, 11:09:37 pm »

You could try adminpass.php as described by SAMI in this thread.

http://forum.coppermine-gallery.net/index.php/topic,33512.msg158620.html#msg158620
Logged
It is a mistake to think you can solve any major problems just with potatoes.

monstermind

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: Problem logging in
« Reply #7 on: June 09, 2008, 02:42:11 am »

Hi,

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

Robert
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.