Localhost ;/

BabboV2

Member
Mar 31, 2014
39
5
So i reopened my retro Bahbbo and im getting this Parse error: syntax error, unexpected 'to' (T_STRING) in C:\Users\Backup Account\Desktop\xampp\htdocs\app\management\config.php on line 37
 

BabboV2

Member
Mar 31, 2014
39
5
<?php
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
date_default_timezone_set('America/Chicago');

#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 - Localhost, Hamachi IP, VPS or Dedi's IP

$_CONFIG['mysql']['username'] = 'root'; //Phpmyadmin username

$_CONFIG['mysql']['password'] = 'Babbo'; //Phpmyadmin password

$_CONFIG['mysql']['database'] = '----'; //Phpmyadmin database name

$_CONFIG['mysql']['port'] = '3306'; //MySQL's port

/*
*
* Hotel management - All URLs do not end with an "/"
*
*/

$_CONFIG['hotel']['server_ip'] = ''; //Localhost, Hamachi IP, VPS or Dedi's IP

$_CONFIG['hotel']['url'] = ' //URL to your hotel, does not end with a "/"

$_CONFIG['hotel']['name'] = 'Babbo'; // Your Hotel's Name

$_CONFIG['hotel']['desc'] = Welcome to Babbo V2

$_CONFIG['hotel']['email'] = '[email protected]
$_CONFIG['hotel']['in_maint'] = false; //false for no maintenance mode & true for maintenance mode

$_CONFIG['hotel']['motto'] = 'I <3 Babbo _CONFIG['hotel']['name']; //Starting motto for new users

$_CONFIG['hotel']['credits'] = 100000000

$_CONFIG['hotel']['pixels'] = 10000000

$_CONFIG['hotel']['figure'] = '-'; //Default figure users will register with.

$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/527'; //Web_Build

$_CONFIG['hotel']['external_vars'] = ' //External Vars [Don't edit]

$_CONFIG['hotel']['external_texts'] = ' //External Flash Texts [Don't edit]

$_CONFIG['hotel']['product_data'] = ' //Product Data [Don't edit]

$_CONFIG['hotel']['furni_data'] = ' //Furni Data [Don't edit]

$_CONFIG['hotel']['swf_folder'] = ' //SWF Folder [Don't edit]

/*
*
* 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

?>
 

Each

Member
Dec 20, 2013
498
184
<?php
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
date_default_timezone_set('America/Chicago');

#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 - Localhost, Hamachi IP, VPS or Dedi's IP

$_CONFIG['mysql']['username'] = 'root'; //Phpmyadmin username

$_CONFIG['mysql']['password'] = 'Babbo'; //Phpmyadmin password

$_CONFIG['mysql']['database'] = '----'; //Phpmyadmin database name

$_CONFIG['mysql']['port'] = '3306'; //MySQL's port

/*
*
* Hotel management - All URLs do not end with an "/"
*
*/

$_CONFIG['hotel']['server_ip'] = ''; //Localhost, Hamachi IP, VPS or Dedi's IP

$_CONFIG['hotel']['url'] = ' //URL to your hotel, does not end with a "/"

$_CONFIG['hotel']['name'] = 'Babbo'; // Your Hotel's Name

$_CONFIG['hotel']['desc'] = Welcome to Babbo V2

$_CONFIG['hotel']['email'] = '[email protected]
$_CONFIG['hotel']['in_maint'] = false; //false for no maintenance mode & true for maintenance mode

$_CONFIG['hotel']['motto'] = 'I <3 Babbo _CONFIG['hotel']['name']; //Starting motto for new users

$_CONFIG['hotel']['credits'] = 100000000

$_CONFIG['hotel']['pixels'] = 10000000

$_CONFIG['hotel']['figure'] = '-'; //Default figure users will register with.

$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/527'; //Web_Build

$_CONFIG['hotel']['external_vars'] = ' //External Vars [Don't edit]

$_CONFIG['hotel']['external_texts'] = ' //External Flash Texts [Don't edit]

$_CONFIG['hotel']['product_data'] = ' //Product Data [Don't edit]

$_CONFIG['hotel']['furni_data'] = ' //Furni Data [Don't edit]

$_CONFIG['hotel']['swf_folder'] = ' //SWF Folder [Don't edit]

/*
*
* 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

?>
U gotta choose Localhost Or not both
 

Jeffrey

Devbest Indian Tech Support
FindRetros Moderator
Feb 5, 2013
1,180
412
YOU GUYS ARENT HELPING
@OP
Replace
$_CONFIG['hotel']['desc'] = Welcome to Babbo V2
with
$_CONFIG['hotel']['desc'] = 'Welcome to Babbo V2';
 

Hindi

System.out.println(" ");
Dec 30, 2012
989
192
To Setup a retro? u dont even know how to make 1..

I Was Testing u to rank u on my retro dickhead.
@Ramsay owns his own retro you faggot
Is it why you wanted me to fix your catalogue?
YOU GUYS ARENT HELPING
@OP
Replace
$_CONFIG['hotel']['desc'] = Welcome to Babbo V2
with
$_CONFIG['hotel']['desc'] = 'Welcome to Babbo V2';
<?php
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
date_default_timezone_set('America/Chicago');

#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 - Localhost, Hamachi IP, VPS or Dedi's IP

$_CONFIG['mysql']['username'] = 'root'; //Phpmyadmin username

$_CONFIG['mysql']['password'] = 'Babbo'; //Phpmyadmin password

$_CONFIG['mysql']['database'] = '----'; //Phpmyadmin database name

$_CONFIG['mysql']['port'] = '3306'; //MySQL's port

/*
*
* Hotel management - All URLs do not end with an "/"
*
*/

$_CONFIG['hotel']['server_ip'] = ''; //Localhost, Hamachi IP, VPS or Dedi's IP

$_CONFIG['hotel']['url'] = ' //URL to your hotel, does not end with a "/"

$_CONFIG['hotel']['name'] = 'Babbo'; // Your Hotel's Name

$_CONFIG['hotel']['desc'] = Welcome to Babbo V2

$_CONFIG['hotel']['email'] = '[email protected]
$_CONFIG['hotel']['in_maint'] = false; //false for no maintenance mode & true for maintenance mode

$_CONFIG['hotel']['motto'] = 'I <3 Babbo _CONFIG['hotel']['name']; //Starting motto for new users

$_CONFIG['hotel']['credits'] = 100000000

$_CONFIG['hotel']['pixels'] = 10000000

$_CONFIG['hotel']['figure'] = '-'; //Default figure users will register with.

$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/527'; //Web_Build

$_CONFIG['hotel']['external_vars'] = ' //External Vars [Don't edit]

$_CONFIG['hotel']['external_texts'] = ' //External Flash Texts [Don't edit]

$_CONFIG['hotel']['product_data'] = ' //Product Data [Don't edit]

$_CONFIG['hotel']['furni_data'] = ' //Furni Data [Don't edit]

$_CONFIG['hotel']['swf_folder'] = ' //SWF Folder [Don't edit]

/*
*
* 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

?>

PHP:
<?php
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
date_default_timezone_set('America/Chicago');

#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 - Localhost, Hamachi IP, VPS or Dedi's IP

$_CONFIG['mysql']['username'] = 'root'; //Phpmyadmin username

$_CONFIG['mysql']['password'] = 'Babbo'; //Phpmyadmin password

$_CONFIG['mysql']['database'] = '----'; //Phpmyadmin database name

$_CONFIG['mysql']['port'] = '3306'; //MySQL's port

/*
*
* Hotel management - All URLs do not end with an "/"
*
*/

$_CONFIG['hotel']['server_ip'] = ''; //Localhost, Hamachi IP, VPS or Dedi's IP

$_CONFIG['hotel']['url'] = 'http://babbov2.zapto.org'; //URL to your hotel, does not end with a "/"

$_CONFIG['hotel']['name'] = 'Babbo'; // Your Hotel's Name

$_CONFIG['hotel']['desc'] = 'Welcome to Babbo V2';

$_CONFIG['hotel']['email'] = '[email protected]';
$_CONFIG['hotel']['in_maint'] = false; //false for no maintenance mode & true for maintenance mode

$_CONFIG['hotel']['motto'] = 'I <3 Babbo _CONFIG['hotel']['name']; //Starting motto for new users

$_CONFIG['hotel']['credits'] = 100000000

$_CONFIG['hotel']['pixels'] = 10000000

$_CONFIG['hotel']['figure'] = '-'; //Default figure users will register with.

$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/527'; //Web_Build

$_CONFIG['hotel']['external_vars'] = 'http://localhost/r63/external_variables.txt'; //External Vars [Don't edit]

$_CONFIG['hotel']['external_texts'] = 'http://localhost/r63/external_flash_texts'; //External Flash Texts [Don't edit]

$_CONFIG['hotel']['product_data'] = 'http://localhost/r63/productdata.txt'; //Product Data [Don't edit]

$_CONFIG['hotel']['furni_data'] = 'http://localhost/r63/furnidata.txt'; //Furni Data [Don't edit]

$_CONFIG['hotel']['swf_folder'] = 'http://localhost/r63/swf'; //SWF Folder [Don't edit]

/*
*
* 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

?>

Fixed it. here you go. :) Replace it in the config.php
 

lepos

thinking about you. yes you
Dec 11, 2011
2,022
685
There is no teamviewer allowed, read the rules.


Also, this is a help thread not a discussion thread, take it elsewhere @Ramsay & @Each
Thread cleaned.
 

Jxck

got that old thing back
Apr 5, 2014
135
34
Do your editing in sections, then if you come across an error its easier to undo and identify. It'll save you a lot of trouble.

Eg. Make an edit then immediately check to see its operating fine. Then continue.
 

Users who are viewing this thread

Top