The MU forums have moved to WordPress.org

Cannot modify header information (5 posts)

  1. billdennis5
    Member
    Posted 16 years ago #

    I just got the following error message when I triedto create a new blog:

    Warning: Cannot modify header information - headers already sent by (output started at /home/blogpeo1/public_html/wp-includes/wp-db.php:135) in /home/blogpeo1/public_html/wp-includes/pluggable.php on line 334

    I'll look for a fix, but would appreciate any heads-up ...

  2. billdennis5
    Member
    Posted 16 years ago #

    These are lines 329 through 336 in pluggable.php

    if ( $is_IIS ) { header("Refresh: 0;url=$location"); } else { if ( php_sapi_name() != 'cgi-fcgi' ) status_header($status); // This causes problems on IIS and some FastCGI setups header("Location: $location"); }}

  3. Trent
    Member
    Posted 16 years ago #

    Headers already sent generally means you have a file with "whitespace" at the end, so did you just edit a file?

    Trent

  4. billdennis5
    Member
    Posted 16 years ago #

    I can't thin of one that involved adding a white space at the end of any file. Wouldn't the bad file show up in the error message?

  5. billdennis5
    Member
    Posted 16 years ago #

    OK ... I found a trailing return at the end of pluggable.php. I have no idea how it got there.

About this Topic

  • Started 16 years ago by billdennis5
  • Latest reply from billdennis5