Last modified: 2006-07-15 21:16:25 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 T8682, the corresponding Phabricator task for complete and up-to-date bug report information.
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...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.8.x
All All
: Normal critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links