forum.coppermine-gallery.net

Support => cpg1.6.x Support => cpg1.6 upgrading => Topic started by: altenae on October 06, 2021, 11:16:18 am

Title: Failure edit_one_pics.php
Post by: altenae on October 06, 2021, 11:16:18 am
Not sure if his is the way to report errors with PHP 8 ?

With 1.6.14 when a NOT admin user wants to edit his picture edit_one_pics.php) it fails with a white screen.
When the user is an ADMIN it works.
Title: Failure edit_one_pics.php
Post by: ron4mac on October 06, 2021, 12:38:27 pm
Not sure if his is the way to report errors with PHP 8 ?

It would be better if you could enter your findings as issues at the CPG GitHub repository (https://github.com/coppermine-gallery/cpg1.6.x).
Thanks much for your work in finding these PHP 8 issues.
Title: Failure edit_one_pics.php
Post by: altenae on October 06, 2021, 01:03:14 pm
It would be better if you could enter your findings as issues at the CPG GitHub repository (https://github.com/coppermine-gallery/cpg1.6.x).
Thanks much for your work in finding these PHP 8 issues.

Do you have any idea what code is causing this ?
ADMIN users fine others not
Title: Failure edit_one_pics.php
Post by: ron4mac on October 07, 2021, 01:22:05 pm
Do you have any idea what code is causing this ?
ADMIN users fine others not

New version (1.6.15) will correct for some of these issues. It will be released today or tomorrow.
Title: Failure edit_one_pics.php
Post by: altenae on October 07, 2021, 06:02:07 pm
New version (1.6.15) will correct for some of these issues. It will be released today or tomorrow.

Ok Thanks.
I see no changes in edit_one php file.
What file you think is fixed this issue ? (sorry for asking)
Title: Re: Failure edit_one_pics.php
Post by: ron4mac on October 07, 2021, 06:30:21 pm
https://github.com/coppermine-gallery/cpg1.6.x/commit/eeeee3ea69d8a344fa4f925527834f59ec07ce87
Title: Re: Failure edit_one_pics.php
Post by: altenae on October 07, 2021, 06:44:12 pm
https://github.com/coppermine-gallery/cpg1.6.x/commit/eeeee3ea69d8a344fa4f925527834f59ec07ce87

Seen and applied the changes.
Still wihite screen after edit_one php...

Again Admin no issues non Admin users ends up in a white screen (no error messages).
Title: Re: Failure edit_one_pics.php
Post by: altenae on October 07, 2021, 10:27:11 pm
Pff I give up..
Maybe someone can help me out (with payment)

When clicking on apply changes when using edit file information (edit_one_pic.php):

Admin no issues with message "Changes successfully saved"
Other users with screen (nothing else)

Maybe someone has an idea or clue where to look...

Thanks
Title: Re: Failure edit_one_pics.php
Post by: ron4mac on October 08, 2021, 01:40:44 pm
The issue has become clear, identified and resolved.
Apologies for your troubles. Thanks again for your efforts.