Title: header already sent error&#8230; help!
Last modified: August 18, 2016

---

# header already sent error… help!

 *  [killswitch](https://wordpress.org/support/users/killswitch/)
 * (@killswitch)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/header-already-sent-error-help/)
 * So, I finally go the installation up an running properly. But now when I go to
   the login page it gives me the following errors:
 * Warning: Cannot modify header information – headers already sent by (output started
   at …
 * But I checked the <? php and all that, as directed by the wiki and it still gives
   me errors at login and after an attempted (but failed) login. I’m running php
   postnuke, my host says it’s ver. 4.3.10. But I don’t know what do, help!

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

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/header-already-sent-error-help/#post-127418)
 * The warning gives the line number of the error.
 * Check the other end ?>
 *  [shadow](https://wordpress.org/support/users/shadow/)
 * (@shadow)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/header-already-sent-error-help/#post-127419)
 * Hey Podz – you are a developer now.
    When did this happen?
 * I would have sent you a nice big box of jaffa cakes if I had known 🙂
 * Congratulations
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/header-already-sent-error-help/#post-127421)
 * Shadow – still send them. Please – I have run out 🙁
 * And ta very muchly 🙂
 *  Thread Starter [killswitch](https://wordpress.org/support/users/killswitch/)
 * (@killswitch)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/header-already-sent-error-help/#post-127426)
 * I checked the other end as well. I’ve checked everything the wiki told me to 
   and it seems okay. But I’m still getting errors. Heres the full line of text 
   for the errors.
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/blackout/public_html/killswitch/wp-config.php:34) in /home/blackout/
   public_html/killswitch/wp-login.php on line 42
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/blackout/public_html/killswitch/wp-config.php:34) in /home/blackout/
   public_html/killswitch/wp-login.php on line 43
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/blackout/public_html/killswitch/wp-config.php:34) in /home/blackout/
   public_html/killswitch/wp-login.php on line 44
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/blackout/public_html/killswitch/wp-config.php:34) in /home/blackout/
   public_html/killswitch/wp-login.php on line 45
    WordPress
 * Any ideas?
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/header-already-sent-error-help/#post-127428)
 * /wp-config.php:34)
 * There it is.
 * You doing the delete key thing that it says ?
 *  Thread Starter [killswitch](https://wordpress.org/support/users/killswitch/)
 * (@killswitch)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/header-already-sent-error-help/#post-127432)
 * What delete key thing? I’m not sure what you are reffering to. There’s no space
   before <?php. And the only space behind the ?> is just what’s left over in the
   text editor. But the scroll bar in my editor isn’t activated so i am assuming
   there is no white space behind.
 *  [jkarp](https://wordpress.org/support/users/jkarp/)
 * (@jkarp)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/header-already-sent-error-help/#post-127446)
 * And therein is your problem. There must be *no* space after the ?>
 *  Thread Starter [killswitch](https://wordpress.org/support/users/killswitch/)
 * (@killswitch)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/header-already-sent-error-help/#post-127450)
 * Coul dsome one explain how to get rid of said white space at the end. Sorry. 
   I’m sure it’s really easy…
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/header-already-sent-error-help/#post-127452)
 * Description: You get a warning message on your browser that says:
 * Warning: Cannot modify header information – headers already sent by (output started
   atâ€¦
 * Reason and Solution :
 * It is usually because there are spaces, new lines, or other garbage before an
   opening <?php tag or after a closing ?> tag, typically in wp-config.php. This
   could be true about some other file too, so please check the error message, as
   it will list the specific file name where the error occurred.
 * Just because you cannot see anything does not mean that PHP sees the same.
 * Download the file mentioned in the error message.
 * Open that file in a plain text editor (NOT MS Word or similar. Notepad or BBEdit
   are fine).
 * Check that the very first characters are <?php
 * Check that the very last characters are ?>
 * To be sure about the end of the file, do this:
 *  1. Place the cursor between the ? and >
    2. Now press the DELETE key on your
   computer 3. Keep it pressed 4. For at least 15 seconds 5. Now type > and 6. save
   without pressing any other key at all. 7. If you press another key, you will 
   bring the problem back.
 *  Thread Starter [killswitch](https://wordpress.org/support/users/killswitch/)
 * (@killswitch)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/header-already-sent-error-help/#post-127453)
 * nevermind I just got it. thanks

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

The topic ‘header already sent error… help!’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 10 replies
 * 4 participants
 * Last reply from: [killswitch](https://wordpress.org/support/users/killswitch/)
 * Last activity: [21 years, 5 months ago](https://wordpress.org/support/topic/header-already-sent-error-help/#post-127453)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
