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 www.guluyambi.com/.au/download2
    • 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.

    Regards,
    Derek
    • 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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>
    <link rel="stylesheet" type="text/css" href="http://www.guluyambi.com.au/plogger/css/gallery.css" />

    <script type="text/javascript" src="http://www.guluyambi.com.au/plogger/dynamics.js"></script> <title>Plogger Gallery</title>

    </head>

    <body>
    <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="http://www.guluyambi.com.au/plogger/plog-download.php" method="post">
    <div id="main_container">
    <div id="breadcrumbs">

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

    </table>
    </div><div id="thumbnail_container"><input type="hidden" name="dl_type" value="collections" />
    </div>
    <div id="pagination">
    <table style="width: 100%;">
    <tr>
    <td></td>
    <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="http://www.guluyambi.com.au/plogger/graphics/rss.gif" title="RSS 2.0 subscribe to all images" alt="RSS 2.0 Feed" style="margin:0; padding:0; display:inline" /></a></td>

    </tr>
    </table>
    </div><p id="link-back"><a href="http://www.plogger.org/">Powered by Plogger!</a></p>
    </div>
    </form>
    </div>
    </div>

    </body></html>
    Any ideas?

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

    Thanks again,

    David
    •  
      CommentAuthormike
    • CommentTimeDec 5th 2005 edited