[wp-trac] [WordPress Trac] #11881: setup-config.php step 2 broken
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 15 21:58:38 UTC 2010
#11881: setup-config.php step 2 broken
-----------------------------+----------------------------------------------
Reporter: sivel | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Upgrade/Install | Version: 3.0
Severity: major | Keywords: has-patch
-----------------------------+----------------------------------------------
Description changed by ryan:
Old description:
> 11881.5.diff tested ok with my installs.
New description:
setup-config.php step 2 is broken now that wp-db.php calls is_multisite().
In addition it also causes a notice.
{{{
Notice: Use of undefined constant WP_DEBUG - assumed 'WP_DEBUG' in
/var/www/trunk/wp-includes/wp-db.php on line 370
Fatal error: Call to undefined function is_multisite() in /var/www/trunk
/wp-includes/wp-db.php on line 373
}}}
Because setup-config.php uses wp-db.php without first including wp-
settings.php which is where WP_DEBUG and is_multisite are defined it
causes a notice and a fatal error.
--
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11881#comment:26>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list