Title: Cannot add header information
Last modified: August 18, 2016

---

# Cannot add header information

 *  [whitebeaer](https://wordpress.org/support/users/whitebeaer/)
 * (@whitebeaer)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/cannot-add-header-information-2/)
 * On setup my blog, i recive this errormessage.
    the database login is the same
   like my forum. this ist runnig propperly. has someone any sugesstions 4 me TX
   Ulrich Warning: Cannot add header information – headers already sent by (output
   started at domainpath/subs/www/wordpress/wp-admin/setup-config.php:22) in domainpath/
   subs/www/wordpress/wp-includes/wp-db.php on line 308

Viewing 14 replies - 1 through 14 (of 14 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/cannot-add-header-information-2/#post-365312)
 * This one is a good place to start with:
    [http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F](http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F)
 *  Thread Starter [whitebeaer](https://wordpress.org/support/users/whitebeaer/)
 * (@whitebeaer)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/cannot-add-header-information-2/#post-365320)
 * I followed your link and checked my data, but i cannot finnish my trouble.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/cannot-add-header-information-2/#post-365322)
 * Usually it is a white space before
    `<?php...` or after `?>`
 *  [maerk](https://wordpress.org/support/users/maerk/)
 * (@maerk)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/cannot-add-header-information-2/#post-365323)
 * It seems that it can also happen when a plugin has php code, and then starts 
   a new document, like:
 * `<?php // lots of plugin code here ?>
    <!DOCTYPE ...
 * <!-- Good Old HTML here! -->
 * I’m writing a plugin at the moment and I just discovered this. I also found out
   that you don’t need to go through all that to add a page, you just include the
   body of your HTML in `<div class="wrap"></div>`, in case anyone else is having
   similar problems.
 *  Thread Starter [whitebeaer](https://wordpress.org/support/users/whitebeaer/)
 * (@whitebeaer)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/cannot-add-header-information-2/#post-365372)
 * <?php… or
    after ?>
 * There ist no whitespace. Not in wp-config.php, not in setup-config.php and not
   in wp-login.php. No whitespace before and no after and no in php Tag.
 *  Thread Starter [whitebeaer](https://wordpress.org/support/users/whitebeaer/)
 * (@whitebeaer)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/cannot-add-header-information-2/#post-365374)
 * This ist a view of my header:
    b08(CR)(LF)<———– Where do ist come from <<<<< 
   <!DOCTYPE·html·PUBLIC·”-//W3C//DTD·XHTML·1.0·Transitional//EN”·”[http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>(LF)](http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>(LF))
   <html·xmlns=”[http://www.w3.org/1999/xhtml”>(LF)](http://www.w3.org/1999/xhtml”>(LF))
   <head>(LF) <title>WordPress·›·Setup·Configuration·File</title>(LF) <meta·http-
   equiv=”Content-Type”·content=”text/html;·charset=utf-8″·/>(LF) <style·media=”
   screen”·type=”text/css”>(LF)
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/cannot-add-header-information-2/#post-365375)
 * _b08(CR)(LF)<———– Where do ist come from <<<<<_
 * Maybe you opened the file in the wrong editor?
    WHat kind of text editor do you
   use to edit the files?
 *  Thread Starter [whitebeaer](https://wordpress.org/support/users/whitebeaer/)
 * (@whitebeaer)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/cannot-add-header-information-2/#post-365376)
 * i work with homesite
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/cannot-add-header-information-2/#post-365377)
 * Is that a wysiwyg editor or what?
    You should open WP files ONLY in plain text
   editor, like notepad. Nothing else. Based on what I see above, you have a problem
   with line breaks.
 * I’d suggest, delete what you have and download a fresh copy.
 *  Thread Starter [whitebeaer](https://wordpress.org/support/users/whitebeaer/)
 * (@whitebeaer)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/cannot-add-header-information-2/#post-365378)
 * Homesite is from macromedia, special 4 coding. i copied that blog now for 4 times
   to server, i ask my admin for possible serverproblems. i did it from an other
   workplace.
 * i am confused an dont know what i can do else
 *  Thread Starter [whitebeaer](https://wordpress.org/support/users/whitebeaer/)
 * (@whitebeaer)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/cannot-add-header-information-2/#post-365379)
 * after an other installation (this time i used the tar.gz file)
 * Header (Length = 263):
    HTTP/1.1·200·OK(CR)(LF) Date:·Thu,·30·Mar·2006·06:11:
   11·GMT(CR)(LF) Server:·Apache/1.3.26·(Unix)·Debian·GNU/Linux·mod_xslt/Xalan/1.0·
   mod_gzip/1.3.19.1a·PHP/4.1.2(CR)(LF) X-Powered-By:·PHP/4.1.2(CR)(LF) Connection:·
   close(CR)(LF) Transfer-Encoding:·chunked(CR)(LF) Content-Type:·text/html;·charset
   =utf-8(CR)(LF) (CR)(LF) Content (Length = 2836): b08(CR)(LF) <!DOCTYPE·html·PUBLIC·”-//
   W3C//DTD·XHTML·1.0·Transitional//EN”·”[http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>(LF)](http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>(LF))
   <html·xmlns=”[http://www.w3.org/1999/xhtml”>(LF)](http://www.w3.org/1999/xhtml”>(LF))
   <head>(LF) <title>WordPress·›·Setup·Configuration·File</title>(LF) <meta·http-
   equiv=”Content-Type”·content=”text/html;·charset=utf-8″·/>(LF) <style·media=”
   screen”·type=”text/css”>(LF) ····<!–(LF) (HT)body·{(LF) (HT,HT)font-family:·Georgia,·”
   Times·New·Roman”,·Times,·serif;(LF) (HT,HT)margin-left:·15%;(LF) (HT,HT)margin-
   right:·15%;(LF) (HT)}(LF) (HT)#logo·{(LF)
 *  Thread Starter [whitebeaer](https://wordpress.org/support/users/whitebeaer/)
 * (@whitebeaer)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/cannot-add-header-information-2/#post-365380)
 * last question: is ist possible to umpdate an older version (exp. 1.5.1.3 ) to
   the newer 2.0.2, the old version runs propper
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/cannot-add-header-information-2/#post-365381)
 * You mean the whole blog? Yes. Backup the database and all your wp files first
   just in case.
 *  Thread Starter [whitebeaer](https://wordpress.org/support/users/whitebeaer/)
 * (@whitebeaer)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/cannot-add-header-information-2/#post-365394)
 * Thank u
    Ich shoot my trouble with the Install of the last DE Version. These 
   installation works perfect.
 * best regards
    Ulrich

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Cannot add header information’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 14 replies
 * 4 participants
 * Last reply from: [whitebeaer](https://wordpress.org/support/users/whitebeaer/)
 * Last activity: [20 years, 1 month ago](https://wordpress.org/support/topic/cannot-add-header-information-2/#post-365394)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
