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
[Revcms]Parse error: syntax error unexpected T_STRING Problem [Revcms]
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="Eyefinity" data-source="post: 101571" data-attributes="member: 10107"><p>Hello Guys ,</p><p>I have a Problem with Revcms . Im use it with Xampp .</p><p>When im go to localhost than :</p><p><strong>Parse error</strong>: syntax error, unexpected T_STRING in <strong>C:\xampp\htdocs\app\management\config.php</strong> on line <strong>45 .</strong></p><p> </p><p><strong>My Config File :</strong></p><p> </p><p> </p><p>[CODE]<?php</p><p>if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }</p><p>#Please fill this all out.</p><p> </p><p>#NOTE: To set up TheHabbos.ORG's API go to wwwroot/mysite/thehabbos_api for IIS, OR, htdocs/thehabbos_api for XAMPP and others.</p><p> </p><p>/*</p><p>*</p><p>* MySQL management</p><p>*</p><p>*/</p><p> </p><p>$_CONFIG['mysql']['connection_type'] = 'pconnect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection.</p><p> </p><p>$_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host</p><p> </p><p>$_CONFIG['mysql']['username'] = 'root'; //MySQL username</p><p> </p><p>$_CONFIG['mysql']['password'] = 'password'; //MySQL password</p><p> </p><p>$_CONFIG['mysql']['database'] = 'rev_phoenix'; //MySQL database</p><p> </p><p>$_CONFIG['mysql']['port'] = '3306'; //MySQL's port</p><p> </p><p>/*</p><p>*</p><p>* Hotel management - All URLs do not end with an "/"</p><p>*</p><p>*/</p><p> </p><p>$_CONFIG['hotel']['server_ip'] = 'localhost</p><p>'; //IP of VPS/DEDI/etc</p><p> </p><p>$_CONFIG['hotel']['url'] = 'http://localhost'; //Does not end with a "/"</p><p> </p><p>$_CONFIG['hotel']['name'] = 'Habbo '; // Hotel's name</p><p> </p><p>$_CONFIG['hotel']['desc'] = 'Hey'; //Hotel's description</p><p> </p><p>$_CONFIG['hotel']['email'] = 'help@myhotel.net'; //Where the help queries from users are emailed to.@Priv skin</p><p> </p><p>$_CONFIG['hotel']['in_maint'] = false; //False if hotel is NOT in maintenance. True if hotel IS in maintenance</p><p> </p><p>$_CONFIG['hotel']['motto'] = 'Welcome; //Default motto users will register with.</p><p> </p><p>$_CONFIG['hotel']['credits'] = 6000; //Default number of credits users will register with.</p><p> </p><p>$_CONFIG['hotel']['pixels'] = 200; //Default number of pixels users will register with.</p><p> </p><p>$_CONFIG['hotel']['figure'] = '-'; //Default figure users will register with.</p><p> </p><p>$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/527'; //Web_Build</p><p> </p><p>$_CONFIG['hotel']['external_vars'] = 'http://localhost/swf/external_variables.txt'; //URL to your external vars</p><p> </p><p>$_CONFIG['hotel']['external_texts'] = 'http://localhost/swf/external_flash_texts.txt'; //URL to your external texts</p><p> </p><p>$_CONFIG['hotel']['product_data'] = 'http://localhost</p><p>/swf/productdata.txt'; //URL to your productdata</p><p> </p><p>$_CONFIG['hotel']['furni_data'] = 'http://</p><p>localhost</p><p>/swf/furnidata.txt'; //URL to your furnidata</p><p> </p><p>$_CONFIG['hotel']['swf_folder'] = 'http://localhost</p><p>/swf'; //URL to your SWF folder(does not end with a '/')</p><p> </p><p>/*</p><p>*</p><p>* Templating management - Pick one of our default styles or make yours by following our examples!</p><p>*</p><p>*/</p><p> </p><p>#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.</p><p> </p><p>$_CONFIG['template']['style'] = 'Mango';</p><p> </p><p>/*</p><p>*</p><p>* Other topsites.. thing</p><p>*</p><p>*/</p><p> </p><p>$_CONFIG['thehabbos']['username'] = 'Kryptos';</p><p>$_CONFIG['retro_top']['user'] = 'Kryptos';</p><p> </p><p>/*</p><p>*</p><p>* Recaptcha management - Fill the information below if you have one, else leave it like that and don't worry, be happy.</p><p>*</p><p>*/</p><p> </p><p>$_CONFIG['recaptcha']['priv_key'] = '6LcZ58USAAAAABSV5px9XZlzvIPaBOGA6rQP2G43';</p><p>$_CONFIG['recaptcha']['pub_key'] = '6LcZ58USAAAAAAQ6kquItHl4JuTBWs-5cSKzh6DD';</p><p> </p><p> </p><p>/*</p><p>*</p><p>* Social Networking stuff</p><p>*</p><p>*/</p><p> </p><p>$_CONFIG['social']['twitter'] = 'TwitterAccount'; //Hotel's Twitter account</p><p> </p><p>$_CONFIG['social']['facebook'] = 'FacebookAccount'; //Hotel's Facebook account</p><p> </p><p>?>[/CODE]</p></blockquote><p></p>
[QUOTE="Eyefinity, post: 101571, member: 10107"] Hello Guys , I have a Problem with Revcms . Im use it with Xampp . When im go to localhost than : [B]Parse error[/B]: syntax error, unexpected T_STRING in [B]C:\xampp\htdocs\app\management\config.php[/B] on line [B]45 .[/B] [B]My Config File :[/B] [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'] = 'localhost'; //MySQL host $_CONFIG['mysql']['username'] = 'root'; //MySQL username $_CONFIG['mysql']['password'] = 'password'; //MySQL password $_CONFIG['mysql']['database'] = 'rev_phoenix'; //MySQL database $_CONFIG['mysql']['port'] = '3306'; //MySQL's port /* * * Hotel management - All URLs do not end with an "/" * */ $_CONFIG['hotel']['server_ip'] = 'localhost '; //IP of VPS/DEDI/etc $_CONFIG['hotel']['url'] = 'http://localhost'; //Does not end with a "/" $_CONFIG['hotel']['name'] = 'Habbo '; // Hotel's name $_CONFIG['hotel']['desc'] = 'Hey'; //Hotel's description $_CONFIG['hotel']['email'] = 'help@myhotel.net'; //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'] = 'Welcome; //Default motto users will register with. $_CONFIG['hotel']['credits'] = 6000; //Default number of credits users will register with. $_CONFIG['hotel']['pixels'] = 200; //Default number of pixels users will register with. $_CONFIG['hotel']['figure'] = '-'; //Default figure users will register with. $_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/527'; //Web_Build $_CONFIG['hotel']['external_vars'] = 'http://localhost/swf/external_variables.txt'; //URL to your external vars $_CONFIG['hotel']['external_texts'] = 'http://localhost/swf/external_flash_texts.txt'; //URL to your external texts $_CONFIG['hotel']['product_data'] = 'http://localhost /swf/productdata.txt'; //URL to your productdata $_CONFIG['hotel']['furni_data'] = 'http:// localhost /swf/furnidata.txt'; //URL to your furnidata $_CONFIG['hotel']['swf_folder'] = 'http://localhost /swf'; //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'] = 'Mango'; /* * * Other topsites.. thing * */ $_CONFIG['thehabbos']['username'] = 'Kryptos'; $_CONFIG['retro_top']['user'] = 'Kryptos'; /* * * 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 ?>[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[Revcms]Parse error: syntax error unexpected T_STRING Problem [Revcms]
Top