Last modified: 2013-04-11 10:33:24 UTC
Whenever I view the Abuse Filter Log for a specific log entry (e.g. log entry 11), I get the following three errors at the top of the page. <b>Warning</b>: popen() has been disabled for security reasons in <b>/home/travwiki/public_html/includes/GlobalFunctions.php</b> on line <b>2980</b><br /> <br /> <b>Warning</b>: fread() expects parameter 1 to be resource, null given in <b>/home/travwiki/public_html/includes/GlobalFunctions.php</b> on line <b>2985</b><br /> <br /> <b>Warning</b>: pclose() has been disabled for security reasons in <b>/home/travwiki/public_html/includes/GlobalFunctions.php</b> on line <b>2993</b><br /> I know why these error occur. The PHP external functions have been disabled by my host for security purposes. And the log entry detail is trying to use the external diff programs for the page changes. My request is can we get the the Abuse Filter Log detail page to check if the php extern functions are disabled without having to generate these errors.
If this bug is valid anywhere it's going to be in core, so moving products/components.
(In reply to comment #0) > My request is can we get the the Abuse Filter Log detail page to check if the > php extern functions are disabled without having to generate these errors. No. Change your php error reporting level, we don't need to re-implement the wheel. error_reporting(E_ERROR | E_PARSE);
The rest of the diff processing in the Mediawiki works correctly without errors and without changing the php reporting level. So why does the error appear just, and only, in the AbuseLog diffs? Is this another affect of bug 36478?
[Please either keep bug resolutions, or explain why you change them.]