Title: Warning: Cannot modify header information
Last modified: August 19, 2016

---

# Warning: Cannot modify header information

 *  [breen](https://wordpress.org/support/users/breen/)
 * (@breen)
 * [18 years ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-14/)
 * I know that there are about 100 threads on this, but I tried everything and nothing
   works.
 * It is a FRESH installation of wordpress. Nothing changed (except WP-config.php)
 * `Warning: Cannot modify header information - headers already sent by (output 
   started at C:\Users\Breen\Documents\xampp\htdocs\wordpress\wp-config.php:1) in
   C:\Users\Breen\Documents\xampp\htdocs\wordpress\wp-includes\pluggable.php on 
   line 694`
 * This is the error. Yes I’m using xXAMPP, I checked wp-config.php and functions.
   php for whitespace, but didn’t find any.

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

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [18 years ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-14/#post-767696)
 * the box in the upper right hand corner labeled search …
 * [http://wordpress.org/search/headers+already+sent+by+wp-config.php%3A1?forums=1](http://wordpress.org/search/headers+already+sent+by+wp-config.php%3A1?forums=1)
 * its whitespace or linebreaks before the opening `<?php` in wp-config.php
 * It always is, its never different.Its only the gazillionith post with the same
   problem.
 *  Thread Starter [breen](https://wordpress.org/support/users/breen/)
 * (@breen)
 * [18 years ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-14/#post-767700)
 *     ```
       <?php
       //** MySQL-Einstellungen **//
       define('DB_NAME', 'wordpress');    // Der Name der Datenbank
       define('DB_USER', 'root');     // Ihr MySQL-Benutzername
       define('DB_PASSWORD', ''); // Sowie das MySQL-Passwort
       define('DB_HOST', 'localhost');    // Diesen Parameter müssen Sie in den allermeisten FÃ¤llen nicht Ã¤ndern
       define('DB_CHARSET', 'utf8');
       define('DB_COLLATE', '');
   
       // Wenn Sie mehrere WordPress-Installationen in einer Datenbank haben,
       // muss jede Installation ein eigenes "Tabellenpräfix" bekommen
       $table_prefix  = 'wp_';   // Bitte nur Zahlen, Buchstaben und/oder Unterstriche
   
       // Setzen Sie für SECRET_KEY ein Passwort oder einen langen Satz ein. Sie
       // werden ihn später nicht mehr benötigen, daher machen Sie es ruhig lang und
       // kompliziert.  Unter http://api.wordpress.org/secret-key/1.0/ können Sie einen langen
       // Passwortsatz automatisch generieren lassen.
       define('SECRET_KEY', 'Fuegen Sie hier einen beliebigen Satz ein.');
   
       // Ändern Sie den folgenden Parameter, wenn Sie eine übersetzte Version von
       // WordPress nutzen. Für die gewünschte Sprache muss eine MO-Datei in
       // wp-content/languages liegen.
       // Installieren Sie beispielsweise de_DE.mo in wp-content/languages und
       // setzen Sie WPLANG auf 'de_DE', um WordPress auf deutsch zu haben.
       define ('WPLANG', 'de_DE');
   
       /* Ab hier sind keine weiteren Änderungen notwendig. Viel Spaß beim Bloggen! */
   
       define('ABSPATH', dirname(__FILE__).'/');
       require_once(ABSPATH.'wp-settings.php');
       ?>
       ```
   
 * Tell me where the whitespace is.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [18 years ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-14/#post-767703)
 * I already told you. And I should have known you would come back with that. Please,
   I beg, dont argue with me. I have 3 years experience on these forums, and another
   year running WP away from these forums. And Ive probably answered this same question
   100 times. let me go look at my profile.
 * 191×30 = 5730 posts Nope, Im wrong, Ive probably answered this question 300 times.
 * Its there, and you wont see it in a copy & paste.
 * if you need to prove me right, upload a fresh copy of the sample wp-config.php,
   rename it.. and watch how THAT error goes away, and is replaced by the cannot
   connect to db messages.
 *  Thread Starter [breen](https://wordpress.org/support/users/breen/)
 * (@breen)
 * [18 years ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-14/#post-767704)
 * [http://breen-design.de/config.zip](http://breen-design.de/config.zip)
 * Here you go.
 * I don’t want to argue, there is just nothing before the <?php
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [18 years ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-14/#post-767706)
 * .. moving on, sorry. Ive already answered your question.
 *  Thread Starter [breen](https://wordpress.org/support/users/breen/)
 * (@breen)
 * [18 years ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-14/#post-767707)
 * Nice, didn’t help me at all.
 *  [ivovic](https://wordpress.org/support/users/ivovic/)
 * (@ivovic)
 * [18 years ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-14/#post-767708)
 * Breen… notepad?… or wordpad? or something better? confess.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [18 years ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-14/#post-767711)
 * actually, Im NOT done. Im going to show you JUST so you can see.
 * [http://www.village-idiot.org/broke/argue-not-grasshoppa.gif](http://www.village-idiot.org/broke/argue-not-grasshoppa.gif)
 * The black is me removing my username on my box. The red shows not ONE but 2 locations
   where chars have been inserted into the file.
 * You can clearly see the one right where I said it was.
 * Next time dont be so sure of yourself. Like I said, Ive a little experience here.
 * PS: youre welcome for the **help**
 * edit: the second is caused by the german aumulaet or whatever that is.
 *  [ivovic](https://wordpress.org/support/users/ivovic/)
 * (@ivovic)
 * [18 years ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-14/#post-767712)
 * that’s why I asked if it was notepad… notepad will pick an encoding type based
   on the content of the file.
 * use wordpad, if there’s nothing better around.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [18 years ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-14/#post-767719)
 * and, by the way, I will admit I should have also included any sort of chars, 
   like is in yours. In my haste I forgot to mention those. Not that it would have
   mattered.
 *  Thread Starter [breen](https://wordpress.org/support/users/breen/)
 * (@breen)
 * [18 years ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-14/#post-767736)
 * Your server seems to be down or something. Isn’t working.
    I’d be glad to see
   the picture.
 * I’m using Dreamweaver CS3, but also tried with Notepad, Wordpad and EasyEclipse.
   
   No whitespace for me.
 *  Thread Starter [breen](https://wordpress.org/support/users/breen/)
 * (@breen)
 * [18 years ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-14/#post-767747)
 * Finally…
    I opened the file with OpenOffice and there were some strange icons.
   I deleted them, saved as .txt, renamed to .php and traraaa it works.
 * Thank you very much, whooami.
 * But your server still doesn’t work, ping neither.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [18 years ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-14/#post-767857)
 * my server works fine . thank you. Your packets were prolly dropped since I dont
   care for a good deal of spammy european hosts.
 *  [jonimueller](https://wordpress.org/support/users/jonimueller/)
 * (@jonimueller)
 * [18 years ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-14/#post-767869)
 * Use EditPlus or something similar to edit text files. And EditPlus also edits
   PHP, CSS, HTML, and other code language files. If you use something like that
   you shouldn’t get those kinds of problems.
    [http://www.editplus.com/](http://www.editplus.com/)
 * It’s not free, but it’s well worth the $35 for a single user license.

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

The topic ‘Warning: Cannot modify header information’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 14 replies
 * 4 participants
 * Last reply from: [jonimueller](https://wordpress.org/support/users/jonimueller/)
 * Last activity: [18 years ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-14/#post-767869)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
