Titanicijsberg
New Member
- Nov 11, 2012
- 14
- 0
So I installed xampp, cms and everything. In localhost it works fine.
But when I try to use my portforwarded IP, it doesn't work.
When I try to access the CMS through my IP, I get a Google error:
Website takes too long to load.
Portforwarding was succesfull, ports 80 and 3306 are opened correctly.
I searched for days without success on how to fix this.
PS: Database is root with no password. PHP is the newest version. And IP has been masked on purpose for here.
Config
<?php
if(!defined('BRAIN_CMS'))
{
die('Sorry but you cannot access this file!');
}
/* Database Setting */
$db['host'] = 'MASKED'; //Mysql's Host
$db['port'] = '3306'; //Mysql's port
$db['user'] = "root"; //Mysql's user
$db['pass'] = ''; //Mysql's password
$db['db'] = "hotelke"; //Mysql's database
/* Emu Settings */
$config['hotelEmu'] = 'plusemu'; // plusemu // arcturus
/* Client Setting */
$hotel['emuHost'] = "MASKED"; //IP of VPS//IP of Proxy
$hotel['emuPort'] = "30000"; //Port of VPS//Port of Proxy
$hotel['staffCheckClient'] = false; //Enable the staff pin in the client (true) or disable it (false)
$hotel['staffCheckClientMinimumRank'] = 3; //Minium staff rank to get the staff pin in the client
$hotel['homeRoom'] = '11'; //Set the start room when you get in the hotel
$hotel['external_Variables'] = "
$hotel['external_Variables_Override'] = "
$hotel['external_Texts'] = "
$hotel['external_Texts_Override'] = "
$hotel['productdata'] = "
$hotel['furnidata'] = "
$hotel['figuremap'] = "
$hotel['figuredata'] = "
$hotel['swfFolder'] = "
$hotel['swfFolderSwf'] = "
$hotel['onlineCounter'] = false; // Enable the user count in the client.
$hotel['diamonds.enabled'] = true; // Enable diamonds in the hotel.
/* Website Setting */
$config['hotelUrl'] = "
$config['skin'] = "Nabbo"; //Skin/template of your website
$config['lang'] = "nl"; //Language of your website en/nl/es
$config['hotelName'] = "Beratt"; //Name of your hotel
$config['favicon'] = "
$config['staffCheckHk'] = false; //Enable the staff pin in the housekeeping (true) or disable it (false)
$config['staffCheckHkMinimumRank'] = 3; //Minium staff rank to get the staff pin in the housekeeping
$config['maintenance'] = false; //Enable the maintenance of your website (true) or disable it (false)
$config['maintenancekMinimumRankLogin'] = 3; //Minium staff rank to login when the website is in maintenance
$config['groupBadgeURL'] = "
$config['badgeURL'] = "
$config['userLikeEnable'] = true; // Enable user likes
$config['newsCommandEnable'] = true; //Enable news commands
$config['newsCommandFilter'] = true; //Enable wordfilter on news commands (the filter use the db tabels wordfilter and wordfilter_characters)
$config['alertReferrer'] = false;
$config['alert'] = 'Geen melding'; //Alert message. If you don't want a alert, you fill in 'nomessage' or you do leave it blank.
$config['brainversion'] = '1.8.0'; // Please do not change.
/* Hit of the week Settings */
$config["hvdwStatus"] = true; // True of false for the hit of the week.
$config["hvdwNumber"] = "0xDH2my4syA"; // Youtube code without
/* Facebook Login Settings
You need a Facebook app for this to work go to
$config['facebookLogin'] = false; //Enable the Facebook login (true) or disable it (false)
$config['facebookAPPID'] = '334162590sdaf292528';
$config['facebookAPPSecret'] = 'ce2504ff5adsfa3ff7a6a2fa6d984cd8836';
/* Email Settings */
$email['mailServerHost'] = 'smtp.gmail.com';
$email['mailServerPort'] = 587;
$email['SMTPSecure'] = 'TLS';
$email['mailUsername'] = '[email protected]';
$email['mailPassword'] = '*****';
$email['mailLogo'] = '
$email['mailTemplate'] = '/system/app/plugins/PHPmailer/temp/resetpassword.html';
/* Social settings */
$config['facebook'] = '
$config['facebookEnable'] = false;
$config['twitter'] = '
$config['twitterEnable'] = false;
/* Register Setting */
$config['startMotto'] = "Powered to you by Beratt"; //Regsiter start motto
$config['credits'] = "15000";
$config['duckets'] = "2000";
$config['diamonds'] = "10";
$config['diamondsRef'] = "10";
$config['registerEnable'] = true;
/* Google recaptcha Site Key
Go to this website to create a recaptcha Site Key:
$config['recaptchaSiteKey'] = "6LdzewwUAAAAABkJ3vsdfCDca9qmLGDaWAHqMRtFEs2";
$config['recaptchaSiteKeyEnable'] = false;
/* Buy VIP Settings */
$config['vipCost'] = "25";
$config['vipRankToGet'] = "3";
$config['vipBadge'] = "vip";
switch($config['hotelEmu'])
{
case "arcturus":
$emuUse['user_wardrobe'] = 'users_wardrobe ';
$emuUse['ip_last'] = 'ip_current';
$emuUse['respect'] = 'respects_received';
$emuUse['user_stats'] = 'users_settings';
$emuUse['user_stats_user_id'] = 'user_id';
$emuUse['OnlineTime'] = 'online_time';
break;
case "plusemu":
$emuUse['user_wardrobe'] = 'user_wardrobe ';
$emuUse['ip_last'] = 'ip_last';
$emuUse['respect'] = 'Respect';
$emuUse['user_stats'] = 'user_stats';
$emuUse['user_stats_user_id'] = 'id';
$emuUse['OnlineTime'] = 'OnlineTime';
break;
default:
//Nothing
break;
}
?>
But when I try to use my portforwarded IP, it doesn't work.
When I try to access the CMS through my IP, I get a Google error:
Website takes too long to load.
Portforwarding was succesfull, ports 80 and 3306 are opened correctly.
I searched for days without success on how to fix this.
PS: Database is root with no password. PHP is the newest version. And IP has been masked on purpose for here.
Config
<?php
if(!defined('BRAIN_CMS'))
{
die('Sorry but you cannot access this file!');
}
/* Database Setting */
$db['host'] = 'MASKED'; //Mysql's Host
$db['port'] = '3306'; //Mysql's port
$db['user'] = "root"; //Mysql's user
$db['pass'] = ''; //Mysql's password
$db['db'] = "hotelke"; //Mysql's database
/* Emu Settings */
$config['hotelEmu'] = 'plusemu'; // plusemu // arcturus
/* Client Setting */
$hotel['emuHost'] = "MASKED"; //IP of VPS//IP of Proxy
$hotel['emuPort'] = "30000"; //Port of VPS//Port of Proxy
$hotel['staffCheckClient'] = false; //Enable the staff pin in the client (true) or disable it (false)
$hotel['staffCheckClientMinimumRank'] = 3; //Minium staff rank to get the staff pin in the client
$hotel['homeRoom'] = '11'; //Set the start room when you get in the hotel
$hotel['external_Variables'] = "
You must be registered for see links
";$hotel['external_Variables_Override'] = "
You must be registered for see links
";$hotel['external_Texts'] = "
You must be registered for see links
";$hotel['external_Texts_Override'] = "
You must be registered for see links
";$hotel['productdata'] = "
You must be registered for see links
";$hotel['furnidata'] = "
You must be registered for see links
";$hotel['figuremap'] = "
You must be registered for see links
";$hotel['figuredata'] = "
You must be registered for see links
";$hotel['swfFolder'] = "
You must be registered for see links
";$hotel['swfFolderSwf'] = "
You must be registered for see links
";$hotel['onlineCounter'] = false; // Enable the user count in the client.
$hotel['diamonds.enabled'] = true; // Enable diamonds in the hotel.
/* Website Setting */
$config['hotelUrl'] = "
You must be registered for see links
";//Address of your hotel. Does not end with a "/"$config['skin'] = "Nabbo"; //Skin/template of your website
$config['lang'] = "nl"; //Language of your website en/nl/es
$config['hotelName'] = "Beratt"; //Name of your hotel
$config['favicon'] = "
You must be registered for see links
";$config['staffCheckHk'] = false; //Enable the staff pin in the housekeeping (true) or disable it (false)
$config['staffCheckHkMinimumRank'] = 3; //Minium staff rank to get the staff pin in the housekeeping
$config['maintenance'] = false; //Enable the maintenance of your website (true) or disable it (false)
$config['maintenancekMinimumRankLogin'] = 3; //Minium staff rank to login when the website is in maintenance
$config['groupBadgeURL'] = "
You must be registered for see links
";$config['badgeURL'] = "
You must be registered for see links
";$config['userLikeEnable'] = true; // Enable user likes
$config['newsCommandEnable'] = true; //Enable news commands
$config['newsCommandFilter'] = true; //Enable wordfilter on news commands (the filter use the db tabels wordfilter and wordfilter_characters)
$config['alertReferrer'] = false;
$config['alert'] = 'Geen melding'; //Alert message. If you don't want a alert, you fill in 'nomessage' or you do leave it blank.
$config['brainversion'] = '1.8.0'; // Please do not change.
/* Hit of the week Settings */
$config["hvdwStatus"] = true; // True of false for the hit of the week.
$config["hvdwNumber"] = "0xDH2my4syA"; // Youtube code without
You must be registered for see links
/* Facebook Login Settings
You need a Facebook app for this to work go to
You must be registered for see links
*/$config['facebookLogin'] = false; //Enable the Facebook login (true) or disable it (false)
$config['facebookAPPID'] = '334162590sdaf292528';
$config['facebookAPPSecret'] = 'ce2504ff5adsfa3ff7a6a2fa6d984cd8836';
/* Email Settings */
$email['mailServerHost'] = 'smtp.gmail.com';
$email['mailServerPort'] = 587;
$email['SMTPSecure'] = 'TLS';
$email['mailUsername'] = '[email protected]';
$email['mailPassword'] = '*****';
$email['mailLogo'] = '
You must be registered for see links
$email['mailTemplate'] = '/system/app/plugins/PHPmailer/temp/resetpassword.html';
/* Social settings */
$config['facebook'] = '
You must be registered for see links
$config['facebookEnable'] = false;
$config['twitter'] = '
You must be registered for see links
$config['twitterEnable'] = false;
/* Register Setting */
$config['startMotto'] = "Powered to you by Beratt"; //Regsiter start motto
$config['credits'] = "15000";
$config['duckets'] = "2000";
$config['diamonds'] = "10";
$config['diamondsRef'] = "10";
$config['registerEnable'] = true;
/* Google recaptcha Site Key
Go to this website to create a recaptcha Site Key:
You must be registered for see links
*/$config['recaptchaSiteKey'] = "6LdzewwUAAAAABkJ3vsdfCDca9qmLGDaWAHqMRtFEs2";
$config['recaptchaSiteKeyEnable'] = false;
/* Buy VIP Settings */
$config['vipCost'] = "25";
$config['vipRankToGet'] = "3";
$config['vipBadge'] = "vip";
switch($config['hotelEmu'])
{
case "arcturus":
$emuUse['user_wardrobe'] = 'users_wardrobe ';
$emuUse['ip_last'] = 'ip_current';
$emuUse['respect'] = 'respects_received';
$emuUse['user_stats'] = 'users_settings';
$emuUse['user_stats_user_id'] = 'user_id';
$emuUse['OnlineTime'] = 'online_time';
break;
case "plusemu":
$emuUse['user_wardrobe'] = 'user_wardrobe ';
$emuUse['ip_last'] = 'ip_last';
$emuUse['respect'] = 'Respect';
$emuUse['user_stats'] = 'user_stats';
$emuUse['user_stats_user_id'] = 'id';
$emuUse['OnlineTime'] = 'OnlineTime';
break;
default:
//Nothing
break;
}
?>