Page MenuHomePhabricator

Validator 0.5.x and MediaWiki 1.19.3: "Warning: file() [function.file]: Filename cannot be empty"
Closed, DeclinedPublic

Description

Author: limafox76

Description:
Here is the situation:

  • On a MediaWiki 1.19.2/3 installed on a PHP server v. 5.2.17 and Validator 0.5.x installed, as well as SMW 1.8.0, we get this message on several semantic pages:

    Warning: file() [function.file]: Filename cannot be empty in /home/mysite/public_html/wiki/extensions/Validator/includes/definitions/ParamDefinition.php on line 956

This issue doesn't exist with Validator 0.4.13


Version: REL1_19-branch
Severity: normal
URL: http://test.stargate.wikkii.net/wiki/index.php?title=Project:Main_Page

Details

Reference
bz43607

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:18 AM
bzimport set Reference to bz43607.
bzimport added a subscriber: Unknown Object (MLST).

This is an issue with the compatibility get_called_class. Don't know the source of the issue. Upgrading to PHP 5.3 will fix the problem. This code no longer exists on master, so wontfix.

limafox76 wrote:

PHP upgrade is unfortunately not up to me on this server. Too bad.