Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Problems with BrainCMS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Titanicijsberg" data-source="post: 451871" data-attributes="member: 24423"><p>So I installed xampp, cms and everything. In localhost it works fine.</p><p>But when I try to use my portforwarded IP, it doesn't work.</p><p>When I try to access the CMS through my IP, I get a Google error:</p><p>Website takes too long to load.</p><p></p><p>Portforwarding was succesfull, ports 80 and 3306 are opened correctly.</p><p>I searched for days without success on how to fix this.</p><p></p><p>PS: Database is root with no password. PHP is the newest version. And IP has been masked on purpose for here.</p><p></p><p>Config</p><p></p><p><?php</p><p> if(!defined('BRAIN_CMS'))</p><p> {</p><p> die('Sorry but you cannot access this file!');</p><p> }</p><p> </p><p> /* Database Setting */</p><p> $db['host'] = 'MASKED'; //Mysql's Host</p><p> $db['port'] = '3306'; //Mysql's port</p><p> $db['user'] = "root"; //Mysql's user</p><p> $db['pass'] = ''; //Mysql's password</p><p> $db['db'] = "hotelke"; //Mysql's database</p><p> </p><p> /* Emu Settings */</p><p> $config['hotelEmu'] = 'plusemu'; // plusemu // arcturus</p><p></p><p> /* Client Setting */</p><p> $hotel['emuHost'] = "MASKED"; //IP of VPS//IP of Proxy</p><p> $hotel['emuPort'] = "30000"; //Port of VPS//Port of Proxy</p><p> $hotel['staffCheckClient'] = false; //Enable the staff pin in the client (true) or disable it (false)</p><p> $hotel['staffCheckClientMinimumRank'] = 3; //Minium staff rank to get the staff pin in the client</p><p> $hotel['homeRoom'] = '11'; //Set the start room when you get in the hotel</p><p> $hotel['external_Variables'] = "<a href="http://MASKED/bibliotheek/gamedata/acc_head_U_excited.txt" target="_blank">http://MASKED/bibliotheek/gamedata/acc_head_U_excited.txt</a>";</p><p> $hotel['external_Variables_Override'] = "<a href="http://MASKED/bibliotheek/gamedata/override/acc_head_U_angry.txt" target="_blank">http://MASKED/bibliotheek/gamedata/override/acc_head_U_angry.txt</a>";</p><p> $hotel['external_Texts'] = "<a href="http://MASKED/bibliotheek/gamedata/acc_head_U_antenna.txt" target="_blank">http://MASKED/bibliotheek/gamedata/acc_head_U_antenna.txt</a>";</p><p> $hotel['external_Texts_Override'] = "<a href="http://MASKED/bibliotheek/gamedata/override/acc_head_U_happy.txt" target="_blank">http://MASKED/bibliotheek/gamedata/override/acc_head_U_happy.txt</a>";</p><p> $hotel['productdata'] = "<a href="http://MASKED/bibliotheek/gamedata/acc_head_U_bobba.txt" target="_blank">http://MASKED/bibliotheek/gamedata/acc_head_U_bobba.txt</a>";</p><p> $hotel['furnidata'] = "<a href="http://MASKED/bibliotheek/gamedata/furnidata.xml" target="_blank">http://MASKED/bibliotheek/gamedata/furnidata.xml</a>";</p><p> $hotel['figuremap'] = "<a href="http://MASKED/bibliotheek/gamedata/figuremap.xml" target="_blank">http://MASKED/bibliotheek/gamedata/figuremap.xml</a>";</p><p> $hotel['figuredata'] = "<a href="http://MASKED/bibliotheek/gamedata/acc_head_U_lamee.xml" target="_blank">http://MASKED/bibliotheek/gamedata/acc_head_U_lamee.xml</a>";</p><p> $hotel['swfFolder'] = "<a href="http://MASKED/bibliotheek/gordon/PRODUCTION-201601012205-226667486" target="_blank">http://MASKED/bibliotheek/gordon/PRODUCTION-201601012205-226667486</a>";</p><p> $hotel['swfFolderSwf'] = "<a href="http://MASKED/bibliotheek/gordon/PRODUCTION-201601012205-226667486/NabboV1.2.2.swf" target="_blank">http://MASKED/bibliotheek/gordon/PRODUCTION-201601012205-226667486/NabboV1.2.2.swf</a>";</p><p> $hotel['onlineCounter'] = false; // Enable the user count in the client.</p><p> $hotel['diamonds.enabled'] = true; // Enable diamonds in the hotel.</p><p> </p><p> /* Website Setting */</p><p> $config['hotelUrl'] = "<a href="http://MASKED" target="_blank">http://MASKED</a>";//Address of your hotel. Does not end with a "/"</p><p> $config['skin'] = "Nabbo"; //Skin/template of your website</p><p> $config['lang'] = "nl"; //Language of your website en/nl/es</p><p> $config['hotelName'] = "Beratt"; //Name of your hotel</p><p> $config['favicon'] = "<a href="http://MASKED/favicon.ico" target="_blank">http://MASKED/favicon.ico</a>";</p><p> $config['staffCheckHk'] = false; //Enable the staff pin in the housekeeping (true) or disable it (false)</p><p> $config['staffCheckHkMinimumRank'] = 3; //Minium staff rank to get the staff pin in the housekeeping</p><p> $config['maintenance'] = false; //Enable the maintenance of your website (true) or disable it (false)</p><p> $config['maintenancekMinimumRankLogin'] = 3; //Minium staff rank to login when the website is in maintenance</p><p> $config['groupBadgeURL'] = "<a href="http://MASKED/swf/habbo-imaging/badge.php?badge=" target="_blank">http://MASKED/swf/habbo-imaging/badge.php?badge=</a>";</p><p> $config['badgeURL'] = "<a href="http://MASKED/swf/c_images/album1584/" target="_blank">http://MASKED/swf/c_images/album1584/</a>";</p><p> $config['userLikeEnable'] = true; // Enable user likes</p><p> $config['newsCommandEnable'] = true; //Enable news commands</p><p> $config['newsCommandFilter'] = true; //Enable wordfilter on news commands (the filter use the db tabels wordfilter and wordfilter_characters)</p><p> $config['alertReferrer'] = false;</p><p> $config['alert'] = 'Geen melding'; //Alert message. If you don't want a alert, you fill in 'nomessage' or you do leave it blank.</p><p> $config['brainversion'] = '1.8.0'; // Please do not change.</p><p> </p><p> /* Hit of the week Settings */</p><p> $config["hvdwStatus"] = true; // True of false for the hit of the week.</p><p> $config["hvdwNumber"] = "0xDH2my4syA"; // Youtube code without <a href="http://www.youtube.com/watch?v=" target="_blank">http://www.youtube.com/watch?v=</a></p><p> </p><p> /* Facebook Login Settings</p><p> You need a Facebook app for this to work go to</p><p> <a href="http://developers.facebook.com/apps/" target="_blank">http://developers.facebook.com/apps/</a> */</p><p> </p><p> $config['facebookLogin'] = false; //Enable the Facebook login (true) or disable it (false)</p><p> $config['facebookAPPID'] = '334162590sdaf292528';</p><p> $config['facebookAPPSecret'] = 'ce2504ff5adsfa3ff7a6a2fa6d984cd8836';</p><p> </p><p> /* Email Settings */</p><p> $email['mailServerHost'] = 'smtp.gmail.com';</p><p> $email['mailServerPort'] = 587;</p><p> $email['SMTPSecure'] = 'TLS';</p><p> $email['mailUsername'] = '<a href="mailto:gmail@gmail.com">gmail@gmail.com</a>';</p><p> $email['mailPassword'] = '*****';</p><p> $email['mailLogo'] = '<a href="http://MASKED/templates/brain/style/images/logo/logo.png';" target="_blank">http://MASKED/templates/brain/style/images/logo/logo.png';</a></p><p> $email['mailTemplate'] = '/system/app/plugins/PHPmailer/temp/resetpassword.html';</p><p> </p><p> /* Social settings */</p><p> $config['facebook'] = '<a href="http://www.facebook.com/beratk61';" target="_blank">http://www.facebook.com/beratk61';</a></p><p> $config['facebookEnable'] = false;</p><p> $config['twitter'] = '<a href="http://twitter.com/';" target="_blank">http://twitter.com/';</a></p><p> $config['twitterEnable'] = false;</p><p> </p><p> /* Register Setting */</p><p> $config['startMotto'] = "Powered to you by Beratt"; //Regsiter start motto</p><p> $config['credits'] = "15000";</p><p> $config['duckets'] = "2000";</p><p> $config['diamonds'] = "10";</p><p> $config['diamondsRef'] = "10";</p><p> $config['registerEnable'] = true;</p><p> </p><p> /* Google recaptcha Site Key </p><p> Go to this website to create a recaptcha Site Key: <a href="http://www.google.com/recaptcha/intro/index.html" target="_blank">http://www.google.com/recaptcha/intro/index.html</a> */</p><p> $config['recaptchaSiteKey'] = "6LdzewwUAAAAABkJ3vsdfCDca9qmLGDaWAHqMRtFEs2";</p><p> $config['recaptchaSiteKeyEnable'] = false;</p><p> </p><p> /* Buy VIP Settings */</p><p> $config['vipCost'] = "25";</p><p> $config['vipRankToGet'] = "3";</p><p> $config['vipBadge'] = "vip";</p><p> </p><p> </p><p> switch($config['hotelEmu'])</p><p> {</p><p> case "arcturus":</p><p> $emuUse['user_wardrobe'] = 'users_wardrobe ';</p><p> $emuUse['ip_last'] = 'ip_current';</p><p> $emuUse['respect'] = 'respects_received';</p><p> $emuUse['user_stats'] = 'users_settings';</p><p> $emuUse['user_stats_user_id'] = 'user_id';</p><p> $emuUse['OnlineTime'] = 'online_time';</p><p> break;</p><p> case "plusemu":</p><p> $emuUse['user_wardrobe'] = 'user_wardrobe ';</p><p> $emuUse['ip_last'] = 'ip_last';</p><p> $emuUse['respect'] = 'Respect';</p><p> $emuUse['user_stats'] = 'user_stats';</p><p> $emuUse['user_stats_user_id'] = 'id';</p><p> $emuUse['OnlineTime'] = 'OnlineTime';</p><p> break;</p><p> default:</p><p> //Nothing</p><p> break;</p><p> }</p><p>?></p></blockquote><p></p>
[QUOTE="Titanicijsberg, post: 451871, member: 24423"] 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'] = "[URL]http://MASKED/bibliotheek/gamedata/acc_head_U_excited.txt[/URL]"; $hotel['external_Variables_Override'] = "[URL]http://MASKED/bibliotheek/gamedata/override/acc_head_U_angry.txt[/URL]"; $hotel['external_Texts'] = "[URL]http://MASKED/bibliotheek/gamedata/acc_head_U_antenna.txt[/URL]"; $hotel['external_Texts_Override'] = "[URL]http://MASKED/bibliotheek/gamedata/override/acc_head_U_happy.txt[/URL]"; $hotel['productdata'] = "[URL]http://MASKED/bibliotheek/gamedata/acc_head_U_bobba.txt[/URL]"; $hotel['furnidata'] = "[URL]http://MASKED/bibliotheek/gamedata/furnidata.xml[/URL]"; $hotel['figuremap'] = "[URL]http://MASKED/bibliotheek/gamedata/figuremap.xml[/URL]"; $hotel['figuredata'] = "[URL]http://MASKED/bibliotheek/gamedata/acc_head_U_lamee.xml[/URL]"; $hotel['swfFolder'] = "[URL]http://MASKED/bibliotheek/gordon/PRODUCTION-201601012205-226667486[/URL]"; $hotel['swfFolderSwf'] = "[URL]http://MASKED/bibliotheek/gordon/PRODUCTION-201601012205-226667486/NabboV1.2.2.swf[/URL]"; $hotel['onlineCounter'] = false; // Enable the user count in the client. $hotel['diamonds.enabled'] = true; // Enable diamonds in the hotel. /* Website Setting */ $config['hotelUrl'] = "[URL]http://MASKED[/URL]";//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'] = "[URL]http://MASKED/favicon.ico[/URL]"; $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'] = "[URL]http://MASKED/swf/habbo-imaging/badge.php?badge=[/URL]"; $config['badgeURL'] = "[URL]http://MASKED/swf/c_images/album1584/[/URL]"; $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 [URL]http://www.youtube.com/watch?v=[/URL] /* Facebook Login Settings You need a Facebook app for this to work go to [URL]http://developers.facebook.com/apps/[/URL] */ $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]gmail@gmail.com[/EMAIL]'; $email['mailPassword'] = '*****'; $email['mailLogo'] = '[URL]http://MASKED/templates/brain/style/images/logo/logo.png';[/URL] $email['mailTemplate'] = '/system/app/plugins/PHPmailer/temp/resetpassword.html'; /* Social settings */ $config['facebook'] = '[URL]http://www.facebook.com/beratk61';[/URL] $config['facebookEnable'] = false; $config['twitter'] = '[URL]http://twitter.com/';[/URL] $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: [URL]http://www.google.com/recaptcha/intro/index.html[/URL] */ $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; } ?> [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Problems with BrainCMS
Top