Title: Cannot modify header-repost
Last modified: August 19, 2016

---

# Cannot modify header-repost

 *  Resolved [skrunch](https://wordpress.org/support/users/skrunch/)
 * (@skrunch)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/cannot-modify-header-repost/)
 * I went to [http://www.meandeviation.com/tutorials/learnphp/php-syntax-check/do-syntax-check-2.php](http://www.meandeviation.com/tutorials/learnphp/php-syntax-check/do-syntax-check-2.php)
   and checked my wp-confid.php, wp-login.php, and pluggable.php. All checked good.
   I will still include my wp-config.php at the end. On my login page it says :
 * Warning: Cannot modify header information – headers already sent by (output started
   at C:\xampp\htdocs\wordpress\wp-config.php:31) in C:\xampp\htdocs\wordpress\wp-
   login.php on line 267
 * Warning: Cannot modify header information – headers already sent by (output started
   at C:\xampp\htdocs\wordpress\wp-config.php:31) in C:\xampp\htdocs\wordpress\wp-
   login.php on line 279
 * above my login.
    If I finish logging in I get :
 * Warning: Cannot modify header information – headers already sent by (output started
   at C:\xampp\htdocs\wordpress\wp-config.php:31) in C:\xampp\htdocs\wordpress\wp-
   login.php on line 267
 * Warning: Cannot modify header information – headers already sent by (output started
   at C:\xampp\htdocs\wordpress\wp-config.php:31) in C:\xampp\htdocs\wordpress\wp-
   login.php on line 279
 * Warning: Cannot modify header information – headers already sent by (output started
   at C:\xampp\htdocs\wordpress\wp-config.php:31) in C:\xampp\htdocs\wordpress\wp-
   includes\pluggable.php on line 595
 * Warning: Cannot modify header information – headers already sent by (output started
   at C:\xampp\htdocs\wordpress\wp-config.php:31) in C:\xampp\htdocs\wordpress\wp-
   includes\pluggable.php on line 596
 * Warning: Cannot modify header information – headers already sent by (output started
   at C:\xampp\htdocs\wordpress\wp-config.php:31) in C:\xampp\htdocs\wordpress\wp-
   includes\pluggable.php on line 597
 * Warning: Cannot modify header information – headers already sent by (output started
   at C:\xampp\htdocs\wordpress\wp-config.php:31) in C:\xampp\htdocs\wordpress\wp-
   includes\pluggable.php on line 770.
 * I change my keys to make them simpler since they were a problem in the first 
   place. I changed them after my problems and they have made no change. Same symptoms.
   
   wpconfig
 *     ```
       <?php
       // ** MySQL settings ** //
       define('DB_NAME', 'wordpress');    // The name of the database
       define('DB_USER', 'root');     // Your MySQL username
       define('DB_PASSWORD', ''); // ...and password
       define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value
       define('DB_CHARSET', 'utf8');
       define('DB_COLLATE', '');
   
       // Change each KEY to a different unique phrase.  You won't have to remember the phrases later,
       // so make them long and complicated.  You can visit http://api.wordpress.org/secret-key/1.1/
       // to get keys generated for you, or just make something up.  Each key should have a different phrase.
       define('AUTH_KEY', 'oi43v834v3h83v8');
       define('SECURE_AUTH_KEY', '02h8298f94f97f97f');
       define('LOGGED_IN_KEY', '0843f0h4f3h4f3pp9493934');// You can have multiple installations in one database if you give each a unique prefix
       $table_prefix  = 'wp_';   // Only numbers, letters, and underscores please!
   
       // Change this to localize WordPress.  A corresponding MO file for the
       // chosen language must be installed to wp-content/languages.
       // For example, install de.mo to wp-content/languages and set WPLANG to 'de'
       // to enable German language support.
       define ('WPLANG', '');
   
       /* That's all, stop editing! Happy blogging. */
   
       if ( !defined('ABSPATH') )
       	define('ABSPATH', dirname(__FILE__) . '/');
       require_once(ABSPATH . 'wp-settings.php');
       ?>
       ```
   

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

 *  Thread Starter [skrunch](https://wordpress.org/support/users/skrunch/)
 * (@skrunch)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/cannot-modify-header-repost/#post-869104)
 * Must have been a white space at the end…woohoo..on to next problem right?
 *  [rcpcooper](https://wordpress.org/support/users/rcpcooper/)
 * (@rcpcooper)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/cannot-modify-header-repost/#post-869329)
 * Hello skrunch, I have exactly the same problem that you do. In which php file
   did you have the white space at the end?
 * Thanks
 *  [rcpcooper](https://wordpress.org/support/users/rcpcooper/)
 * (@rcpcooper)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/cannot-modify-header-repost/#post-869330)
 * Hi again, I fixed the problem. It was the space at the end of the wpconfig.php
   
   I was not sure at the beginning because I couldnt see the space with the editor
   I was working. So I opened the file with the note pad and noticed the space. 
   Thank you

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

The topic ‘Cannot modify header-repost’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 2 participants
 * Last reply from: [rcpcooper](https://wordpress.org/support/users/rcpcooper/)
 * Last activity: [17 years, 8 months ago](https://wordpress.org/support/topic/cannot-modify-header-repost/#post-869330)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
