Need help with config

Results 1 to 1 of 1
  1. #1
    Enthusiast Droffo is offline
    MemberRank
    Jun 2012 Join Date
    AustraliaLocation
    32Posts

    ! Need help with config

    Trying to get my hotel to run from another folder - not the root domain "www.site.web/hotel" (not real link). Here is my config file: (what am I doing wrong here?)
    PHP Code:
    <?php
    if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
    #Please fill this all out.

    #NOTE: To set up TheHabbos.ORG's API go to wwwroot/mysite/thehabbos_api for IIS, OR, htdocs/thehabbos_api for XAMPP and others.

    /*
    *
    *    MySQL management
    *
    */

    $_CONFIG['mysql']['connection_type'] = 'pconnect'//Type of connection: It must be connect, or pconnect: if you want a persistent connection.

    $_CONFIG['mysql']['hostname'] = '127.0.0.1'//MySQL host

    $_CONFIG['mysql']['username'] = 'root'//MySQL username

    $_CONFIG['mysql']['password'] = 'PASSWORD'//MySQL password

    $_CONFIG['mysql']['database'] = 'hotel'//MySQL database

    $_CONFIG['mysql']['port'] = '3306'//MySQL's port

    /*
    *
    *    Hotel management  - All URLs do not end with an "/"
    *
    */

    $_CONFIG['hotel']['server_ip'] = 'xxx.xxx.xxx.xxx'//IP of VPS/DEDI/etc

    $_CONFIG['hotel']['url'] = 'http://XXXX.web/hotel'//Does not end with a "/"

    $_CONFIG['hotel']['name'] = 'XXX'// Hotel's name

    $_CONFIG['hotel']['desc'] = 'XXX'//Hotel's description 

    $_CONFIG['hotel']['email'] = 'XXX@hotmail.com.au'//Where the help queries from users are emailed to   [MENTION=1333384151]pri[/MENTION]v skin

    $_CONFIG['hotel']['in_maint'] = False//False if hotel is NOT in maintenance. True if hotel IS in maintenance

    $_CONFIG['hotel']['motto'] = 'test'//Default motto users will register with.

    $_CONFIG['hotel']['credits'] = 30000//Default number of credits users will register with.

    $_CONFIG['hotel']['pixels'] = 15000//Default number of pixels users will register with.

    $_CONFIG['hotel']['figure'] = 'hr-125-31.ch-215-62.hd-209-8.lg-275-63'//Default figure users will register with.

    $_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/2760'//Web_Build

    $_CONFIG['hotel']['external_vars'] = 'http://xx.web/game/external_variables.txt'//URL to your external 

    $_CONFIG['hotel']['external_texts'] = 'http://xx.web/game/external_flash_texts.txt'//URL to your external texts

    $_CONFIG['hotel']['product_data'] = 'http://xx.web/game/productdata.txt'//URL to your productdata

    $_CONFIG['hotel']['furni_data'] = 'http://xx.web/game/furnidata.txt'//URL to your furnidata

    $_CONFIG['hotel']['swf_folder'] = 'http://xx.web/game'//URL to your SWF folder(does not end with a '/')
    /*
    *
    *    Templating management - Pick one of our default styles or make yours by following our examples!
    *
    */

    $_CONFIG['template']['style'] = 'STYLE'

    /*
    *
    *    Other topsites.. thing
    *
    */

    $_CONFIG['thehabbos']['username'] = '';
    $_CONFIG['retro_top']['user'] = ''

    /*
    *
    *    Recaptcha management - Fill the information below if you have one, else leave it like that and don't worry, be happy.
    *
    */

    $_CONFIG['recaptcha']['priv_key'] = '';
    $_CONFIG['recaptcha']['pub_key'] = '';


    /*
    *
    *    Social Networking stuff
    *
    */

    $_CONFIG['social']['twitter'] = ''//Hotel's Twitter account

    $_CONFIG['social']['facebook'] = ''//Hotel's Facebook account


    ?>
    I'm getting a 404 error. Note: The XXX means it has been correctly filled out, I'd just rather not share my personal information with this forum, sorry.
    Last edited by Droffo; 01-09-14 at 02:05 PM.




Advertisement