WordPress.org

Ready to get started?Download WordPress

Forums

Parse Error (3 posts)

  1. Nomad
    Member
    Posted 9 years ago #

    Oh heck. I was just trying to comment out a few HTML tags in the kses.php file, so I didn't back it up, and now I'm getting:
    Parse error: parse error, unexpected ';', expecting ')' in /home/wrongnum/public_html/main/wp-includes/kses.php on line 45
    And I can't figure out how to fix it. I never touched line 45, so I don't know what the deal is there. Plus, I've removed the comments from all the lines that I revised, but still it won't work.
    Any help here is appreciated.

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    The error will be somewhere between lines 17 and 45
    Paste all those lines here: http://paste.uni.cc/
    and then post the url you are given (it will have a number at the end) here.

  3. Nomad
    Member
    Posted 9 years ago #

    Thank you, Podz. Actually, I was able to fix it by using a file I found here:
    http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/wordpress/wordpress/wp-includes/kses.php
    Everything seems to be working fine now. (Still don't know how I broke it, but I'm making safety copies of EVERYTHING from now on...)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.