[wp-trac] Re: [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
Thu Mar 9 00:39:36 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:  Thu Mar  9 00:39:36 2006
 Severity:  normal     |   Milestone:                          
 Priority:  normal     |     Version:  2.0.1                   
    Owner:  anonymous  |    Reporter:  apidevlab               
-----------------------+----------------------------------------------------
Comment (by apidevlab):

 Just looking again and see the header is declared twice:

         '''header('Content-Type: text/html; charset=utf-8');'''
         echo <<<HEAD
         <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
         <html xmlns="http://www.w3.org/1999/xhtml">
         <head>
                 <title>SkratchPad &rsaquo; Error</title>
                 '''<meta http-equiv="Content-Type" content="text/html;
 charset=utf-8" />'''
                 <style media="screen" type="text/css">

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


More information about the wp-trac mailing list