Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

localhost + Login Issues

I recently installed Vanilla 1.1.8 on my XAMPP testing server (running under Ubuntu 9.04). The server is named "localhost". Installation went well, but I encountered the issue with "ReturnUrl" & HTTP_METHOD. I removed the "://" from HTTP_METHOD and log in went fine, except instead of actually logging me in, it just returns me to the main page.

I'm guessing this is a cookie issue, but I can't seem to find a solution. Vanilla is installed into a directory named "teamboards2". Here is the relevant parts of my "settings.php" file.
$Configuration['APPLICATION_PATH'] = '/home/foo/public_html/teamboards2/';
$Configuration['WEB_ROOT'] = '/teamboards2/';
$Configuration['BASE_URL'] = 'http://localhost/teamboards2/';
$Configuration['HTTP_METHOD'] = 'http';
$Configuration['FORWARD_VALIDATED_USER_URL'] = 'http://localhost/teamboards2/';
$Configuration['COOKIE_DOMAIN'] = 'localhost';
$Configuration['COOKIE_PATH'] = '/teamboards2/';
Any help would be great!

Comments

  • Options
    edited June 2009
    Change the following setting:$Configuration['COOKIE_DOMAIN'] = '';
    Seems to work for me on my localhost setups.
  • Options
    That has worked perfectly. Cheers.
  • Options
    Good to know you got it up and running, good work sirlancelot.
Sign In or Register to comment.