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.

Keeps pointing to localhost despite settings.php being correct

edited June 2009 in Vanilla 1.0 Help
Hi there, I'm having some trouble with my forum configuration. I'm using the latest build, 1.1.8. Once a user logs in all the tabs on the page to Discussion, Categories, Search etc. all point to localhost. Here are my settings.php variables: $Configuration['SETUP_TEST'] = '1'; $Configuration['APPLICATION_PATH'] = '/nfs/c04/h04/mnt/68129/domains/chriscraft.com/html/'; $Configuration['DATABASE_PATH'] = '/nfs/c04/h04/mnt/68129/domains/chriscraft.com/html/conf/database.php'; $Configuration['LIBRARY_PATH'] = '/nfs/c04/h04/mnt/68129/domains/chriscraft.com/html/library/'; $Configuration['EXTENSIONS_PATH'] = '/nfs/c04/h04/mnt/68129/domains/chriscraft.com/html/extensions/'; $Configuration['LANGUAGES_PATH'] = '/nfs/c04/h04/mnt/68129/domains/chriscraft.com/html/languages/'; $Configuration['THEME_PATH'] = '/nfs/c04/h04/mnt/68129/domains/chriscraft.com/html/themes/ChrisCraft/'; $Configuration['DEFAULT_STYLE'] = '/themes/ChrisCraft/styles/default/'; $Configuration['WEB_ROOT'] = '/'; $Configuration['BASE_URL'] = 'http://www.chriscraft.com/'; $Configuration['HTTP_METHOD'] = 'html'; $Configuration['FORWARD_VALIDATED_USER_URL'] = 'http://www.chriscraft.com/'; $Configuration['SUPPORT_EMAIL'] = ''; $Configuration['SUPPORT_NAME'] = ''; $Configuration['APPLICATION_TITLE'] = 'Chris Craft'; $Configuration['BANNER_TITLE'] = 'Chris Craft'; $Configuration['COOKIE_DOMAIN'] = 'www.chriscraft.com'; It's very weird. I've already changed the HTTP_METHOD variable as I've seen on other threads in this forum. I can't seem to find recommendations for this fix anywhere on this support forum either. Thanks.

Comments

  • edited June 2009
    When you say it points to localhost, do any error message come up, if so, what do they(or it) say?
  • Nope, there are no errors. It just points to http://localhost/settings.php. It's very strange, cause my custom theme worked correctly on the previous build release.
  • edited June 2009
    Wow, I've never had that problem before, So I don't exactly know what to do
    Sorry :(

    Edit: Unless you entered some of you details in wrong, that may be the problem.
  • Well it looks like it definitely has something to do with 1.1.8. My settings are most likely correct it appears though that the tab listings seem to be generating the incorrect tab URLs. In menu.php at these lines: while (list($Key, $Tab) = each($this->Tabs)) { echo '<li'.$this->TabClass($this->CurrentTab, $Tab['Value']).'><a href="'.$Tab['Url'].'" '.$Tab['Attributes'].'>'.$Tab['Text'].'</a></li>'; } The wrong data is being passed. I don't know why.
  • Have a look at your .htaccess file and see if there's anything there referencing localhost. It's a hidden file so it may be difficult to open (you won't see it in typical file browsers).

    If this file doesn't exist or is empty, that is okay.

    If you still have a problem, switch back to the default theme and see if the problem persists.
  • The .htaccess file doesn't exist. I've reverted to the default template and that seems broken as well. Take a look: http://www.chriscraftcanada.ca/
  • are you using the pagemanager extension? if yes, you should resync tabs so rewrite the urls tabs are pointing to.
    if not, then I don't know... :S
  • Ohhhhhh. Haha, I didn't know that about the extension. Very weird. Ok, thanks so much for the input!
  • I just looked at the page you linked above and everything seemed to work find. I'm guessing it was the PageManager extension that was misbehaving?
Sign In or Register to comment.