Not signed in (Sign In)

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

Please sign in or apply for membership to remove the ads
    • CommentAuthorsionide
    • CommentTimeApr 15th 2008 edited
     
    Hey, I'm loving the simplicity of Plogger so far! Just the one problem...

    http://sionide.net/gallery/ is where it's installed. I've turned the Cruft-free URL option on in the admin pages but it's not made any difference to the links on the page. However, if you go to http://sionide.net/gallery/wallpapers/questionable_content/ you'll see that URL works, sort of because if you try and navigate round the images, it's broken. My .htaccess is http://pastebin.ca/986067

    Anyone have any ideas on a fix for this?

    Thanks in advance.
    •  
      CommentAuthorsidtheduck
    • CommentTimeApr 15th 2008
     
    sionide,

    Are you running 3.0 Beta or the current trunk? It looks like your install is assuming that Plogger is embedded in another script (like Wordpress) and turning off the mod_rewrite links. You may have to force it to not be embedded (but I need to which version you are running in order to do this).
    • CommentAuthorsionide
    • CommentTimeApr 15th 2008
     
    Hi sidtheduck,

    looks like I'm running 3.0 Beta... You're almost right. I figured WordPress might be to blame. WordPress runs on http://sionide.net/ and Plogger is sat in a subdirectory of that; http://sionide.net/gallery/ so it's not embedded, or does that count as embedded?

    Are all the mod_rewrite rules supposed to be in the same file or something like that??
    •  
      CommentAuthorsidtheduck
    • CommentTimeApr 15th 2008 edited
     
    Try this. Open 'plog-load_config.php' and find the following code (should be line 36):
    if (dirname(__FILE__) != dirname(realpath($_SERVER["PATH_TRANSLATED"])) && strpos($_SERVER["PATH_TRANSLATED"],"admin") === false) {and change it to:
    if (dirname(__FILE__) != dirname(realpath($_SERVER['SCRIPT_FILENAME'])) && strpos($_SERVER['SCRIPT_FILENAME'],"admin") === false) {
    See if that works for you.
    • CommentAuthorsionide
    • CommentTimeApr 16th 2008
     
    Brilliant, that's the fix I was after :) It's working perfectly!
    • CommentAuthorsupertelugu
    • CommentTimeJun 24th 2008 edited
     
    hi sid, me too used the same code but i got a problem
    if you see this www.supertelugu.com/gallery/ you can notice my site header and footer but if you go to this page
    http://www.supertelugu.com/gallery/supertelugu_tollywood_gallery/salute-3
    domain / dir / collection / album


    the header and footer gets disappeared. this happens in album and picture view.kindly help
    waiting for your help
    •  
      CommentAuthorsidtheduck
    • CommentTimeJun 24th 2008 edited
     
    Posted By: superteluguthe header and footer gets disappeared. waiting for your help
    It's a problem with your relative paths for your header, footer, external css, etc. Everytime you have a "../", change it to a "/" without the relative dots and it should work out for you.