Not signed in (Sign In)

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

    • CommentAuthorhyp
    • CommentTimeNov 10th 2007
     
    I just found Plogger. It seemed to be the best choice for my site, after many other galleries were tried. I'm relative new to php, but I managed to install it with no problems. When I have integrated the 3 lines of code in my site page, the problem occured:
    If I access the mysite/plog/ page directly, everything works fine. When I access mysite/plog/mypage.php, when I get to the large image, it shows me just the small rectangle where it should load. If I click it, it sends me to the correct picture, and opens the correct jpg. The only problem, as u can see, is the missing large picture.
    Any suggestions? I have tried every solution posted on this forum, but nothing worked (solutions related to changing the path of the images folder in the plog-functions.php ). Please help.
    • CommentAuthorhyp
    • CommentTimeNov 12th 2007
     
    Can anyone help?
    • CommentAuthorstrimpa
    • CommentTimeNov 12th 2007
     
    Hi hyp,

    I had the same probs after installation along with other nasty bits.
    I had a look in the code and after opening the file /plog-functions.php and changing the line 1966

    return (!empty($config['allow_fullpic'])) ? $config["baseurl"].'images/'.SmartStripSlashes($GLOBALS["current_picture"]["path"]) : "#";
    to
    return (!empty($config['allow_fullpic'])) ? $config["gallery_url"].'images/'.SmartStripSlashes($GLOBALS["current_picture"]["path"]) : "#";

    it works.
    Hope it does for you.
    regards
    • CommentAuthorhyp
    • CommentTimeNov 13th 2007
     
    Thanks, Strimpa! But that line you reffer to says, in my case :
    return (!empty($config['allow_fullpic'])) ? '../plog/images/'.SmartStripSlashes($GLOBALS["current_picture"]["path"]) : "#";
    I replaced it with the one u said but the same result.
    Just to show u the problem more clearly:
    http://www.iubimnatura.org/plog/default.php - This is the page including plogger (the one with the problem)
    http://www.iubimnatura.org/plog/ - This is just plogger
    Please, need a solution. Plogger fits perfecly with my needs, don't wanna change it just because of this little thing. What am I missing?
    • CommentAuthorardamis
    • CommentTimeNov 14th 2007
     
    Something is wrong with the gallery at /plog/ as well. Take a look at the path to the image on a picture page there; it has an extra slash:

    /plog//images/plantari/plantare_1/plantare_005.jpg

    That extra slash after /plog/ is likely related to the /default.php/ part of the path in the other /plog/default.php gallery.

    I think strimpa's suggestion is close, but there's still something missing.

    I'm wondering if all these path problems (cruft-free urls in subdirectories) can be fixed with the same solution.
    • CommentAuthorhyp
    • CommentTimeNov 14th 2007
     
    Thanks for all your replies. Ardamis, i don't see an extra slash when I open the gallery. Just one. Everywhere. How exactly do I restart the server, joebrown? Where do I type that text?