WordPress.org

Make WordPress Core

Changes between Version 26 and Version 27 of Ticket #11881


Ignore:
Timestamp:
01/15/2010 09:59:42 PM (8 years ago)
Author:
ryan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11881 – Description

    v26 v27  
    1  setup-config.php step 2 is broken now that wp-db.php calls is_multisite(). In addition it also causes a notice.
    2                  
     1setup-config.php step 2 is broken now that wp-db.php calls is_multisite(). In addition it also causes a notice.
     2
    33{{{
    4 Notice: Use of undefined constant WP_DEBUG - assumed 'WP_DEBUG' in /var/www/trunk/wp-includes/wp-db.php on line 370             
    5 Fatal error: Call to undefined function is_multisite() in /var/www/trunk/wp-includes/wp-db.php on line 373               
    6 }}}             
    7                  
    8 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. 
     4Notice: Use of undefined constant WP_DEBUG - assumed 'WP_DEBUG' in /var/www/trunk/wp-includes/wp-db.php on line 370
     5Fatal error: Call to undefined function is_multisite() in /var/www/trunk/wp-includes/wp-db.php on line 373
     6}}}
     7
     8Because 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.