unexpected T_STRING

Zangetsu

New Member
Messages
491
Reaction score
1
Points
0
i have translated a script from french to English but now i have a few errors, and i need a bit of help dont worry ill reward you, if its fixed


Parse error
: syntax error, unexpected T_STRING in /home/zangetsu/public_html/language/fr/system.mo on line 40


(line40:_) $lang ['sys_spy_fleet'] = "Fleet";
 
Last edited:

natsuki

New Member
Messages
112
Reaction score
0
Points
0
PHP:
$lang ['sys_spy_fleet'] = "Fleet";
there is a space between $lang and ['sys_spy_fleet'], just remove it. if that doesn't solve it then the error comes from before that line
 

Zangetsu

New Member
Messages
491
Reaction score
1
Points
0
i just removed it and now this pops up :s

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/zangetsu/public_html/language/fr/system.mo on line 40

hehe i forgot to add " at the end of the line above ~eh hehe~
 
Last edited:
Top