• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Simple Xampp error

ziggy46802

Active Member
Joined
Aug 19, 2012
Messages
418
Reaction score
27
I'm getting this error

Parse error: syntax error, unexpected '=' in C:\xampp\htdocs\config.inc.php on line 165

Here is the script


config.inc.php
Code:
# Town names



$cfg['temple'][1]['name'] = 'Granitewood';
$cfg['temple'][2]['name'] = 'Willowline';

# Now set which town(s) you want to use in character making
$cfg['temple'][1]['x'] = 1086;
$cfg['temple'][1]['y'] = 1063;
$cfg['temple'][1]['z'] = 8;
$cfg['temple'][1]['enabled'] = true;

$cfg['temple'][2]['x'] = 1361;
$cfg['temple'][2]['y'] = 947;
$cfg['temple'][2]['z'] = 6;
$cfg['temple'][2]['enabled'] = false;

##################################################
#                 Vocation Config                #
##################################################


line 165 is

Code:
$cfg['temple'][1]['name'] = 'Granitewood';
 
still getting the same exact error

- - - Updated - - -

MY BAD I put 2 dashes at the end of the time zone line and that is what messed it all up
 
Back
Top