Parse error: syntax error, unexpected $end in

September 15, 2010 at 02:53:12
Specs: Windows 7
hello i'm using wordpress and my site is down.I deleted all the wordpress file and uploaded it once again but it show error:
Parse error: syntax error, unexpected $end in /www/mysite/htdocs/wp-includes/functions.php on line 721 .
Please help.
thank u.

See More: Parse error: syntax error, unexpected $end in

Report •


#1
September 16, 2010 at 14:09:55
You've *probably* got a mismatching set of { } somewhere, and it could be anywhere above where the parser catches it - in your case, line 721. If you've got a lot of code, comment out large blocks using /* */ until the script executes normally. Working backward, remove small bits of the comment until you find the problem.

If you're working in some sort of php editor, check to see if it has a tool for checking the { } pairs.

HTH

-------------------------------------------
I have no aspiration for preaching. ;-)


Report •
Related Solutions


Ask Question