Title: &#8220;Cannot modify header information&#8221; issue
Last modified: August 19, 2016

---

# “Cannot modify header information” issue

 *  Resolved [musto](https://wordpress.org/support/users/musto/)
 * (@musto)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-issue/)
 * Hi,
 * I’ve just installed wordpress and edited my wp-config. Install was ok. Now, when
   I access: [http://www.website.com/wp-login.php](http://www.website.com/wp-login.php)
   I have the following lines of errors above the login form:
 * > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/oza/www/wp-config.php:1) in /home/oza/www/wp-login.php on 
   > line 314
 * When I log in as an admin I have blank screen with:
 * > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/oza/www/wp-config.php:1) in /home/oza/www/wp-login.php on 
   > line 302
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/oza/www/wp-config.php:1) in /home/oza/www/wp-login.php on 
   > line 314
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/oza/www/wp-config.php:1) in /home/oza/www/wp-includes/pluggable.
   > php on line 665
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/oza/www/wp-config.php:1) in /home/oza/www/wp-includes/pluggable.
   > php on line 666
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/oza/www/wp-config.php:1) in /home/oza/www/wp-includes/pluggable.
   > php on line 667
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/oza/www/wp-config.php:1) in /home/oza/www/wp-includes/pluggable.
   > php on line 868
 * `
 * I’ve Read the FAQ about that. I don’t have any character before or after <?PHP?
   >.
    As well I created a new wp-config from wp-config-sample and ovverwrittien
   the existing one a couple of times. I don’t have any quotes missing in wp-config.
 * Actually, I noticed there is no ?> at the end of my wp-config-sample, is that
   normal?
 * It ends with:
 * >  …
   >  /** Sets up WordPress vars and included files. */ require_once(ABSPATH .‘
   > wp-settings.php’);
 * I tried adding ?> but I still have the same issue.
 * I’ve had a look at all files just after unzipping wordpress-2.9.2.zip, some of
   them including wp-config-sample don’t and have ?> at the end and some of them
   appear to have a carriage return character after the ?>
 * I’ve tried unzipping with winrar and 7zip, same result.
 * I you have any Idea, it would be much appreciated.
    Cheers.

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

 *  Thread Starter [musto](https://wordpress.org/support/users/musto/)
 * (@musto)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-issue/#post-1460591)
 * Uninstalled – reinstalled works fine now…
 *  [skins](https://wordpress.org/support/users/skins/)
 * (@skins)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/cannot-modify-header-information-issue/#post-1460904)
 * hi,
 * i have exactly the same problem!
 * except I can reach the website, it’s the admin that doesn’t work. I uninstalled-
   reinstalles but when I reach the /wp-admin/ page, I got an error:
 * > Warning: Cannot modify header information – headers already sent by (output
   > started at /wp-config.php:1) in /wp-includes/pluggable.php on line 868
 * When I’m on the /wp-login.php page, I got these errors:
 * > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/ju82093/wp-config.php:1) in /home/ju82093/wp-login.php on 
   > line 302
   >  Warning: Cannot modify header information – headers already sent 
   > by (output started at /home/ju82093/wp-config.php:1) in /home/ju82093/wp-login.
   > php on line 314 Warning: Cannot modify header information – headers already
   > sent by (output started at /home/ju82093/wp-config.php:1) in /home/ju82093/
   > wp-includes/pluggable.php on line 665 Warning: Cannot modify header information–
   > headers already sent by (output started at /home/ju82093/wp-config.php:1) in/
   > home/ju82093/wp-includes/pluggable.php on line 666 Warning: Cannot modify header
   > information – headers already sent by (output started at /home/ju82093/wp-config.
   > php:1) in /home/ju82093/wp-includes/pluggable.php on line 667 Warning: Cannot
   > modify header information – headers already sent by (output started at /home/
   > ju82093/wp-config.php:1) in /home/ju82093/wp-includes/pluggable.php on line
   > 868
 * I login, and then I got errors on /wp-login.php
 * > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/ju82093/wp-config.php:1) in /home/ju82093/wp-login.php on 
   > line 302
   >  Warning: Cannot modify header information – headers already sent 
   > by (output started at /home/ju82093/wp-config.php:1) in /home/ju82093/wp-login.
   > php on line 314 Warning: Cannot modify header information – headers already
   > sent by (output started at /home/ju82093/wp-config.php:1) in /home/ju82093/
   > wp-includes/pluggable.php on line 665 Warning: Cannot modify header information–
   > headers already sent by (output started at /home/ju82093/wp-config.php:1) in/
   > home/ju82093/wp-includes/pluggable.php on line 666 Warning: Cannot modify header
   > information – headers already sent by (output started at /home/ju82093/wp-config.
   > php:1) in /home/ju82093/wp-includes/pluggable.php on line 667 Warning: Cannot
   > modify header information – headers already sent by (output started at /home/
   > ju82093/wp-config.php:1) in /home/ju82093/wp-includes/pluggable.php on line
   > 868
 * What should I do?
 * Thanks
 *  [batrachoid](https://wordpress.org/support/users/batrachoid/)
 * (@batrachoid)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/cannot-modify-header-information-issue/#post-1460905)
 * > What should I do?
 * First, you should start a new thread instead of piggybacking on one, especially
   one marked “resolved.”
 * Second, eliminate any blank spaces at the beginning of your wp-login.php file.

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

The topic ‘“Cannot modify header information” issue’ is closed to new replies.

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)
 * [login](https://wordpress.org/support/topic-tag/login/)
 * [wp-config](https://wordpress.org/support/topic-tag/wp-config/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 3 participants
 * Last reply from: [batrachoid](https://wordpress.org/support/users/batrachoid/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/cannot-modify-header-information-issue/#post-1460905)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
