Advanced search  

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]

Pages: [1]   Go Down

Author Topic: register.php failing  (Read 2104 times)

0 Members and 1 Guest are viewing this topic.

artman1913

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
register.php failing
« 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.
Logged

artman1913

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: register.php failing
« Reply #1 on: August 29, 2022, 11:36:57 pm »

PHP Version 8.0.17
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: register.php failing
« Reply #2 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 to update your installation to the red-highlighted (very latest) version. Or you could optionally make the small change referred to here.
« Last Edit: August 30, 2022, 06:06:31 am by ron4mac »
Logged

artman1913

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: register.php failing
« Reply #3 on: August 30, 2022, 06:37:00 am »

Thanks
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.