[wp-trac] [WordPress Trac] #12102: WordpressMU install barfs errors about DB_NAME, DB_USER, DB_PASSWORD, DB_HOST, VHOST

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 31 21:25:50 UTC 2010


#12102: WordpressMU install barfs errors about DB_NAME, DB_USER, DB_PASSWORD,
DB_HOST, VHOST
-----------------------------+----------------------------------------------
 Reporter:  dxjones          |       Owner:  dd32                                 
     Type:  defect (bug)     |      Status:  new                                  
 Priority:  normal           |   Milestone:  Unassigned                           
Component:  Upgrade/Install  |     Version:  2.9.1                                
 Severity:  normal           |    Keywords:  install,constant,db_name,error,notice
-----------------------------+----------------------------------------------
 WordpressMU installer barfs out error messages that these constants are
 already defined:  DB_NAME, DB_USER, DB_PASSWORD, DB_HOST, VHOST.

 I think this is because both the index.php / index-install.php and wp-
 config.php include statements that "define" these constants.

 Although these warnings may be harmless, they are very confusing (and
 unnecessarily sloppy) to anyone installing Wordpress for the first time.

 -- David Jones

 Notice: Constant DB_NAME already defined in /.../html/wp-config.php  on
 line 23

 Notice: Constant DB_USER already defined in /.../html/wp-config.php on
 line 26

 Notice: Constant DB_PASSWORD already defined in /.../html/wp-config.php on
 line 29

 Notice: Constant DB_HOST already defined in /.../html/wp-config.php on
 line 32

 Notice: Constant VHOST already defined in /.../html/wp-config.php on line
 39

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12102>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list