Maten
New Member
- Joined
- Mar 16, 2009
- Messages
- 219
- Reaction score
- 2
Hey! I just got this error on my website:
Parse error: syntax error, unexpected T_STRING in H:\xampp\htdocs\config.php on line 9
Anyone know what it means?
config.php
Parse error: syntax error, unexpected T_STRING in H:\xampp\htdocs\config.php on line 9
Anyone know what it means?
config.php
PHP:
<?php
/*These configs are neccessary in order to make Modern AAC work.*/
/*URL of website including http:// and without slash at the end! */
$config['website'] = $config['website'] = 'http://'.$_SERVER['HTTP_HOST'] . '/'.trim(dirname($_SERVER['SCRIPT_NAME']), '/.\');
/*Database information*/
$config['database']['host'] = "127.0.0.1";
$config['database']['login'] = "root";
$config['database']['password'] = "***";
$config['database']['database'] = "****";
/*Name of server*/
$config['server_name'] = "Drunken";
/*End of most important configs*/
/*List of cities, declare by using city ID and name eg. 2=>"Eternia City" etc.*/
$config['cities'] = array(1=>'Main City', 2=>'Second City');
/*List of vocation available to choose when creating new character*/
$config['vocations'] = array(1=>"Sorcerer", 2=>"Druid", 3=>"Paladin", 4=>"Knight");
/*List of vocation that exists on server*/
$config['server_vocations'] = array(0=>"None", 1=>"Sorcerer", 2=>"Druid", 3=>"Paladin", 4=>"Knight", 5=>"Master Sorcerer", 6=>"Elder Druid", 7=>"Royal Paladin", 8=>"Elite Knight");
/*List of promotions, the key is vocation without promotion*/
$config['promotions'] = array(1=>"Master Sorcerer", 2=>"Elder Druid", 3=>"Royal Paladin", 4=>"Elite Knight");
/*Resitricted names*/
$config['restricted_names'] = array("god", "gamemaster", "admin", "account manager");
/*Names with any of this value cannot be created*/
$config['invalidNameTags'] = array("god", "gm", "cm", "gamemaster", "hoster", "admin");
/*ID and names of worlds*/
$config['worlds'][0] = "Test";
// Enable multiworld by uncommenting this
//$config['worlds'][1] = "Second World";
/* Addresses of each server */
$config['servers'][0] = array('address'=>'127.0.0.1', 'port'=>7171, 'vapusid'=>'<br />
<b>Notice</b>: Undefined variable: vapusID in <b>C:xampphtdocsinstallindex.php</b> on line <b>143</b><br />
');
// Enable multiworld by uncommenting this
//$config['servers'][1] = array('address'=>'127.0.0.1', 'port'=>7173, 'vapusid' => 'XXX');
/*Groups that exists on server*/
$config['groups'] = array(0=>"Player", 1=>"Player", 2=>"Tutor", 3=>"Senior Tutor", 4=>"Gamemaster", 5=>"Community Manager", 6=>"God");
/*Names of vocations as in database as samples. First key is world id and second vocation id.*/
$config['newchar_vocations'][0][0] = "Rook Sample";
$config['newchar_vocations'][0][1] = "Sorcerer Sample";
$config['newchar_vocations'][0][2] = "Druid Sample";
$config['newchar_vocations'][0][3] = "Paladin Sample";
$config['newchar_vocations'][0][4] = "Knight Sample";
$config['newchar_vocations'][1][0] = "Rook Sample";
$config['newchar_vocations'][1][1] = "Sorcerer Sample";
$config['newchar_vocations'][1][2] = "Druid Sample";
$config['newchar_vocations'][1][3] = "Paladin Sample";
$config['newchar_vocations'][1][4] = "Knight Sample";
/*Don't show chaarcters with group id higher than*/
$config['players_group_id_block'] = 3;
/*Min. level to create guild*/
$config['levelToCreateGuild'] = 50;
/*Limit of latest deaths*/
$config['latestdeathlimit'] = 20;
/*Limit news per page*/
$config['newsLimit'] = 10;
/*Limit comments per page*/
$config['commentLimit'] = 10;
/*Template that should be used on website*/
$config['layout'] = "worgen";
/*Title of a website*/
$config['title'] = "Modern AAC - Powered by IDE Engine.";
/*Premdays given when creating new account.*/
$config['premDays'] = 30;
/*Positions to start when creating character*/
$startPos['x'] = 1000;
$startPos['y'] = 1000;
$startPos['z'] = 7;
/*Trigger password for scaffolding system.*/
$config['scaffolding_trigger'] = "password";
/*Minimum page access for admin priviliges*/
$config['adminAccess'] = 5;
/*Max threads per page*/
$config['threadsLimit'] = 10;
/*Max posts per page in a thread*/
$config['postsLimit'] = 10;
/*Time between posts*/
$config['timeBetweenPosts'] = 30;
/*Limit of submissions per page in bug tracker*/
$config['bugtrackerPageLimit'] = 10;
/*Limit of houses on listing page*/
$config['housesLimit'] = 10;
/*Level to buy house*/
$config['houseLevel'] = 50;
/*Lenght of housing auction in seconds*/
$config['houseAuctionTime'] = 604800;
/*Default timezone*/
$config['timezone'] = "Europe/London";
/*Allowed IPs to use command prompt in admin panel*/
$config['allowedToUseCMD'] = array("127.0.0.1", "localhost");
/* Path to your UI theme */
$config['UItheme'] = "smoothness/jquery-ui-1.7.2.custom.css";
/*Destination to guilds logos folder, must be writable.*/
$config['uploads'] = "/public/guild_logos/";
/* Status timeout (recheck if server is online) */
$config['statusTimeout'] = 1 + (5 * 60); // Default to 5min
/* Wrap words longer than */
$config['wrap_words'] = 80;
/*Limit comments per page in videos view*/
$config['videoCommentsLimit'] = 10;
/*Limit of videos to show while searching*/
$config['videoSearchLimit'] = 10;
/*Maximum amount of characters per account*/
$config['maxCharacters'] = 10;
/*Limit of inbox/outbox messages per page*/
$config['messagesLimit'] = 10;
/*Amount of names to be saved when looking for characters*/
$config['characterSearchLimit'] = 10;
/*Switch on Admin Window*/
$config['adminWindow'] = true;
/*Integrate facebook to AAC? (TRUE/FALSE)*/
$config['facebook'] = true;
/*Max amount of saved actions*/
$config['actionsCount'] = 15;
/*Player per page in hishscore */
$config['highscore']['per_page'] = 20;
/*Total players to show in highscores*/
$config['highscore']['total'] = 300;
/* Guild board creation */
$config['guildboardTitle'] = "Guildboard for %NAME%";
$config['guildboardDescription'] = "This is the guildboard for the great %NAME% guild!";
/* VAPus Settings */
$config['VAPusGraphStep'] = 1; // step * update time = time steps on graph, etc 6 with an update time of 10min = one hour
//Enable delay between creating characters
$config['characterDelay'] = true;
//Time between creating characters in seconds
$config['characterDelayTime'] = 240;
//Enable delay between creating accounts
$config['accountDelay'] = true;
//Time between creating accounts in seconds
$config['accountDelayTime'] = 240;
//Account restrictions
$config['restrictedAccounts'] = array('1');
############EVENTS############
# Event fired just after main framework to gain access to all features
$config['onLoad'] = array();
# Event fired after all finished loading no headers should be sent
$config['onReady'] = array();
#############################
/*
######################################################################################################################
* Do not touch any of the configs below if you are not 100% sure what you are doing!
* These are config to the engine, usually the default ones works well so no change needed for unexperienced users.
######################################################################################################################
*/
// Tiny hack to figure if we use Windows or not.
if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') @define('USING_WINDOWS', 1);
else @define('USING_WINDOWS', 0);
if(USING_WINDOWS) $config['engine']['PHPversion'] = "5.3.0";
else $config['engine']['PHPversion'] = "5.3.0";
$config['engine']['indexPage'] = "index.php";
$config['engine']['uri_protocol'] = "AUTO";
$config['engine']['charSET'] = "UTF-8";
$config['engine']['enable_hooks'] = FALSE;
$config['engine']['permitted_uri_chars'] = "a-z 0-9~%.:_-'+";
$config['engine']['enable_query_strings'] = FALSE;
$config['engine']['global_xss_filtering'] = TRUE;
$config['engine']['compress_output'] = FALSE;
$config['engine']['proxy_ip'] = "";
$config['engine']['autoload_libraries'] = array();
$config['engine']['autoload_helper'] = array();
$config['engine']['autoload_plugin'] = array();
$config['engine']['autoload_config'] = array();
$config['engine']['autoload_model'] = array();
$config['engine']['default_controller'] = "home";
$config['engine']['platforms'] = array('windows nt 6.0' => 'Windows Longhorn', 'windows nt 5.2' => 'Windows 2003', 'windows nt 5.0' => 'Windows 2000', 'windows nt 5.1' => 'Windows XP', 'windows nt 4.0' => 'Windows NT 4.0', 'winnt4.0' => 'Windows NT 4.0', 'winnt 4.0' => 'Windows NT', 'winnt' => 'Windows NT', 'windows 98' => 'Windows 98', 'win98' => 'Windows 98', 'windows 95' => 'Windows 95', 'win95' => 'Windows 95', 'windows' => 'Unknown Windows OS', 'os x' => 'Mac OS X', 'ppc mac' => 'Power PC Mac', 'freebsd' => 'FreeBSD', 'ppc' => 'Macintosh', 'linux' => 'Linux', 'debian' => 'Debian', 'sunos' => 'Sun Solaris', 'beos' => 'BeOS', 'apachebench' => 'ApacheBench', 'aix' => 'AIX', 'irix' => 'Irix', 'osf' => 'DEC OSF', 'hp-ux' => 'HP-UX', 'netbsd' => 'NetBSD', 'bsdi' => 'BSDi', 'openbsd' => 'OpenBSD', 'gnu' => 'GNU/Linux', 'unix' => 'Unknown Unix OS' );
$config['engine']['mobiles'] = array('mobileexplorer' => 'Mobile Explorer', 'palmsource' => 'Palm', 'palmscape' => 'Palmscape', 'motorola' => "Motorola", 'nokia' => "Nokia", 'palm' => "Palm", 'iphone' => "Apple iPhone", 'ipod' => "Apple iPod Touch", 'sony' => "Sony Ericsson", 'ericsson' => "Sony Ericsson", 'blackberry' => "BlackBerry", 'cocoon' => "O2 Cocoon", 'blazer' => "Treo", 'lg' => "LG", 'amoi' => "Amoi", 'xda' => "XDA", 'mda' => "MDA", 'vario' => "Vario", 'htc' => "HTC", 'samsung' => "Samsung", 'sharp' => "Sharp", 'sie-' => "Siemens", 'alcatel' => "Alcatel", 'benq' => "BenQ", 'ipaq' => "HP iPaq", 'mot-' => "Motorola", 'playstation portable' => "PlayStation Portable", 'hiptop' => "Danger Hiptop", 'nec-' => "NEC", 'panasonic' => "Panasonic", 'philips' => "Philips", 'sagem' => "Sagem", 'sanyo' => "Sanyo", 'spv' => "SPV", 'zte' => "ZTE", 'sendo' => "Sendo", 'symbian' => "Symbian", 'SymbianOS' => "SymbianOS", 'elaine' => "Palm", 'palm' => "Palm", 'series60' => "Symbian S60", 'windows ce' => "Windows CE", 'obigo' => "Obigo", 'netfront' => "Netfront Brow