forum.coppermine-gallery.net

Support => cpg1.6.x Support => cpg1.6 miscellaneous => Topic started by: artman1913 on August 29, 2022, 11:13:48 pm

Title: register.php failing
Post by: artman1913 on August 29, 2022, 11:13:48 pm
Looking at a previous install that was upgraded to 1.6.19
register.php gives the term page the second with login info and what not but not the third.
the problem seems to be line 822

Putting some debugging into register.php including

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

##################
print "<font color=red> Got to here 5.6 ART<br></font>";
    if ($result->numRows(free)) {
print "<font color=red> Got to here 5.6.1  ART</font>";
        $error = '<li style="list-style-image:url(images/icons/stop.png)">' . $lang_register_php['err_user_exists'] . '</li>';
        return false;
    }

print "<font color=red> Got to here 5.7   ART</font>";
##############################

I get the 5.6 line output but nothing after that.
Title: Re: register.php failing
Post by: artman1913 on August 29, 2022, 11:36:57 pm
PHP Version 8.0.17
Title: Re: register.php failing
Post by: ron4mac on August 30, 2022, 06:00:15 am
Thank you for your feedback. That error condition has already been identified and is corrected for the next version. If you need to have your installation run without error in that area, use the cpg_installer_stub (https://forum.coppermine-gallery.net/index.php/topic,79168.msg383813.html#msg383813) to update your installation to the red-highlighted (very latest) version. Or you could optionally make the small change referred to here (https://forum.coppermine-gallery.net/index.php/topic,80545.msg389551.html#msg389551).
Title: Re: register.php failing
Post by: artman1913 on August 30, 2022, 06:37:00 am
Thanks