Login Admin Error After Update Login Admin Error After Update
 

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

Login Admin Error After Update

Started by Danii, November 21, 2017, 01:47:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Danii

My Gallery has been out of action since the PHP Change, im not heavily intelligent with scripts and coding I have been working with the gallery for about 10 years on different sites...

Followed some fantastic posts here about upgrading and getting it to the updated version im now on 6
However, I ran the update.php after the script install which finally got off my home page error, but I cannot login my admin login just says

"Welcome to Coppermine update
• • • ERROR • • •
The following errors were encountered and need to be corrected first:
Could not authenticate you - Try again"

Have absolutley no idea where to go from here, my head is spinning reading the threads


Can anybody help where to go from here please, much appreciate your time thank you so much

Αndré

Please have a close look at the credentials you are asked for on update.php. In the first try you have to insert your Coppermine admin account, at the second try the MySQL account (or vice versa).

Danii

Ive managed to run the update

my problem now is the whole site is updated but normal login.php protocol

Nothing.. Im entering my account, the correct password that enabled me into update.php but it just says login failed

I have PHP MY ADMIN open under users and I have the correct info there but its not letting me in... I can run the update.php under this info but It won't generically let me into the site with the account?

Αndré

Running update.php and accessing phpMyAdmin is both possible without your Coppermine admin account. If you open the users table with phpMyAdmin the passwords you'll see are hashed, so you cannot copy and paste them to the login form. But you can set the password of your admin account:

1. Find your admin account
2. Set "user_password" to: 098f6bcd4621d373cade4e832627b4f6
3. Clear "user_password_salt", if set
4. Login in Coppermine with your admin user name and password: test

Danii

Maybe ive messed this up now, I changed my MYSQL password (as you mentioned it could have been that) though I was innocently searching for something to work, I changed it back to the same password I set the gallery with but I now have

Coppermine critical error:
Unable to connect to database !

MySQLi said: :

Cant get anything past that, have put in my Config File the right info the password etc is there someone else I need to be changing

Αndré

You need to update the credentials in include/config.inc.php to match your MySQL setup.

Danii

everything is updated the correct info, Database Name, Password, LocalHost etc all correct

Αndré

If everything is correct you shouldn't get
Coppermine critical error:
Unable to connect to database !

anymore, right? If you still get that error, maybe your MySQL database is down or there's another issue with your database.

ron4mac