Not signed in (Sign In)

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

    • CommentAuthorNeil_D
    • CommentTimeSep 27th 2011
     
    Hi Guys,

    I have installed Plogger inside a folder called /gallery/ on my site, however it seems that it thinks that it is in the root, as whenever I click on search, or click on an album/image it goes to;

    http://arc.rapweb.co.ukindex.php/?searchterms=&level=search

    Instead of

    http://arc.rapweb.co.uk/gallery/index.php?searchterms=&level=search

    Is there a base URL I need to set somewhere in the code, or is this relating to the error message I have previously posted about (Notice: Undefined index: REQUEST_URI in D:\vhosts\rapweb.co.uk\httpdocs\arc\gallery\plogger.php on line 46)

    Any help would be much appreciated!
    • CommentAuthorNeil_D
    • CommentTimeSep 27th 2011
     
    Update: I've managed to fix this by updating the following line;

    $config['baseurl'] = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'];

    to


    $config['baseurl'] = 'http://'.$_SERVER['HTTP_HOST'].'/gallery/';