Last modified: 2010-05-10 17:03:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T18902, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16902 - Installer spewing warnings due to disable_functions
Installer spewing warnings due to disable_functions
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.14.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 20628
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-06 15:16 UTC by Tim Starling
Modified: 2010-05-10 17:03 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tim Starling 2009-01-06 15:16:21 UTC
Warning soup confusing people and making them think there's a problem. Reported in 1.13.3:

Warning: shell_exec() has been disabled for security reasons in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1874
Warning: exec() has been disabled for security reasons in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1965
Warning: array_map() [function.array-map]: Argument #2 should be an array in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1970
Warning: Invalid argument supplied for foreach() in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1973
Notice: Undefined variable: wikiLang in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1999

Needs a check for disable_functions in addition to safe_mode, and also the return value of exec(locale) needs to be checked more rigorously.
Comment 1 Chad H. 2009-09-20 08:47:50 UTC
Checking for exec() in r56662. 

Didn't do anything to shell locale checks.
Comment 2 Chad H. 2010-05-10 17:03:47 UTC
This is done with the new-installer being merged in r66008. dl() and exec() support are checked for in all places that use them.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links