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.
locked out of my site + cookie issues
When I first created my site, I noticed that when I'd log in using Internet Explore, I'd immediately get sent to "people.php" which threw a 404 error. But then I could navigate to the homepage manually and use the site fine. In Firefox this was never a problem.
In the last 24 hours, using Firefox, I went into my "Settings" area and changed the cookie fields/paths to "www.albemarlesoccer.com", hoping that would fix the problem in both browsers. As it stand, I now cannot get back into the site at all. Whenever I try to login with Firefox I get sent to a URL called "http://www.albemarlesoccer.com/://www.albemarlesoccer.com/", which is of course a 404. So the site now works in neither browser.
I have done three or four Vanilla installs before and never had this problem. Any ideas?
In the last 24 hours, using Firefox, I went into my "Settings" area and changed the cookie fields/paths to "www.albemarlesoccer.com", hoping that would fix the problem in both browsers. As it stand, I now cannot get back into the site at all. Whenever I try to login with Firefox I get sent to a URL called "http://www.albemarlesoccer.com/://www.albemarlesoccer.com/", which is of course a 404. So the site now works in neither browser.
I have done three or four Vanilla installs before and never had this problem. Any ideas?
0
This discussion has been closed.
Comments
Although the RSS feed is a 404...
The requested URL, /://www.albemarlesoccer.com/?Feed=RSS2, was not found on this server.
Posted: Monday, 23 July 2007 at 8:04AM
So is my only recourse to access the database manually (phpmyadmin) and change the settings back?
<?php // Application Settings $Configuration['SETUP_TEST'] = '1'; $Configuration['APPLICATION_PATH'] = '/data/www/www.albemarlesoccer.com/www/'; $Configuration['DATABASE_PATH'] = '/data/www/www.albemarlesoccer.com/www/conf/database.php'; $Configuration['LIBRARY_PATH'] = '/data/www/www.albemarlesoccer.com/www/library/'; $Configuration['EXTENSIONS_PATH'] = '/data/www/www.albemarlesoccer.com/www/extensions/'; $Configuration['LANGUAGES_PATH'] = '/data/www/www.albemarlesoccer.com/www/languages/'; $Configuration['THEME_PATH'] = '/data/www/www.albemarlesoccer.com/www/themes/vanilla/'; $Configuration['DEFAULT_STYLE'] = '/themes/vanilla/styles/default/'; $Configuration['WEB_ROOT'] = '/'; $Configuration['BASE_URL'] = 'http://www.albemarlesoccer.com/'; $Configuration['FORWARD_VALIDATED_USER_URL'] = 'http://www.albemarlesoccer.com/'; $Configuration['APPLICATION_TITLE'] = 'AlbemarleSoccer'; $Configuration['BANNER_TITLE'] = 'AlbemarleSoccer'; $Configuration['COOKIE_DOMAIN'] = 'www.albemarlesoccer.com'; $Configuration['COOKIE_PATH'] = 'www.albemarlesoccer.com'; $Configuration['SETUP_COMPLETE'] = '1'; $Configuration['LAST_UPDATE'] = '1184803563'; $Configuration['ADDON_NOTICE'] = '0'; ?>
Can you suggest any corrections? I suspect maybe the cookie path and domain settings are wrong.
<a href="/people.php?ReturnUrl=://www.albemarlesoccer.com/">
What parameter do I change to make it look like this:
<a href="/people.php?ReturnUrl=http://www.albemarlesoccer.com/">
In any case, when I manually visit this page in the browser...
http://www.albemarlesoccer.com/people.php?ReturnUrl=http://www.albemarlesoccer.com/
...and log in, it now successfully takes me to the homepage, but still does not log me in!
I can now log in and out successfully, so long as I'm doing it from people.php. The ReturnUrl bit seems to be screwing things up; the link is still formatted like this:
<a href="/people.php?ReturnUrl=://www.albemarlesoccer.com/">
Frustrated, I went ahead and hard-coded this line into menu.php:
<a href="/people.php">'.$this->Context->GetDefinition('SignIn').'</a>
I'd still like some feedback on whether my conf file looks okay.