Title: php header problems
Last modified: August 19, 2016

---

# php header problems

 *  Resolved [akraz](https://wordpress.org/support/users/akraz/)
 * (@akraz)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/php-header-problems/)
 * Noticed a lot of pages are broken after changing my database password in MySQL.
 * for example [http://blog.0mfgl0l.com/wp-login.php](http://blog.0mfgl0l.com/wp-login.php)
   
   gets errors at the top:
 *     ```
       Warning: Cannot modify header information - headers already sent by (output started at ***/domains/blog.0mfgl0l.com/html/wp-config.php:63) in ***/domains/blog.0mfgl0l.com/html/wp-login.php on line 302
   
       Warning: Cannot modify header information - headers already sent by (output started at ***/domains/blog.0mfgl0l.com/html/wp-config.php:63) in ***/domains/blog.0mfgl0l.com/html/wp-login.php on line 314
       ```
   
 * and when I do log in with my account, it doesnt even do anything. It forwards
   me to a page with even more header errors. I cant admin any part of my site.
 * These are the errors I get when I log in:
 *     ```
       Warning: Cannot modify header information - headers already sent by (output started at ***/domains/blog.0mfgl0l.com/html/wp-config.php:63) in ***/domains/blog.0mfgl0l.com/html/wp-login.php on line 302
   
       Warning: Cannot modify header information - headers already sent by (output started at ***/domains/blog.0mfgl0l.com/html/wp-config.php:63) in ***/domains/blog.0mfgl0l.com/html/wp-login.php on line 314
   
       Warning: Cannot modify header information - headers already sent by (output started at ***/domains/blog.0mfgl0l.com/html/wp-config.php:63) in ***/domains/blog.0mfgl0l.com/html/wp-includes/pluggable.php on line 674
   
       Warning: Cannot modify header information - headers already sent by (output started at ***/domains/blog.0mfgl0l.com/html/wp-config.php:63) in ***/domains/blog.0mfgl0l.com/html/wp-includes/pluggable.php on line 675
   
       Warning: Cannot modify header information - headers already sent by (output started at ***/domains/blog.0mfgl0l.com/html/wp-config.php:63) in ***/domains/blog.0mfgl0l.com/html/wp-includes/pluggable.php on line 676
   
       Warning: Cannot modify header information - headers already sent by (output started at ***/domains/blog.0mfgl0l.com/html/wp-config.php:63) in ***/domains/blog.0mfgl0l.com/html/wp-includes/pluggable.php on line 868
       ```
   
 * What is odd is, the main site still works fine. You can view and comment on my
   blog posts no problem, but nothing else. The other issue now is some russian-
   speaking spammers have found their way onto my site and are hijacking some posts.
   I cant delete them because well.. it’s broken. :S Help!

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

 *  [Jeremy Clark](https://wordpress.org/support/users/jeremyclark13/)
 * (@jeremyclark13)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/php-header-problems/#post-1450145)
 * Did you edit your wp-config.php file in a plain text editor such as notepad if
   not then you’ll need to get a new copy from the wordpress zip file and then edit
   it again with notepad. Also make sure there aren’t any spaces before or after
   the php tags. An easy way is to put your cursor after the > and hold the delete
   key.
 *  Thread Starter [akraz](https://wordpress.org/support/users/akraz/)
 * (@akraz)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/php-header-problems/#post-1450146)
 * Yeah There were 2 blank lines at the bottom of wp-config.php… i deleted both 
   blank lines now everything works..
 * wow what a stupid mistake :S
 * I am sorry, resolved now.
 * Thank you so much. This would have driven me insane.
 *  [Jonas Grumby](https://wordpress.org/support/users/ss_minnow/)
 * (@ss_minnow)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/php-header-problems/#post-1450148)
 * There is documentation in the codex that says the “headers already sent” message
   is usually caused by extra spaces where they don’t belong. When you get an error
   message like that it’s good to search the codex and forums because the answer
   is probably already there.

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

The topic ‘php header problems’ is closed to new replies.

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)
 * [in](https://wordpress.org/support/topic-tag/in/)
 * [log](https://wordpress.org/support/topic-tag/log/)
 * [log-in](https://wordpress.org/support/topic-tag/log-in/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [Jonas Grumby](https://wordpress.org/support/users/ss_minnow/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/php-header-problems/#post-1450148)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
