register.php failing register.php failing
 

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]

Main Menu

register.php failing

Started by artman1913, August 29, 2022, 11:13:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

artman1913

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.

artman1913


ron4mac

#2
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 to update your installation to the red-highlighted (very latest) version. Or you could optionally make the small change referred to here.

artman1913