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
[HELP] RevCMS/R63B With Latest UI
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="IPMB1" data-source="post: 292280" data-attributes="member: 26257"><p><strong>I keep getting black screen then after a few seconds it redirects to /404 page. Thanks in advance for those who can help me <img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /> And here's a Picture: <strong><a href="http://prntscr.com/3zl3sb" target="_blank">http://prntscr.com/3zl3sb</a> and under this are the php's.</strong></strong></p><p><strong>Client.php : </strong></p><p><strong>[PHP]<!DOCTYPE html></strong></p><p><strong><html lang="en"></strong></p><p><strong> <head></strong></p><p><strong> <meta http-equiv="content-type" content="text/html; charset=utf-8"></strong></p><p><strong> <title>{hotelName} - Client</title></strong></p><p><strong> </strong></p><p><strong> <link rel="stylesheet" href="{url}/app/tpl/skins/{skin}/styles/client.css" type="text/css"></strong></p><p><strong> </strong></p><p><strong> <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/swfobject.js"></script></strong></p><p><strong> <script type="text/javascript"></strong></p><p><strong> var BaseUrl = "{url}/game";</strong></p><p><strong> var flashvars =</strong></p><p><strong> {</strong></p><p><strong> "client.starting" : "Please wait, {hotelname} loading",</strong></p><p><strong> "hoteview.banner.url" : "{url}/game/rs4.php",</strong></p><p><strong> "client.allow.cross.domain" : "1",</strong></p><p><strong> "client.notify.cross.domain" : "0",</strong></p><p><strong> "connection.info.host" : "IP WAS HERE",</strong></p><p><strong> "connection.info.port" : "30000",</strong></p><p><strong> "site.url" : "{url}",</strong></p><p><strong> "url.prefix" : "{url}",</strong></p><p><strong> "client.reload.url" : "{url}/client",</strong></p><p><strong> "client.fatal.error.url" : "{url}/me",</strong></p><p><strong> "client.connection.failed.url" : "{url}/me",</strong></p><p><strong> "external.variables.txt" : "{url}/game/external_variables.txt",</strong></p><p><strong> "external.texts.txt" : "{url}/game/external_flash_texts.txt",</strong></p><p><strong> "productdata.load.url" : "{url}/game/productdata.txt",</strong></p><p><strong> "furnidata.load.url" : "{url}/game/furnidata_xml.xml",</strong></p><p><strong> "use.sso.ticket" : "1",</strong></p><p><strong> "sso.ticket" : "{sso}",</strong></p><p><strong> "processlog.enabled" : "0",</strong></p><p><strong> "flash.client.url" : BaseUrl,</strong></p><p><strong> "flash.client.origin" : "popup"</strong></p><p><strong> };</strong></p><p><strong> var params =</strong></p><p><strong> {</strong></p><p><strong> "base" : BaseUrl + "/",</strong></p><p><strong> "allowScriptAccess" : "always",</strong></p><p><strong> "menu" : "false" </strong></p><p><strong> };</strong></p><p><strong> swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "{url}/expressInstall.swf", flashvars, params, null);</strong></p><p><strong> </script></strong></p><p><strong> </head></strong></p><p><strong></strong></p><p><strong> <body></strong></p><p><strong></strong></p><p><strong> <div id="client"></div></strong></p><p><strong></strong></p><p><strong> </body></strong></p><p><strong></html>[/PHP]</strong></p><p><strong>Config.php (CMS)</strong></p><p><strong>[PHP]<?php</strong></p><p><strong></strong></p><p><strong>error_reporting(0);</strong></p><p><strong></strong></p><p><strong>?></strong></p><p><strong><?php</strong></p><p><strong>if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }</strong></p><p><strong>#Please fill this all out.</strong></p><p><strong></strong></p><p><strong>#NOTE: To set up TheHabbos.ORG's API go to wwwroot/mysite/thehabbos_api for IIS, OR, htdocs/thehabbos_api for XAMPP and others.</strong></p><p><strong></strong></p><p><strong>/*</strong></p><p><strong>*</strong></p><p><strong>* MySQL management</strong></p><p><strong>*</strong></p><p><strong>*/</strong></p><p><strong></strong></p><p><strong>$_CONFIG['mysql']['connection_type'] = 'pconnect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection.</strong></p><p><strong></strong></p><p><strong>$_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host</strong></p><p><strong></strong></p><p><strong>$_CONFIG['mysql']['username'] = 'root'; //MySQL username</strong></p><p><strong></strong></p><p><strong>$_CONFIG['mysql']['password'] = 'PASSWORD WAS HERE'; //MySQL password</strong></p><p><strong></strong></p><p><strong>$_CONFIG['mysql']['database'] = 'DATABASE NAME WAS HERE'; //MySQL database</strong></p><p><strong></strong></p><p><strong>$_CONFIG['mysql']['port'] = '3306'; //MySQL's port</strong></p><p><strong></strong></p><p><strong>/*</strong></p><p><strong>*</strong></p><p><strong>* Hotel management - All URLs do not end with an "/"</strong></p><p><strong>*</strong></p><p><strong>*/</strong></p><p><strong></strong></p><p><strong>$_CONFIG['hotel']['server_ip'] = 'IP WAS HERE'; //IP of VPS/DEDI/etc</strong></p><p><strong></strong></p><p><strong>$_CONFIG['hotel']['url'] = '{url}'; //Does not end with a "/"</strong></p><p><strong></strong></p><p><strong>$_CONFIG['hotel']['name'] = 'Fire'; // Hotel's name</strong></p><p><strong></strong></p><p><strong>$_CONFIG['hotel']['desc'] = 'Build your own rooms, make your own virtual character, meet new friends!'; //Hotel's description</strong></p><p><strong></strong></p><p><strong>$_CONFIG['hotel']['email'] = 'EMAIL WAS HERE'; //Where the help queries from users are emailed to.@Priv skin</strong></p><p><strong></strong></p><p><strong>$_CONFIG['hotel']['in_maint'] = false; //False if hotel is NOT in maintenance. True if hotel IS in maintenance</strong></p><p><strong></strong></p><p><strong>$_CONFIG['hotel']['motto'] = 'I am a new to Fire Hotel!'; //Default motto users will register with.</strong></p><p><strong></strong></p><p><strong>$_CONFIG['hotel']['credits'] = 50000; //Default number of credits users will register with.</strong></p><p><strong></strong></p><p><strong>$_CONFIG['hotel']['pixels'] = 25000; //Default number of pixels users will register with.</strong></p><p><strong></strong></p><p><strong>$_CONFIG['hotel']['figure'] = 'ch-215-96.lg-275-110.hd-180-8.hr-831-61.he-1601-67'; //Default figure users will register with.</strong></p><p><strong></strong></p><p><strong>$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1869'; //Web_Build</strong></p><p><strong></strong></p><p><strong>$_CONFIG['hotel']['external_vars'] = '{url}/game/external_variables.txt'; //URL to your external vars</strong></p><p><strong></strong></p><p><strong>$_CONFIG['hotel']['external_texts'] = '{url}/game/external_flash_texts.txt'; //URL to your external texts</strong></p><p><strong></strong></p><p><strong>$_CONFIG['hotel']['product_data'] = '{url}/game/productdata.txt'; //URL to your productdata</strong></p><p><strong></strong></p><p><strong>$_CONFIG['hotel']['furni_data'] = '{url}/game/furnidata_xml.xml'; //URL to your furnidata</strong></p><p><strong></strong></p><p><strong>$_CONFIG['hotel']['swf_folder'] = '{url}/game'; //URL to your SWF folder(does not end with a '/')</strong></p><p><strong></strong></p><p><strong>/*</strong></p><p><strong>*</strong></p><p><strong>* Templating management - Pick one of our default styles or make yours by following our examples!</strong></p><p><strong>*</strong></p><p><strong>*/</strong></p><p><strong></strong></p><p><strong>#RevCMS has 2 default styles, 'Mango' by dannyy94 and 'Priv' by joopie - Others styles are to come, such as RastaLulz's ProCMS style and Nominal's PhoenixCMS 4.0 style.</strong></p><p><strong></strong></p><p><strong>$_CONFIG['template']['style'] = 'HabboExtreme';</strong></p><p><strong></strong></p><p><strong>/*</strong></p><p><strong>*</strong></p><p><strong>* Other topsites.. thing</strong></p><p><strong>*</strong></p><p><strong>*/</strong></p><p><strong></strong></p><p><strong>$_CONFIG['thehabbos']['username'] = 'CoreHotel';</strong></p><p><strong>$_CONFIG['retro_top']['user'] = 'Corehotel';</strong></p><p><strong></strong></p><p><strong>/*</strong></p><p><strong>*</strong></p><p><strong>* Recaptcha management - Fill the information below if you have one, else leave it like that and don't worry, be happy.</strong></p><p><strong>*</strong></p><p><strong>*/</strong></p><p><strong></strong></p><p><strong>$_CONFIG['recaptcha']['priv_key'] = '6LcZ58USAAAAABSV5px9XZlzvIPaBOGA6rQP2G43';</strong></p><p><strong>$_CONFIG['recaptcha']['pub_key'] = '6LcZ58USAAAAAAQ6kquItHl4JuTBWs-5cSKzh6DD';</strong></p><p><strong></strong></p><p><strong></strong></p><p><strong>/*</strong></p><p><strong>*</strong></p><p><strong>* Social Networking stuff</strong></p><p><strong>*</strong></p><p><strong>*/</strong></p><p><strong></strong></p><p><strong>$_CONFIG['social']['twitter'] = 'TwitterAccount'; //Hotel's Twitter account</strong></p><p><strong></strong></p><p><strong>$_CONFIG['social']['facebook'] = 'FacebookAccount'; //Hotel's Facebook account</strong></p><p><strong></strong></p><p><strong>?>[/PHP]</strong></p><p><strong>Config.conf (Emu)</strong></p><p><strong>[PHP] ## uberEmulator System Configuration File</strong></p><p><strong>## Must be edited for the server to work</strong></p><p><strong></strong></p><p><strong>## MySQL Configuration</strong></p><p><strong>db.hostname=localhost</strong></p><p><strong>db.port=3306</strong></p><p><strong>db.username=root</strong></p><p><strong>db.password=PASSWORD WAS HERE</strong></p><p><strong>db.name=DATABASE NAME WAS HERE</strong></p><p><strong></strong></p><p><strong>## MySQL pooling setup (controls amount of connections)</strong></p><p><strong>db.pool.minsize=10</strong></p><p><strong>db.pool.maxsize=500</strong></p><p><strong></strong></p><p><strong>## Game TCP/IP Configuration</strong></p><p><strong>game.tcp.bindip=IP WAS HERE</strong></p><p><strong>game.tcp.port=30000</strong></p><p><strong>game.tcp.conlimit=11000</strong></p><p><strong>game.tcp.conperip=100</strong></p><p><strong>game.tcp.enablenagles=true</strong></p><p><strong></strong></p><p><strong>## MUS TCP/IP Configuration</strong></p><p><strong>mus.tcp.bindip=IP WAS HERE</strong></p><p><strong>mus.tcp.port=30001</strong></p><p><strong>mus.tcp.allowedaddr=IP WAS HERE</strong></p><p><strong></strong></p><p><strong>## Client configuration</strong></p><p><strong>client.ping.enabled=1</strong></p><p><strong>client.ping.interval=20000</strong></p><p><strong>client.maxrequests=300[/PHP]</strong></p><p><strong>THANKS IN ADVANCE!</strong></p><p><strong>--------EDIT--------</strong></p><p><strong>Fixed it! I just changed the CMS to the CMS that is recommended in the Tut.</strong></p><p><strong>Request to close thread.</strong></p></blockquote><p></p>
[QUOTE="IPMB1, post: 292280, member: 26257"] [B]I keep getting black screen then after a few seconds it redirects to /404 page. Thanks in advance for those who can help me :) And here's a Picture: [B][URL]http://prntscr.com/3zl3sb[/URL] and under this are the php's.[/B] Client.php : [PHP]<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>{hotelName} - Client</title> <link rel="stylesheet" href="{url}/app/tpl/skins/{skin}/styles/client.css" type="text/css"> <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/swfobject.js"></script> <script type="text/javascript"> var BaseUrl = "{url}/game"; var flashvars = { "client.starting" : "Please wait, {hotelname} loading", "hoteview.banner.url" : "{url}/game/rs4.php", "client.allow.cross.domain" : "1", "client.notify.cross.domain" : "0", "connection.info.host" : "IP WAS HERE", "connection.info.port" : "30000", "site.url" : "{url}", "url.prefix" : "{url}", "client.reload.url" : "{url}/client", "client.fatal.error.url" : "{url}/me", "client.connection.failed.url" : "{url}/me", "external.variables.txt" : "{url}/game/external_variables.txt", "external.texts.txt" : "{url}/game/external_flash_texts.txt", "productdata.load.url" : "{url}/game/productdata.txt", "furnidata.load.url" : "{url}/game/furnidata_xml.xml", "use.sso.ticket" : "1", "sso.ticket" : "{sso}", "processlog.enabled" : "0", "flash.client.url" : BaseUrl, "flash.client.origin" : "popup" }; var params = { "base" : BaseUrl + "/", "allowScriptAccess" : "always", "menu" : "false" }; swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "{url}/expressInstall.swf", flashvars, params, null); </script> </head> <body> <div id="client"></div> </body> </html>[/PHP] Config.php (CMS) [PHP]<?php error_reporting(0); ?> <?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'] = 'localhost'; //MySQL host $_CONFIG['mysql']['username'] = 'root'; //MySQL username $_CONFIG['mysql']['password'] = 'PASSWORD WAS HERE'; //MySQL password $_CONFIG['mysql']['database'] = 'DATABASE NAME WAS HERE'; //MySQL database $_CONFIG['mysql']['port'] = '3306'; //MySQL's port /* * * Hotel management - All URLs do not end with an "/" * */ $_CONFIG['hotel']['server_ip'] = 'IP WAS HERE'; //IP of VPS/DEDI/etc $_CONFIG['hotel']['url'] = '{url}'; //Does not end with a "/" $_CONFIG['hotel']['name'] = 'Fire'; // Hotel's name $_CONFIG['hotel']['desc'] = 'Build your own rooms, make your own virtual character, meet new friends!'; //Hotel's description $_CONFIG['hotel']['email'] = 'EMAIL WAS HERE'; //Where the help queries from users are emailed to.@Priv skin $_CONFIG['hotel']['in_maint'] = false; //False if hotel is NOT in maintenance. True if hotel IS in maintenance $_CONFIG['hotel']['motto'] = 'I am a new to Fire Hotel!'; //Default motto users will register with. $_CONFIG['hotel']['credits'] = 50000; //Default number of credits users will register with. $_CONFIG['hotel']['pixels'] = 25000; //Default number of pixels users will register with. $_CONFIG['hotel']['figure'] = 'ch-215-96.lg-275-110.hd-180-8.hr-831-61.he-1601-67'; //Default figure users will register with. $_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1869'; //Web_Build $_CONFIG['hotel']['external_vars'] = '{url}/game/external_variables.txt'; //URL to your external vars $_CONFIG['hotel']['external_texts'] = '{url}/game/external_flash_texts.txt'; //URL to your external texts $_CONFIG['hotel']['product_data'] = '{url}/game/productdata.txt'; //URL to your productdata $_CONFIG['hotel']['furni_data'] = '{url}/game/furnidata_xml.xml'; //URL to your furnidata $_CONFIG['hotel']['swf_folder'] = '{url}/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! * */ #RevCMS has 2 default styles, 'Mango' by dannyy94 and 'Priv' by joopie - Others styles are to come, such as RastaLulz's ProCMS style and Nominal's PhoenixCMS 4.0 style. $_CONFIG['template']['style'] = 'HabboExtreme'; /* * * Other topsites.. thing * */ $_CONFIG['thehabbos']['username'] = 'CoreHotel'; $_CONFIG['retro_top']['user'] = 'Corehotel'; /* * * 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'] = '6LcZ58USAAAAABSV5px9XZlzvIPaBOGA6rQP2G43'; $_CONFIG['recaptcha']['pub_key'] = '6LcZ58USAAAAAAQ6kquItHl4JuTBWs-5cSKzh6DD'; /* * * Social Networking stuff * */ $_CONFIG['social']['twitter'] = 'TwitterAccount'; //Hotel's Twitter account $_CONFIG['social']['facebook'] = 'FacebookAccount'; //Hotel's Facebook account ?>[/PHP] Config.conf (Emu) [PHP] ## uberEmulator System Configuration File ## Must be edited for the server to work ## MySQL Configuration db.hostname=localhost db.port=3306 db.username=root db.password=PASSWORD WAS HERE db.name=DATABASE NAME WAS HERE ## MySQL pooling setup (controls amount of connections) db.pool.minsize=10 db.pool.maxsize=500 ## Game TCP/IP Configuration game.tcp.bindip=IP WAS HERE game.tcp.port=30000 game.tcp.conlimit=11000 game.tcp.conperip=100 game.tcp.enablenagles=true ## MUS TCP/IP Configuration mus.tcp.bindip=IP WAS HERE mus.tcp.port=30001 mus.tcp.allowedaddr=IP WAS HERE ## Client configuration client.ping.enabled=1 client.ping.interval=20000 client.maxrequests=300[/PHP] THANKS IN ADVANCE! --------EDIT-------- Fixed it! I just changed the CMS to the CMS that is recommended in the Tut. Request to close thread.[/B] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[HELP] RevCMS/R63B With Latest UI
Top