Page MenuHomePhabricator

Two PHP undefined index notices on thumb.php in E_ALL error_reporting mode.
Closed, ResolvedPublic

Description

Author: nickpj

Description:
Opening URL: http://192.168.0.64/wiki/thumb.php

Gives HTML output that includes these notices in E_ALL error reporting mode:

Notice: Undefined index: f in /var/www/hosts/mediawiki/phase3/thumb.php on line 22

Notice: Undefined index: w in /var/www/hosts/mediawiki/phase3/thumb.php on line 23


Version: 1.8.x
Severity: trivial

Details

Reference
bz6889

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:20 PM
bzimport set Reference to bz6889.
bzimport added a subscriber: Unknown Object (MLST).

jimmy.collins wrote:

I get no errors with E_ALL & E_STRICT in r16714. Still present for you?

jimmy.collins wrote:

Hm - I made a mistake. With E_ALL I get following notices with r16723:

Notice: Undefined index: f in /var/www/work/thumb.php on line 23
Notice: Undefined index: w in /var/www/work/thumb.php on line 24
Notice: Undefined variable: page in /var/www/work/thumb.php on line 41
Notice: Undefined variable: page in /var/www/work/thumb.php on line 50