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: [Solved]: Fix for upgrade to PHP 5.3 in debugger.inc  (Read 5818 times)

0 Members and 1 Guest are viewing this topic.

sdstern

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
    • My Picture Gallery
[Solved]: Fix for upgrade to PHP 5.3 in debugger.inc
« on: November 27, 2009, 10:59:35 pm »

I'm getting many, many copies of this onscreen since installing PHP 5.3

Notice: Undefined offset: 8192 in /var/www/gallery/include/debugger.inc.php on line 112

Here's line 112
 $this->report[$filename][] = $errortype[$errno]." line $linenum: ".$errmsg;

It appears that the value of $errno is 8192

PHP 5.3 adds two new numbers:
8192=> 'use of deprecated functions', 16384=>'use of deprecated user code'. These need to be added to the errortype array at the start of the file.
« Last Edit: November 28, 2009, 09:07:44 am by Joachim Müller »
Logged

Nibbler

  • Guest
Re: Fix for upgrade to PHP 5.3 in debugger.inc
« Reply #1 on: November 27, 2009, 11:32:28 pm »

We fixed this months ago. Update your gallery.
Logged

sdstern

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
    • My Picture Gallery
Re: Fix for upgrade to PHP 5.3 in debugger.inc
« Reply #2 on: November 27, 2009, 11:47:10 pm »

Just did. Thanks.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 19 queries.