[wp-trac] [WordPress Trac] #2544: Running setup-config.php?step=2 (no wp-config.php) produces a 'Headers already sent' error

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 8 19:35:01 GMT 2006


#2544: Running setup-config.php?step=2 (no wp-config.php) produces a 'Headers
already sent' error
-----------------------+----------------------------------------------------
       Id:  2544       |      Status:  new                     
Component:  General    |    Modified:  Wed Mar  8 19:35:01 2006
 Severity:  normal     |   Milestone:                          
 Priority:  normal     |     Version:  2.0.1                   
    Owner:  anonymous  |    Reporter:  apidevlab               
-----------------------+----------------------------------------------------
 Running the install script with wp-config.php not present, setup-
 config.php properly detects the missing file, and offers to create one.
 After filling in the necessary entries for hostname, user, password,
 database, and "submit"ing the data, setup-config.php fails at step 2 with
 this error.

 {{{

 Warning: Cannot modify header information - headers already sent by
 (output started at /storage/Debian/wordpress/wp-admin/setup-config.php:22)
 in /storage/Debian/wordpress/wp-includes/wp-db.php on line 308
 }}}


 This error is present in a 'clean' install of 2.0.1 and has been 'worked
 around' by commenting the following lines:


 {{{
 header( 'Content-Type: text/html; charset=utf-8');
 }}}



 {{{
 <h1 id="logo"><img alt="WordPress"
 src="http://static.wordpress.org/logo.png" /></h1>
 }}}

 More in this thread: http://wordpress.org/support/topic/64003

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


More information about the wp-trac mailing list