PDA

View Full Version : Parse error at the end of file??


Areku
07-11-2003, 11:38 AM
Parse error: parse error, unexpected $ in /.../newreply.php on line 571

Line 571 just contains ?>

I'm unable to find a broken line or $ hanging alone...

What should I check?

Does any1 know a PHP check tool or something?

Thanks!

Dean C
07-11-2003, 12:01 PM
Those errors are really hard to find. You should always back up a file before you edit and upload the new one :)

- miSt

Areku
07-11-2003, 02:43 PM
It was a board upgrade using Merge method...

Can you point out on what to find?

Thanks.

Gary King
07-11-2003, 03:06 PM
It's most likely that one of your opening braces { does not have an associating closing brace. You should have definitely backed up your file before making changes, because now you have no idea where the hanging open brace is.

Areku
07-11-2003, 04:14 PM
I did back up the file so I restarted the mergue process and now it works.

Thanks!

Dean C
07-11-2003, 04:16 PM
That happens so often when using araxis merge - you get an error, start over again and it magically goes - odd huh ;)

- miSt

Gary King
07-11-2003, 04:26 PM
That's why you should always look over the code before replacing it in Araxis; it's not 100% foolproof you know ;)