[wpmu-trac] [WordPress MU Trac] #789: Installer may read non-mu
 wp-config and generate non-helpful error message
    WordPress MU Trac 
    wpmu-trac at lists.automattic.com
       
    Thu Nov 13 18:22:16 GMT 2008
    
    
  
#789: Installer may read non-mu wp-config and generate non-helpful error message
----------------------------+-----------------------------------------------
 Reporter:  rogertheriault  |       Owner:  somebody
     Type:  defect          |      Status:  new     
 Priority:  normal          |   Milestone:  WPMU 2.0
Component:  component1      |     Version:  2.0     
 Severity:  normal          |    Keywords:  VHOST   
----------------------------+-----------------------------------------------
 If installing a brand new MU install in a subdirectory, AND a WordPress
 blog was already installed in root, the installer will find the wp-
 config.php in root, resulting in a php error "Couldn't find constant
 VHOST" and a failed install.
 wp-blog-header.php:
 {{{
         if ( !file_exists( dirname(__FILE__) . '/wp-config.php') &&
 !file_exists( dirname( dirname(__FILE__) ) . '/wp-config.php'))
 }}}
 this seems to be the point at which things go wrong.
 The readme and debugging page don't warn about this possible issue or
 indicate the cause of the problem. Searching the forums brings up tons of
 advice - but doesn't address this issue.
 The installer should either warn of the possibility of a problem and how
 to fix it, or (better) ignore the file '../wp-config.php', or the
 debugging page or readme should provide a warning. An easy workaround (if
 you know what's wrong) is to temporarily rename the wp-config.php file.
-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/789>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
    
    
More information about the wpmu-trac
mailing list