upgrade from 1.5.48 to 1.6.07 -->login failed upgrade from 1.5.48 to 1.6.07 -->login failed
 

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

upgrade from 1.5.48 to 1.6.07 -->login failed

Started by harritapio, February 03, 2020, 01:49:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

harritapio

hello,
I updated my cpg 1.5.48 to 1.6.07 with cpg_installer_stub.php and now I can not login to gallery at all. It does recognize my admin "username" and after pw it says; welcome guest. I have tried the installation several times, but the result has been always the same (no access).

I have copied the database from cpg 1.5.48 to a new name to be used with cpg 1.6.07, and I can see all the content of the gallery without any problem. But I have no possibility to login, I believe the passwords are for some reason been damaged during the installation. I do not know how to proceed, any advice is welcome.

https://lannenlokarit.fi/cpg/index.php - my gallery

regards

harri

harritapio

Some more info for "login failed" problem:

I have neither plugins nor additional language files in use, only pure installation file: cpg1.6.x-1.6.07.tar.gz

harri

ron4mac

You may have been using the Cookie Consent Plugin before and now you will have to change a value in the database.
https://forum.coppermine-gallery.net/index.php/topic,79419.msg385099.html#msg385099

harritapio

Thanks for good advice!
My previous installation of cpg1.5.48  is on/coppermine path and cpg1.6.07 is on /cpg path, and some remaining traces are still in the config table.

These lines i could find in config table:

Delete contact_form_subject_content Coppermine gallery contact form
Delete cookie_name cpg15x
Delete cookie_path /coppermine/
Delete ecards_more_pic_target https://lannenlokarit.fi/coppermine/
Delete cookies_need_consent 0


cookies _need_consent appears to be "zero" but there might be more cpg1.5.48 traces in other db tables.

harri

harritapio

Good news, now admin login is ok!

I did not find any relevant traces from old path on other db tables, only on config table.

Thanks!

Harri