WordPress.org

Ready to get started?Download WordPress

Forums

Cannot Modify Headers (3 posts)

  1. capnqwest
    Member
    Posted 10 years ago #

    Hi, I keep getting the following errors after logging in:
    Warning: Cannot modify header information - headers already sent by (output started at /home/chronic/public_html/wp-config.php:2) in /home/chronic/public_html/wp-login.php on line 122
    Warning: Cannot modify header information - headers already sent by (output started at /home/chronic/public_html/wp-config.php:2) in /home/chronic/public_html/wp-login.php on line 126
    Warning: Cannot modify header information - headers already sent by (output started at /home/chronic/public_html/wp-config.php:2) in /home/chronic/public_html/wp-login.php on line 129
    Warning: Cannot modify header information - headers already sent by (output started at /home/chronic/public_html/wp-config.php:2) in /home/chronic/public_html/wp-login.php on line 131
    Warning: Cannot modify header information - headers already sent by (output started at /home/chronic/public_html/wp-config.php:2) in /home/chronic/public_html/wp-login.php on line 132
    Warning: Cannot modify header information - headers already sent by (output started at /home/chronic/public_html/wp-config.php:2) in /home/chronic/public_html/wp-login.php on line 133
    Warning: Cannot modify header information - headers already sent by (output started at /home/chronic/public_html/wp-config.php:2) in /home/chronic/public_html/wp-login.php on line 134
    Warning: Cannot modify header information - headers already sent by (output started at /home/chronic/public_html/wp-config.php:2) in /home/chronic/public_html/wp-login.php on line 154

    On both Apache and IIS installations (I've tried on 6 different servers now with one local). I can't seem to find the offending line of code because it's only trying to modify once. Has anyone else seen this?

  2. Nick Momrik
    Member
    Posted 10 years ago #

    Make sure that you don't have any blank lines before the opening <?php and after the ending ?> of those files mentioned in the errors.

  3. TechGnome
    Moderator
    Posted 10 years ago #

    double check the wp-config.php file.... that's been the biggest culprit as of late.
    TG

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.