Forum Moderators: coopster

Message Too Old, No Replies

Parse error: syntax error, unexpected T_STRING

         

metalcherry

8:30 pm on Jul 4, 2006 (gmt 0)

10+ Year Member



hi there, i am new to php and i have tried to install a mod to my forum and i have received this error in my constants.php:-
-----------------------------------------------
Parse error: syntax error, unexpected T_STRING in /home/alterna/public_html/forum/includes/constants.php on line 125

125 be aware that digit isnīt already occupied;

----------------------------------------------
am i missing something?

thanksie :)

eelixduppy

8:52 pm on Jul 4, 2006 (gmt 0)



Welcome to WebmasterWorld metalcherry!

Can you post the line that is giving you the trouble. It seems like you may have a problem with parenthesis or something. Posting the line of error will allow us to see it ;)

jatar_k

10:12 pm on Jul 4, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld metalcherry,

125 be aware that digit isnīt already occupied;

if that is the actual line I am guessing it should be commented [php.net]

either block comments like so

/* this would
be commented out
like so */

or it should have single line comments in front

// this is a single line comment

omoutop

5:42 am on Jul 5, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



or line 125 is the end of file, in which case there must be a loop not closing (an if statment, a while statement or something similar), like eelixduppy stated earlier