Title: wp-config.php &#8211; Cant write to header error
Last modified: August 18, 2016

---

# wp-config.php – Cant write to header error

 *  [hangule](https://wordpress.org/support/users/hangule/)
 * (@hangule)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/wp-configphp-cant-write-to-header-error/)
 * Okay, after some lengthy upgrading steps from a corrupted db, I got .72 db entires
   to 1.0 without a hitch. It worked fine. Ugh, then I decided to mess with templete-
   functions.php and it didn’t go so well, so I reuploaded the original file. It
   gave the error below even after replacing w/ the original file. So, I re-installed
   1.0 completely, no good. So, I re-installed 1.0 AND used backup to restore a 
   db (a copy I made when WP was perfectly working). Yet, this problem still persits
   when I try to login.
    blog –> [http://kangsta.com/banter](http://kangsta.com/banter)
   Warning: Cannot modify header information – headers already sent by (output started
   at /home/jaikang/public_html/banter/wp-includes/template-functions.php:2037) 
   in /home/jaikang/public_html/banter/wp-login.php on line 254 Warning: Cannot 
   modify header information – headers already sent by (output started at /home/
   jaikang/public_html/banter/wp-includes/template-functions.php:2037) in /home/
   jaikang/public_html/banter/wp-login.php on line 255 Warning: Cannot modify header
   information – headers already sent by (output started at /home/jaikang/public_html/
   banter/wp-includes/template-functions.php:2037) in /home/jaikang/public_html/
   banter/wp-login.php on line 256 Warning: Cannot modify header information – headers
   already sent by (output started at /home/jaikang/public_html/banter/wp-includes/
   template-functions.php:2037) in /home/jaikang/public_html/banter/wp-login.php
   on line 257 Warning: Cannot modify header information – headers already sent 
   by (output started at /home/jaikang/public_html/banter/wp-includes/template-functions.
   php:2037) in /home/jaikang/public_html/banter/wp-login.php on line 258

Viewing 1 replies (of 1 total)

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/wp-configphp-cant-write-to-header-error/#post-38012)
 * That error is usually caused by extra whitespace or extra carriage returns before
   the first <?php or after the last ?>
    Check the files mentioned for this. A good
   editor for this job is [http://www.crimsoneditor.com/](http://www.crimsoneditor.com/)

Viewing 1 replies (of 1 total)

The topic ‘wp-config.php – Cant write to header error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Mark (podz)](https://wordpress.org/support/users/podz/)
 * Last activity: [22 years, 3 months ago](https://wordpress.org/support/topic/wp-configphp-cant-write-to-header-error/#post-38012)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
