Not signed in (Sign In)

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

  1.  
    hi friends
    i just saw this thread and implemented that code.
    http://plogger.org/forum/discussion/1827/solved-cruftfree-url-issue

    till then every thing was fine.

    now 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
     
    It's a problem with your relative paths for your header, footer, external css, etc. See here -> http://plogger.org/forum/discussion/1827/solved-cruftfree-url-issue/#Item_7
  2.  
    hi sid, checked all the paths and every thing was right.
    i just swapped the old code for the time being
    i changed the code (plog-load_config.php)back to
    if (dirname(__FILE__) != dirname(realpath($_SERVER["PATH_TRANSLATED"])) && strpos($_SERVER["PATH_TRANSLATED"],"admin") === false) {
    • CommentAuthorsupertelugu
    • CommentTimeJun 24th 2008 edited
     
    now the cruftfree url's are not displayed
    •  
      CommentAuthorsidtheduck
    • CommentTimeJun 24th 2008
     
    supertelugu,

    You should keep the SCRIPT_FILENAME instead of the PATH_TRANSLATED in order for the cruft-free URLs working.

    My link above is to my latest post there which wanted you to change your relative paths.
    For example, you have:<link type="text/css" rel="stylesheet" href="../styles/ks_styles.css">and you should change it to:<link type="text/css" rel="stylesheet" href="/styles/ks_styles.css">or:<link type="text/css" rel="stylesheet" href="http://www.supertelugu.com/styles/ks_styles.css">

    With the mod_rewrite rules, the relative paths no longer work as the server thinks your code is an additional subfolder deep at the pictures level. You need to change your relative paths to absolute paths so your server can find them. I know this is the issue as I changed your relative paths to absolute paths using Firebug and everything works well. It looks like you have 29 instances of "../" relative paths that need to be changed (I'm not sure if you have them in the Plogger theme files or in your 'gallery/index.php' file).

    Does that make sense?
  3.  
    Thanks for the reply sid and it made sense:)
    everything goes fine and thanks a lot for the quick timely help