Not signed in (Sign In)

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

Please sign in or apply for membership to remove the ads
    • CommentAuthorBlueKid
    • CommentTimeApr 25th 2008
     
    this urls:
    http://galleries.ronin.co.il/plogger_test_collection
    http://galleries.ronin.co.il/plogger_test_collection/plogger_test_album

    rewrite to:
    http://galleries.ronin.co.il/index.php?path=/plogger_test_collection
    http://galleries.ronin.co.il/index.php?path=/plogger_test_collection/plogger_test_album

    however i'm still getting the first page.

    when cruft-free urls are disabled everything worlks correctly but when i try to access directly to:
    http://galleries.ronin.co.il/index.php?path=/plogger_test_collection/plogger_test_album

    i still getting the first page.

    any ideas please?
    •  
      CommentAuthorsidtheduck
    • CommentTimeApr 25th 2008
     
    BlueKid,

    It might have something to do with the subdomain "galleries". Where does this subdomain point to? You may have to manually change your .htaccess file for mod_rewrite or a plog-function based on the location of plogger's install without being called via a subdomain.
    • CommentAuthorBlueKid
    • CommentTimeApr 25th 2008
     
    sidtheduck,

    Thank you for your reply but I lost you there.

    galleries.ronin.co.il is set as a domain, not a sub domain.

    what exactly do i need to change?
    •  
      CommentAuthorsidtheduck
    • CommentTimeApr 25th 2008 edited
     
    Technically, it is a sub-domain (of ronin.co.il), but it still should work. hmmmm . . . what is entered into the 'Gallery URL' in the Plogger -> Admin -> Options tab?
    • CommentAuthorBlueKid
    • CommentTimeApr 25th 2008
     
    http://galleries.ronin.co.il/
    •  
      CommentAuthorsidtheduck
    • CommentTimeApr 25th 2008 edited
     
    okay, try this. Open the .htaccess file (either through your cPanel file broswer or download to you computer via FTP) and look for the following code:
    RewriteBase /[something written here]remove the "something written here" part so it looks like:RewriteBase /Save it over your old .htaccess file. See if that works for you!

    Also, just in case, your whole .htaccess code should read:# BEGIN Plogger

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} -d [OR]
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule ^.*$ - [S=2]
    RewriteRule feed/$ plog-rss.php?path=%{REQUEST_URI} [L]
    RewriteRule ^.*$ index.php?path=%{REQUEST_URI} [L]
    </IfModule>
    # END Plogger
    • CommentAuthorBlueKid
    • CommentTimeApr 25th 2008
     
    This is my .htaccess file:

    # BEGIN Plogger

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} -d [OR]
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule ^.*$ - [S=2]
    RewriteRule feed/$ plog-rss.php?path=%{REQUEST_URI} [L]
    RewriteRule ^.*$ index.php?path=%{REQUEST_URI} [L]
    </IfModule>
    # END Plogger

    Thank you very much on your help :-)
    •  
      CommentAuthorsidtheduck
    • CommentTimeApr 25th 2008
     
    If it's still not working, I would try to download and install the latest SVN trunk (should be stable enough). I have it installed on my server and it is working with a subdomain.
    • CommentAuthorBlueKid
    • CommentTimeApr 25th 2008
     
    will try it, thanx
    • CommentAuthorBlueKid
    • CommentTimeApr 25th 2008
     
    still won't work. updated to Version 3.2.LastChangedRevision Beta

    this is my new .htaccess file

    # BEGIN Plogger

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} -d [OR]
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule ^.*$ - [S=2]
    RewriteRule feed/$ plog-rss.php?path=%{REQUEST_URI} [L]
    RewriteRule ^.*$ index.php?path=%{REQUEST_URI} [L]
    </IfModule>
    # END Plogger
    •  
      CommentAuthorsidtheduck
    • CommentTimeApr 25th 2008
     
    I have no idea at the moment. I might have you try some things out.
    First, open 'gallery.php' and find the following code:$path = join("/",array_diff(explode("/",$_SERVER["REQUEST_URI"]),explode("/",$_SERVER["PHP_SELF"])));after it, add this:$path = join("/",array_diff(explode("/",$_SERVER["REQUEST_URI"]),explode("/",$_SERVER["PHP_SELF"])));
    echo $path;

    Then go to your plogger gallery and there *should* be some text printed at the top of the page (should be very similar to the stuff after http://galleries.ronin.co.il/ in your URL address bar). Let me know what that text is.
    • CommentAuthorBlueKid
    • CommentTimeApr 25th 2008
     
    this is what i'm getting:


    index.php?path=/plogger_test_collection


    you can see it yourself navigating to:
    http://galleries.ronin.co.il/plogger_test_collection
    •  
      CommentAuthorsidtheduck
    • CommentTimeApr 25th 2008 edited
     
    I see... A quick fix would be to change the gallery.php code to read:$path = join("/",array_diff(explode("/",$_SERVER["REQUEST_URI"]),explode("/",$_SERVER["PHP_SELF"])));
    $path = str_replace("index.php?path=/", "", $path);

    That should fix it for you.

    However, just for kicks before you go, can you add:echo $_SERVER['REQUEST_URI'];
    echo $_SERVER['PHP_SELF'];
    to your gallery.php and post what you get to the boards? It would help me to determine exactly which variable is going wrong so we can try to figure out a fix for any future releases.

    Let me know if you run into any problems! :)
    • CommentAuthorBlueKid
    • CommentTimeApr 26th 2008
     

    echo $_SERVER['REQUEST_URI'];
    echo $_SERVER['PHP_SELF'];

    This is what I get:

    /index.php?path=/plogger_test_collection
    /index.php
    • CommentAuthorBlueKid
    • CommentTimeApr 26th 2008
     
    Well i tried your fix and works perfectly :-)

    Thanx.
    • CommentAuthorBlueKid
    • CommentTimeApr 26th 2008
     
    New problem, Now can't navigate thru pages:


    http://galleries.ronin.co.il/koga_ryu_ninjitsu/seminar_april_2008
    •  
      CommentAuthorsidtheduck
    • CommentTimeApr 28th 2008
     
    Posted By: BlueKidNew problem, Now can't navigate thru pages:
    Try this