White Index & Pages

Diddy

Member
Aug 14, 2011
98
20
Hello,

Setting up a reto using IIS, but i have found a problem.

All my pages load white and nothing appears? Im using Lightcms Edited By Boom Hotel.
I have a feeling its to do with web.config but i wouldn't know how to fix it if there was a problem with it (I'm bad with web.config).

So do any of you know a fix i can try, id be thankful for any help.

Web.config;
Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Badges">
                    <match url="^habbo-imaging/badge/([^/]+)" ignoreCase="true" />
                    <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
                    <action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" />
                </rule>
               
                <rule name="Promos XML">
                    <match url="habblet/xml/promo_habbos" ignoreCase="true" />
                    <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
                    <action type="Rewrite" url="habblet/xml/promo_habbos.xml" appendQueryString="false" />
                </rule>
               
                <rule name="Imported Rule 1">
                    <match url="^quickregister/start(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/register.php?_register_step=1" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 2">
                    <match url="^quickregister/age_gate_submit(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/register.php?_register_step=2" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 3">
                    <match url="^quickregister/email_password(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/register.php?_register_step=3" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 4">
                    <match url="^quickregister/email_password_submit(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/register.php?_register_step=4" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 5">
                    <match url="^quickregister/captcha(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/register.php?_register_step=5" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 6">
                    <match url="^quickregister/captcha_submit(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/register.php?_register_step=6" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 7">
                    <match url="^quickregister/email_password_submit/fields(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/register.php?_register_step=3&amp;_error=Please-enter-all-the-fields." appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 8">
                    <match url="^quickregister/age_gate/error(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/register.php?_register_step=1&amp;_error=Please-enter-a-date-and-birth." appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 9">
                    <match url="^quickregister/email_password_submit/invalid_username(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/register.php?_register_step=3&amp;_error=That-username-cannot-be-used,-sorry!" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 10">
                    <match url="^quickregister/email_password_submit/invalid_email(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/register.php?_register_step=3&amp;_error=Oops!-Looks-like-your-email-is-invalid,-please-enter-a-valid-one." appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 11">
                    <match url="^quickregister/email_password_submit/invalid_password(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/register.php?_register_step=3&amp;_error=That-password-does-not-meet-our-standards.-Please-choose-a-new-one." appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 12">
                    <match url="^quickregister/captcha/error(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/register.php?_register_step=5&amp;_error=You-entered-an-invalid-captcha.-Please-enter-it-again." appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 13">
                    <match url="^me(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/me.php" />
                </rule>
                <rule name="Imported Rule 14">
                    <match url="^community(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/community.php" />
                </rule>
                <rule name="Imported Rule 15">
                    <match url="^articles(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/news.php" />
                </rule>
                <rule name="Imported Rule 16">
                    <match url="^vip(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/vip.php" />
                </rule>
                <rule name="Imported Rule 17">
                    <match url="^profile(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/profile.php" />
                </rule>
                <rule name="Imported Rule 18">
                    <match url="^client(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/client.php" />
                </rule>
                <rule name="Imported Rule 19">
                    <match url="^account/signout(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/signout.php" />
                </rule>
                <rule name="Imported Rule 20">
                    <match url="^articles/([^/]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/news.php?_news_article_seo={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 21">
                    <match url="^articles/id/([^/]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/news.php?_news_id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 22">
                    <match url="^go/vip/([^/]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/viplink.php?override=true&amp;package={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 23">
                    <match url="^profile/basic_settings(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/profile.php?_profile_page=account_settings" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 24">
                    <match url="^profile/password(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/profile.php?_profile_page=pass_settings" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 25">
                    <match url="^client_denied(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/pincode.php" />
                </rule>
                <rule name="Imported Rule 26">
                    <match url="^flash_client_error(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/client.php?e=flash_client_error" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 27">
                    <match url="^market/badgeshop(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/badge_shop.php" />
                </rule>
                <rule name="Imported Rule 28">
                    <match url="^community/staff(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/staff.php" />
                </rule>
                <rule name="Imported Rule 29">
                    <match url="^community/founders(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/staff.php?_rankGroup=founders" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 30">
                    <match url="^community/sadmins(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/staff.php?_rankGroup=sadmins" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 31">
                    <match url="^community/admins(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/staff.php?_rankGroup=admins" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 32">
                    <match url="^community/mods(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/staff.php?_rankGroup=moderators" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 132">
                    <match url="^community/tmods(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/staff.php?_rankGroup=tmoderators" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 133">
                    <match url="^community/eventmanager(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/staff.php?_rankGroup=eventmanager" appendQueryString="false" />
                </rule>
                <rule name="Staff Events">
                    <match url="^community/events(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/staff.php?_rankGroup=events" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 33">
                    <match url="^buyvip(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/vip.php" />
                </rule>
                <rule name="Imported Rule 34">
                    <match url="^account/disconnected(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/disconnected.html" />
                </rule>
                <rule name="Imported Rule 35">
                    <match url="^user/([^/]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/userprofile.php?_username={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 36">
                    <match url="^user/id/([^/]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/userprofile.php?_userid={R:1}" appendQueryString="false" />
                </rule>

                    <rule name="Imported Rule 37">
                    <match url="^market/vip(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/vip.php" />
                </rule>
               
                <rule name="Fansites Tab">
                    <match url="^fansites(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/fansites.php" />
                </rule>
               
                <rule name="Mod Apps Tab">
                    <match url="^staffapps(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/staff_apps.php" />
                </rule>
               
                <rule name="ROTW Community Tab">
                    <match url="^community/rotw(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/rotw.php" />
                </rule>
               
                <rule name="COTW Community Tab">
                    <match url="^community/cotw(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/cotw.php" />
                </rule>
               
                <rule name="Market Tab">
                    <match url="^market(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/market.php" />
                </rule>
               
                <rule name="Market Giveaway Tab">
                    <match url="^market/giveaway(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/giveaway.php" />
                </rule>
               
                <rule name="Cache Check">
                    <match url="^cacheCheck(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/cachecheck.php" />
                </rule>
               
                <rule name="Banned">
                    <match url="^banned(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/banned.php" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>

lightcms.php;
Code:
<?php

    /*
      _____ _ _                _           
    |_  _| | |              (_)           
      | | | | |_  _ _ __ ___  _ _ __  __ _
      | | | | | | | | '_ ` _ \| | '_ \ / _` |
      _| |_| | | |_| | | | | | | | | | | (_| |
    |_____|_|_|\__,_|_| |_| |_|_|_| |_|\__,_|
       
        Illumina CMS by Jonteh (http://zaphotel.net/)
        ***** Thread for updates & help: http://forum.*****.com/f353/rel-illumina-cms-php-oop-917506/
       
        ====================================
        MAKE SURE YOU EDIT THE CONFIGURATION    <<<<
        ====================================        <<<<
        MAKE SURE YOU EDIT THE CONFIGURATION    <<<<
        ====================================`
       
    */
   
    class LightCMS {
        // Site stuff
        public $staff_apps = true;
        public $badgeshop_disabled = false;
       
        // Database Information (IMPORTANT)
        public $db_hostname = "127.0.0.1";
        public $db_username = "root";
        public $db_password = "removed";
        public $db_dbname = "r63b";
        public $db_pconnect = true;
       
        // Timezone
        public $timezone = 'Europe/London';
       
        // Caching Settings (only use one or the other to avoid problems)
        public $apc_enabled = false;
        public $wincache_enabled = true;
       
        // Session Handling
        public $sess_mysql_enabled = false;
        public $sess_table_name = 'site_sessions';
       
        // Block proxies (Tor network, headers etc)
        public $torblock_enabled = false;
        public $proxy_scan_headers = false; // Agressive (may block access from some Schools, Uni's etc)
       
        // Password Hashing Options (IMPORTANT)
        // Valid options:
        // MD5 (Uber 1, RevCMS styled hashing)
        // Normal (Uber 2 & Illumina styled hashing)
        public $hashing_method = "Normal";
       
        // Site Information (IMPORTANT)
        public $site_url = "http://manor-hotel.co.uk";
        public $site_name = "Manor Hotel";
        public $site_short = "Manor";
        public $facebook_account = "Jolt.Hotel";
        public $twitter_account = "";
        public $maintenance = false;
        public $thehabbos_enabled = true;
        public $thehabbos_username = "Diddy";
        public $c_images = "http://manor-hotel.co.uk/game/images/";
       
        // Misc Settings
        public $pin_enabled = false;
        public $pin_code = "2290";
        public $FORCE_SSL = false;
        public $flash_client_dump = true;
        public $mus_ip = '127.0.0.1';
        public $mus_port = '30001';
       
        // Registration Controls
        public $max_per_ip = 3;
        public $reg_enabled = true;
        public $default_credits = "15000";
        public $default_pixels = "15000";
        public $default_homeroom = 20934;
        public $default_look = "hd-180-2.sh-290-92.lg-275-92.ch-3030-63.hr-831-61";
        public $default_rank = "1";
        public $default_motto = "I am new at Manor Hotel!";
        public $default_gender = "M";
       
        // Server Settings
        public $server_type = "Phoenix"; // Phoenix or Butterfly

        // Client Settings
        public $connection_info_host = "http://attackprotect.com/";
        public $connection_info_host_realip = "http://attackprotect.com/";
        public $connection_info_port = "30000";
        public $connection_info_port_realip = "30000";
        public $variables = "//manor-hotel.co.uk/game/latest_v/external_variables.txt";
        public $texts = "//manor-hotel.co.uk/game/gamedata/b5da780fa98c6bc2fa2f70e68a9ac238/external_flash_texts.txt";
        public $override_texts = "//manor-hotel.co.uk/externals.php?type=texts&?h=180520131";
        public $override_vars = "//manor-hotel.co.uk/externals.php?type=vars&?h=180520131";
        public $productdata = "//manor-hotel.co.uk/game/gamedata/archive/a9c2dfebdaa0a48b66498012a2fd4612/productdata.txt";
        public $furnidata = "//manor-hotel.co.uk/game/gamedata/archive/a9c2dfebdaa0a48b66498012a2fd4612/furnidata.txt";
        public $baseurl = "//manor-hotel.co.uk/game/core/05283f046dd1073a787334bce2beb332/";
        public $habbo_swf = "//manor-hotel.co.uk/game/core/05283f046dd1073a787334bce2beb332/Habbo.swf";
        public $loadingtext = "Please wait! Manor is loading.";
   
        // o-------------------------------------------------------------o
        // | THIS IS WHERE THE CODING STARTS! DO NOT EDIT IF YOU ARE NEW |
        // o-------------------------------------------------------------o       
        private $extDir = "engine/classes/ext/";
        private $classDir = "engine/classes/";
        public function exec() {
            require $this->extDir . "class_raintpl.php";
            require $this->extDir . "class_torblock.php";
            require $this->extDir . "class_proxyscan.php";
            require $this->classDir . "class_csrf.php";
            require $this->classDir . "class_sessions.php";
            require $this->classDir . "class_users.php";
            require $this->classDir . "class_settings.php";
            require $this->classDir . "class_core.php";
            require $this->classDir . "class_db.php";
            require $this->classDir . "class_tpl.php";
            require $this->classDir . "class_scstats.php";
            $this->MySQLi['Hostname'] = $this->db_hostname;
            $this->MySQLi['Username'] = $this->db_username;
            $this->MySQLi['Password'] = $this->db_password;
            $this->MySQLi['Database'] = $this->db_dbname;
        }
       *REST REMOVED AS I FEEL ITS NOT NEEDED IN THIS THREAD.*
       ?>

Josh
 

Diddy8000

Member
Aug 22, 2011
78
18
Update:

Iv'e reuploaded the files, i now get 500 Internal Error.


Also heres what i tried to do.
 

Users who are viewing this thread

Top