Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthordavid
    • CommentTimeDec 5th 2005
    I have installed a few ploggers on a few sites and this is the first time I have this error.

    I have read the other forum discussions on headers but this one is a standalone and I can't find any discussions about it.

    Warning: Cannot modify header information - headers already sent by (output started at /home/sites/site179/web/download2/plog-config.php:10) in /home/sites/site179/web/download2/plog-load_config.php on line 26

    Where are the headers?

    Thanks David

    The address is
    • CommentAuthorddejong
    • CommentTimeDec 5th 2005
    Content headers identify to the user agent (browser) what to do with the following information, eg. text/html, application/xml+xhtml, image/jpeg. However, they absolutely must come before anything is outputted to the page, because once the headers are sent, "The show must go on!" and the content is sent. You cannot send headers, begin the content, and send more headers. This is what PHP is saying. In essence, "Too late! We already started sending content!" What is likely happening is PHP is echoing something (even whitespace, the most common culprit, like extra lines in a PHP file).

    There are some other reasons, but first check that the plogger include is the absolutely first line in your file. Also, looking at your page source, there's a "<br />" that comes out of nowhere that precedes the PHP warning. I'm going to say that this is almost assuredly the culprit. (I don't think PHP would prefix the error with a line break, but if it does, the problem is somewhere else.) Find him, fix him, and you have your answer.

    • CommentAuthordavid
    • CommentTimeDec 5th 2005
    Hey Derek, Thanks for the reply.

    I can see the page break in the browser source but can't find it in my files.
    Browser source as follows;

    <br />
    <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/sites/site179/web/plogger/plog-config.php:10) in <b>/home/sites/site179/web/plogger/plog-load_config.php</b> on line <b>26</b><br />
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

    <html xmlns="">

    <link rel="stylesheet" type="text/css" href="" />

    <script type="text/javascript" src=""></script> <title>Plogger Gallery</title>


    <div style="margin: auto; width: 750px;">

    <div id="wrapper">
    <table id="header-table" width="100%"><tr><td><h1 id="gallery-name">Guluyambi on the East Alligator</h1></td><td style="text-align: right; vertical-align: bottom;"><form name="jump_menu" action="#" method="get"><select name="jump_menu" onchange="document.location.href = this.options[this.selectedIndex].value;">

    <option value="#">Jump to...</option></select></form>
    <form action="/plogger/index.php" method="get">
    <input type="hidden" name="level" value="search" />
    <input type="text" name="searchterms" />
    <input class="submit" type="submit" value="Search" />
    </form></td></tr></table><form action="" method="post">
    <div id="main_container">
    <div id="breadcrumbs">

    <table width="100%">
    <div id="breadcrumb_links"> <b>Collections</b></div>
    <td style="text-align: right;">

    </div><div id="thumbnail_container"><input type="hidden" name="dl_type" value="collections" />
    <div id="pagination">
    <table style="width: 100%;">
    <td style="text-align: right; white-space: nowrap;"></td>
    <td style="text-align: right; white-space: nowrap;"><a href="plog-rss.php?level=&id=0"><img src="" title="RSS 2.0 subscribe to all images" alt="RSS 2.0 Feed" style="margin:0; padding:0; display:inline" /></a></td>

    </div><p id="link-back"><a href="">Powered by Plogger!</a></p>

    Any ideas?

    Am I right in thinking that the two files here are index and gallery?

    Thanks again,

    • CommentTimeDec 5th 2005 edited