Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: admin cannot log in.  (Read 1813 times)

0 Members and 1 Guest are viewing this topic.

KOREntertainment

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 72
admin cannot log in.
« on: April 24, 2014, 09:39:43 pm »

I have the latest version installed.
I had the settings to "new users register with user name", I changed it to register with email address and logged out, now I cannot log back in, it says user does not exist when I try logging in with email or user name.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1503
  • aka 'i-imagine'
    • Home Page
Re: admin cannot log in.
« Reply #1 on: April 25, 2014, 11:47:20 pm »

Use phpMyAdmin through your hosting control panel to:

  • Make a backup of your db
  • Undo your changes, find the row login_method and change it to username.

In the future, please,

  • Post a link to your Coppermine
  • Try the Search function on this site

KOREntertainment

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 72
Re: admin cannot log in.
« Reply #2 on: April 25, 2014, 11:54:22 pm »

Ok I will do that next time.

http://korentertainment.net/gallery_2014/

Where can I find login_method so I can make the changes? I am using dreamweaver.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1503
  • aka 'i-imagine'
    • Home Page
Re: admin cannot log in.
« Reply #3 on: April 26, 2014, 12:28:26 am »

I'm on a tablet, and need to make it short here.

It is your Coppermine database (db), that resides on your Webhost's server that you need to change. And backup too.

The tool to do it easily is phpMyAdmin, which needs to be run from that server so that it can access the DB. Usually, most hosts have a way to run it through the users' control panel.

If you are in too deep (and don't have backups in your possession), ask your host for help.

KOREntertainment

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 72
Re: admin cannot log in.
« Reply #4 on: April 26, 2014, 12:43:14 am »

Ok I logged into phpMyAdmin for the first time and there was no admin email address, I know I had one there. I added it and everything is fine, Your assistance is greatly appreciated.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1503
  • aka 'i-imagine'
    • Home Page
Re: admin cannot log in.
« Reply #5 on: April 26, 2014, 01:07:12 am »

You're welcome + thanks for marking this as solved.

And, for all current and future readers - bad things can happen to a database - maintain backups.
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 19 queries.