The MU forums have moved to WordPress.org

Code Check - Help Please! (5 posts)

  1. mamaestes
    Member
    Posted 17 years ago #

    I'm getting the annoying error
    Warning: Cannot modify header information - headers already sent by (output started at /home/wonecks/public_html/wp-content/themes/WISDBlogs/header.php:5)

    I know this means I have a space on line 5 of my theme header.php...but I can't find it! I've looked everywhere. I've checked and checked.

    Is there a kind soul who's willing to take a look and tell me what I'm missing? http://wonecks.net/blog_categories.php

    or I can email you the file.

    I'm going cross-eyed trying to find the extra space and get rid of it! Any help would be appreciated!

  2. Klark0
    Member
    Posted 17 years ago #

    Did you try disabling that login plugin.

  3. andrea_r
    Moderator
    Posted 17 years ago #

    No, it means you have whitespace at the *end* of the file. Sometimes it could be at the beginning, but that warning is almost always for whitespace at the end.

  4. mamaestes
    Member
    Posted 17 years ago #

    andrea_r - I checked that too and there isn't any space. Thought it might be Dreamweaver so opened in notepad and couldn't see any spaces deleted behind the ?> and everything! It's driving me nuts!

    Klarko - I did disable the plugin and that removes the error - but I need to have that plugin available for my main page and bloggers.

    I've got the same theme running with the same plugins at blogs.burlesonisd.net and am not having this trouble. Argh. Any other suggestions?

  5. andrea_r
    Moderator
    Posted 17 years ago #

    Check on the server. Notepad isn't very reliable for that. (Notepad++ is better.)

    Sometimes that space can get added on upload, or you may have freaky characters or spaces at the beginning of the file too.

About this Topic

  • Started 17 years ago by mamaestes
  • Latest reply from andrea_r