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.

Content of /conf/settings.php

I'm having trouble changing file permissions for conf/settings.php on my server, and hence having trouble replacing or downloading it. However, I can delete it and upload a new file. Could someone post the content of a typical conf/settings.php file which I could replace with my own settings? Thanks for the help.

Comments

  • There are no typical contents - it depends entirely on your installation. Here's one of mine:
    <?php
    // Application Settings
    $Configuration['SETUP_TEST'] = '1';
    $Configuration['APPLICATION_PATH'] = '..';
    $Configuration['DATABASE_PATH'] = '..';
    $Configuration['LIBRARY_PATH'] = '..';
    $Configuration['EXTENSIONS_PATH'] = '..';
    $Configuration['LANGUAGES_PATH'] = '..';
    $Configuration['THEME_PATH'] = '..';
    $Configuration['DEFAULT_STYLE'] = '..';
    $Configuration['WEB_ROOT'] = '/';
    $Configuration['BASE_URL'] = '..';
    $Configuration['FORWARD_VALIDATED_USER_URL'] = '..';
    $Configuration['SUPPORT_EMAIL'] = '..@gmail.com';
    $Configuration['SUPPORT_NAME'] = '..';
    $Configuration['APPLICATION_TITLE'] = '..';
    $Configuration['COOKIE_DOMAIN'] = '..';
    $Configuration['COOKIE_PATH'] = '/';
    $Configuration['BANNER_TITLE'] = '..';
    $Configuration['SETUP_COMPLETE'] = '1';
    $Configuration['LAST_UPDATE'] = '..';
    $Configuration['SAVED_SEARCHES_SETUP'] = '1';
    $Configuration['LOG_ALL_IPS'] = '0';
    $Configuration['ENABLE_WHISPERS'] = '1';
    $Configuration['DEFAULT_ROLE'] = '3';
    $Configuration['ALLOW_IMMEDIATE_ACCESS'] = '1';
    $Configuration['URL_BUILDING_METHOD'] = 'mod_rewrite';
    $Configuration['ADDON_NOTICE'] = '0';
    $Configuration['COMMENTS_PER_PAGE'] = '50';
    $Configuration['ANNOUNCE_SETUP'] = '1';
    $Configuration['ANNOUNCE_MESSAGE'] = '..';
    $Configuration['ANNOUNCE_DISAPPEAR'] = '0';
    $Configuration['ANNOUNCE_TIME'] = '8';
    $Configuration['ANNOUNCE_TEXT'] = '060';
    $Configuration['ANNOUNCE_LINE'] = '9C9';
    $Configuration['ANNOUNCE_BGCOLOR'] = 'E2F9E3';
    $Configuration['ANNOUNCE_ALIGN'] = 'center';
    $Configuration['ANNOUNCE_LINESIZE'] = '1';
    $Configuration['ANNOUNCE_LINEHEIGHT'] = '200';
    $Configuration['ANNOUNCE_MARGIN'] = '10';
    $Configuration['ANNOUNCE_FONTSIZE'] = '13';
    $Configuration['EXTENSION_POLL_VERSION'] = '1.2';
    $Configuration['MAX_COMMENT_LENGTH'] = '10000';
    $Configuration['TAB_POSITION_MOD_TOOLS'] = '110';
    ?>
  • where the '..' values inserted by you? If so, could you provide a random but similar value for the type of data which they are replacing.
  • <?php
    // Application Settings
    $Configuration['SETUP_TEST'] = '1';
    $Configuration['APPLICATION_PATH'] = '/home/domain/public_html/';
    $Configuration['DATABASE_PATH'] = '/home/domain/public_html/conf/database.php';
    $Configuration['LIBRARY_PATH'] = '/home/domain/public_html/library/';
    $Configuration['EXTENSIONS_PATH'] = '/home/domain/public_html/extensions/';
    $Configuration['LANGUAGES_PATH'] = '/home/domain/public_html/languages/';
    $Configuration['THEME_PATH'] = '/home/domain/public_html/themes/vanilla/';
    $Configuration['DEFAULT_STYLE'] = '/themes/vanilla/styles/default/';
    $Configuration['WEB_ROOT'] = '/';
    $Configuration['BASE_URL'] = 'http://www.domain.co.uk/';
    $Configuration['FORWARD_VALIDATED_USER_URL'] = 'http://www.domain.co.uk/';
    $Configuration['SUPPORT_EMAIL'] = 'your email@email.com';
    $Configuration['SUPPORT_NAME'] = 'your name';
    $Configuration['APPLICATION_TITLE'] = 'title';
    $Configuration['COOKIE_DOMAIN'] = '.domain.co.uk';
    $Configuration['COOKIE_PATH'] = '/';
    $Configuration['BANNER_TITLE'] = 'title';
    $Configuration['SETUP_COMPLETE'] = '1';
    $Configuration['LAST_UPDATE'] = '1179440227';
    $Configuration['SAVED_SEARCHES_SETUP'] = '1';
    $Configuration['LOG_ALL_IPS'] = '0';
    $Configuration['ENABLE_WHISPERS'] = '1';
    $Configuration['DEFAULT_ROLE'] = '3';
    $Configuration['ALLOW_IMMEDIATE_ACCESS'] = '1';
    $Configuration['URL_BUILDING_METHOD'] = 'mod_rewrite';
    $Configuration['ADDON_NOTICE'] = '0';
    $Configuration['COMMENTS_PER_PAGE'] = '50';
    ?>
  • Awesome. Thanks Minisweeper. It is much appreciated.
This discussion has been closed.