---- Parse error: syntax error, unexpected T STRING
lucy24 - 9:06 pm on May 6, 2013 (gmt 0)
Are you using an editor which color codes the script for you?
fwiw, mine flags line 513, consisting in full of $perms='; (one single quote) That is: $perms is in a different color from the normal variable-name color-- and then the entire remainder of the code goes into the color meant for strings, except for the bits that really are strings. It fixes itself when it gets to the later line Recoded By X'1n73ct --apparently quotation marks trump "comment" markup.
Ordinarily I would not venture to address a php question for fear it would get me unceremoniously booted from the Forums. But this happens to be an error message I recognize because I got it myself within the last day or two. It was T_something-else, but the underlying mistake was the same: $variable-name = 'blahblah'; and then the line ends before you've delivered all of the "= 'blahblah';" component. In my case I'd accidentally deleted half of a line.