News:

CRITICAL UPGRADE CPG RELEASE 1.6.30
Version 1.6.30 removes a serious security issue that could allow unauthorized access to modify your site. Upgrade as soon as possible.

Main Menu

[Solved]: Fix for upgrade to PHP 5.3 in debugger.inc

Started by sdstern, November 27, 2009, 10:59:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sdstern

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.

Nibbler

We fixed this months ago. Update your gallery.

sdstern