Not signed in (Sign In)

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

    • CommentAuthorfjordside
    • CommentTimeApr 29th 2010
     
    Hi,

    Ive just upgraded my ploggerinstallation, and now i have some problems with the plog-thumb.php - it wont return anyting else other than an error.

    Actually its not working on this site either....please try this link:

    http://www.plogger.org/demo/plog-thumb.php?id=19

    - It should return a jpg, but returns this:

    SELECT `path`, `id` FROM `plogger_pictures` WHERE `id`=19

    In file: /demo/plog-thumb.php

    On line: 28


    The function is vital for my site, as im using plogger as backend for at flashsite.

    Any help is greatly appreciated.


    Thanks

    /Jan
    •  
      CommentAuthorsidtheduck
    • CommentTimeApr 29th 2010
     
    Try this,

    Open plog-thumb.php and find this code at the top:
    require(dirname(__FILE__).'/plog-globals.php');
    require(dirname(__FILE__).'/plog-include/plog-functions.php');

    and replace it with this:
    require(dirname(__FILE__).'/plog-load-config.php');

    I think that should do it for you.
    • CommentAuthorfjordside
    • CommentTimeApr 29th 2010
     
    Heyyy thanks it works like a charm....

    btw i also had to change these lines in plog-thumb.php:


    $path = str_replace('www.', '', $path);

    $path = str_replace('//', '//', $path);


    Thank you very much....


    /Jan