On 26 Aug 2012, at 03:56, Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx> wrote: > Through the browser I get: > > Parse error: syntax error, unexpected $end > in /var/www/html/siteinquestion/index.php on line 356 > > Through the CLI I get: > > PHP Parse error: syntax error, unexpected $end in index.php on line 356 > > Parse error: syntax error, unexpected $end in index.php on line 356 > > Errors parsing index.php > > I've narrowed it down to the lines that used the breaking in and out of > PHP style. As soon as I comment out those it runs fine, albeit without > the content that code was intended to add. Let me guess, line 356 is the last line of the file? That error is only caused by mis-matched braces, so the code you are deleting *must* contain either an errant opening brace or be missing a closing brace. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php