Title: Cannot modify header error, tryed a lot, HELP needed
Last modified: August 19, 2016

---

# Cannot modify header error, tryed a lot, HELP needed

 *  Resolved [maddin01](https://wordpress.org/support/users/maddin01/)
 * (@maddin01)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/cannot-modify-header-error-tryed-a-lot-help-needed/)
 * Hello everybody!
 * I get the well known “Cannot modify header…” error and I just can´t find the 
   mistake.
 * I installed WP (german version) successfully under XAMPP on my computer
    [http://localhost/wordpress/](http://localhost/wordpress/)
   The frontpage of my new blog is shown properly. BUT: On Admin-login I get messages
   like this:
 * Warning: Cannot modify header information – headers already sent by (output started
   at I:\xampp\htdocs\wordpress\wp-config.php:1) in I:\xampp\htdocs\wordpress\wp-
   login.php on line 255
 * After clicking Login, I get some more of those on a white screen, all pointing
   to the same line.
 * According to this, the error should be in line 1 of my wp-config.
    (As editor
   I use Notepad++)
 * Things I already tried are:
    – Deleted ANY caracters before <?php or after ?>
   of wp-config.php
 * – Saved in utf8 WITHOUT BOM
 * – Deleted browser cache (Firefox) before login trial
 * My wp-config looks like this:
 * <?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 Unterstriche
 * // Setzen Sie für AUTH_KEY, SECURE_AUTH_KEY und LOGGED_IN_KEY ein Passwort oder
   //
   einen langen Satz ein. Sie werden ihn später nicht mehr benötigen, daher // machen
   Sie ihn ruhig lang und kompliziert. Unter [http://api.wordpress.org/secret-key/1.0/](http://api.wordpress.org/secret-key/1.0/)//
   können Sie einen langen Passwortsatz automatisch generieren lassen. define(‘AUTH_KEY’,‘
   put your unique phrase here’); define(‘SECURE_AUTH_KEY’, ‘put your unique phrase
   here’); define(‘LOGGED_IN_KEY’, ‘put your unique phrase here’);
 * // Ä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! */
 * if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’); require_once(
   ABSPATH.’wp-settings.php’); ?>
 * THANK YOU IN ADVANCE FOR YOUR HELP!!
    I already grew a few more grey hairs over
   this, hope you can help me tear them out again… :-))

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

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/cannot-modify-header-error-tryed-a-lot-help-needed/#post-1032062)
 * > Warning: Cannot modify header information – headers already sent by (output
   > started at I:\xampp\htdocs\wordpress\wp-config.php:1) in I:\xampp\htdocs\wordpress\
   > wp-login.php on line 255
   > After clicking Login, I get some more of those on a white screen, all pointing
   > to the same line.
   > According to this, the error should be in line 1 of my wp-config.
   >  (As editor
   > I use Notepad++)
   > Things I already tried are:
   >  – Deleted ANY caracters before <?php or after ?
   > > of wp-config.php
   > – Saved in utf8 WITHOUT BOM
 * Make another wp-config.php
 * The problem is exactly what you think, you just havent fixed it, so start over
   🙂
 *  Thread Starter [maddin01](https://wordpress.org/support/users/maddin01/)
 * (@maddin01)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/cannot-modify-header-error-tryed-a-lot-help-needed/#post-1032204)
 * Thanks a lot for the encouragement whooami, I´ll try again.
 * Two questions left which might help me:
    – Is there any FOOLPROOF-no-BOM editor
   for PHP files? – Could anybody point me to the download of a definitely CLEAN
   config.php ? Thanks in advance for your replies!
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/cannot-modify-header-error-tryed-a-lot-help-needed/#post-1032225)
 * > Could anybody point me to the download of a definitely CLEAN config.php ?
 * Notepad or equivalent
 * > Could anybody point me to the download of a definitely CLEAN config.php ?
 * the wp-config-sample.php that has been coming with the zip has a carriage return
   at the very start
    remove that as some servers don’t like it and hold off putting
   anything in the auth keys until installed
 *  Thread Starter [maddin01](https://wordpress.org/support/users/maddin01/)
 * (@maddin01)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/cannot-modify-header-error-tryed-a-lot-help-needed/#post-1032281)
 * Hello samboll, hello whooami!!!
    Thank you! Problem solved! I used the wp-config.
   php from the us-zip now and everything went smoothly. Maybe there was something
   wrong with the the german installer-version I used before or I was wrong somehow.
 * Anyway, I wouldn´t have succeeded without your help!
    Very valuable! Thanks again,
   greetings, Maddin01

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

The topic ‘Cannot modify header error, tryed a lot, HELP needed’ is closed to new
replies.

## Tags

 * [Admin login error](https://wordpress.org/support/topic-tag/admin-login-error/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 4 replies
 * 3 participants
 * Last reply from: [maddin01](https://wordpress.org/support/users/maddin01/)
 * Last activity: [17 years, 1 month ago](https://wordpress.org/support/topic/cannot-modify-header-error-tryed-a-lot-help-needed/#post-1032281)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
