https://bugzilla.wikimedia.org/show_bug.cgi?id=24301
--- Comment #2 from Platonides <[email protected]> 2010-07-08 19:21:17 UTC --- The problem is not just the check, if you comment it you get other errors: Notice: Constant MEDIAWIKI already defined in mediawiki/maintenance/Maintenance.php on line 414 loadParamsAndArgs() gives several errors, since there's no global $argv: Warning: array_shift() [function.array-shift]: The argument should be an array in mediawiki/maintenance/Maintenance.php on line 481 Warning: reset() [function.reset]: Passed variable is not an array or object in mediawiki/maintenance/Maintenance.php on line 487 doMaintenance assumes that it is being run in the global scope, but updaters.inc loads the files inside a function thus the $IP used is not the global one. Notice: Undefined variable: IP in maintenance/doMaintenance.php on line 54 Notice: Undefined variable: IP in mediawiki/maintenance/doMaintenance.php on line 57 Warning: require_once(/includes/ProfilerStub.php) [function.require-once]: failed to open stream: No such file or directory in mediawiki/maintenance/doMaintenance.php on line 57 Fatal error: require_once() [function.require]: Failed opening required '/includes/ProfilerStub.php' in mediawiki/maintenance/doMaintenance.php on line 57 Then, doMaintenance calls Maintenance::loadSettings() which die because LocalSettings.php does not exist (the installer is trying to create it). The scripts use wfGetDB( DB_MASTER ) instead of the global $wgDatabase -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
