Not signed in (Sign In)

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

    • CommentAuthorPieperLy
    • CommentTimeJul 21st 2010
     
    Hello,

    on my plogger gallery google found thousends ghostsites, example:
    http://www.domain.de/ploggerdir/category/album/page/268/
    But this album have only 19 sites and havn't a site 268.
    The errormessage is then:

    Sorry, this album has no pictures.

    I must change on my album.php from defaulttheme the line:


    ...
    else{
    print '<div id="no-pictures-msg">Sorry, tis album has no pictures.</div>';
    }

    print '</div>';
    plogger_get_footer();
    ?>

    ...



    How can i cgange the line, so the script break and start 404.php and not print the errormessage.


    ...
    else{
    stop ploggerscript an display instead http://www.mydomain.de/404.php.</div>';
    }

    print '</div>';
    plogger_get_footer();
    ?>

    ...



    Thanks for your time.

    Reagards from Germany
    P
    • CommentAuthorPieperLy
    • CommentTimeJul 21st 2010
     
    Maybe can i only change the header of the ghostsites with an 404 header:

    <code>
    }
    else{
    replace header("HTTP/1.0 404 Not Found");

    }

    print '</div>';
    plogger_get_footer();
    ?>
    </code>

    reagards
    P
    • CommentAuthorPieperLy
    • CommentTimeJul 26th 2010 edited
     
    ...

    nobody any idea?

    ...