Not signed in (Sign In)

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

  1.  
    Hoping this is just something not right with my installation. Once I post a comment to an image I get a page that says


    Redirect Loop

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    The browser has stopped trying to retrieve the requested item. The site is redirecting the request in a way that will never complete.

    * Have you disabled or blocked cookies required by this site?
    * NOTE: If accepting the site's cookies does not resolve the problem, it is likely a server configuration issue and not your computer.


    If I it "Try Again" two times I am finally redirected back to the photogallery main page.

    Also, in the email that is sent after a comment is made the link to the comment does not contain the full URL.


    You can see all the comments for this picture here:
    /ploggerb3/plog-comment.php?level=picture&id=8
    • CommentAuthorpie
    • CommentTimeJan 19th 2009
     
    I have the same problem. I am trying to solve it by my self, if I succeed I'll post here the patch.

    Bye Pie
    • CommentAuthorpie
    • CommentTimeJan 19th 2009
     
    Ok, first of all my English is terrible so please be patient.

    The problem is that parse_url gives the path added to the filename and so the loop starts. My solution for the moment is this:

    add this function:

    <code>
    function ParseURLplus($url){
    $URLpcs = (parse_url($url));
    $PathPcs = explode("/",$URLpcs['path']);
    $URLpcs['file'] = end($PathPcs);
    unset($PathPcs[key($PathPcs)]);
    $URLpcs['dir'] = implode("/",$PathPcs);
    return ($URLpcs);
    }
    </code>

    at the top of plog-load_config.php or in one other file wich is loaded before plog-load_config.php.
    Then change
    <code>
    $url_parts = parse_Url($_SERVER["REQUEST_URI"]);

    $config["baseurl"] = $url_parts["path"];
    </code>
    with

    <code>

    $url_parts = parseUrlplus($_SERVER["REQUEST_URI"]);

    // echo $url_parts['dir'] . " - ";

    $config["baseurl"] = $url_parts["dir"].DIRECTORY_SEPARATOR;
    </code>


    If it's not clear I'll post the whole file!

    bye
    Pie
    Thankful People: Galerio, chica666
    • CommentAuthorRynn
    • CommentTimeFeb 21st 2009
     
    Hello there,

    I am new here, and I ran into the same loop problem! I used your solution and even though I have only limited php knowledge and don't know how you did it - it worked! I can now post comments normally, thanks alot!!

    :-)
    Rynn
    • CommentAuthorGalerio
    • CommentTimeFeb 22nd 2009
     
    Hope this post will be sticked or that someone correct the Plogger code!!
    •  
      CommentAuthorkimparsell
    • CommentTimeFeb 22nd 2009
     
    Galerio: This issue has been fixed in the latest SVN version, so it won't be a problem in the next release.
    • CommentAuthorchica666
    • CommentTimeFeb 26th 2009
     
    Help at the right moment - thank you for that!