Last modified: 2006-07-15 21:16:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 6682 - Cannot install in 1.8svn: config/index.php + includes/Setup.php miss wfProfileIn()
Cannot install in 1.8svn: config/index.php + includes/Setup.php miss wfProfil...
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
All All
: Normal critical (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-07-14 10:57 UTC by Catapult
Modified: 2006-07-15 21:16 UTC (History)
0 users

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


Description Catapult 2006-07-14 10:57:50 UTC
"config/index.php" includes "includes/Setup.php" which calls wfProfileIn(). However, 
this function has not been included before the call, thus causing PHP to die before 
it can install anything.

Suggested workaround (not tested for side-effects):

Index: config/index.php
--- config/index.php    (revision 15609)
+++ config/index.php    (working copy)
@@ -586,7 +586,7 @@
                $wgDBtype = $conf->DBtype;
                $wgDBadminuser = "root";
                $wgDBadminpassword = $conf->RootPW;
                ## Mysql specific:
                $wgDBprefix = $conf->DBprefix;

@@ -597,6 +597,7 @@

                $wgCommandLineMode = true;
                $wgUseDatabaseMessages = false; /* FIXME: For database failure */
+               require_once( "includes/ProfilerStub.php" );
                require_once( "includes/Setup.php" );
                chdir( "config" );

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