register.php failing register.php failing
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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