WordPress.org

Ready to get started?Download WordPress

Forums

XSLT / JS error loading TinyMCE (4 posts)

  1. schvenk
    Member
    Posted 7 years ago #

    This has happened to me periodically with WordPress from 2.0 through 2.0.4. Something happens and TinyMCE won't load anymore. It appears to be an XSLT error in tiny_mce_gzip.php, which then results in a JavaScript error. I think that recreating my DB from scratch will fix it for a while (and specifically I think the categories table might be involved, but I'm not sure), but that's obviously a lot of work and the problem returns. Any idea what's going on?

  2. Chris_K
    Member
    Posted 7 years ago #

    I haven't a clue :-)

    But it'd be interesting to know what browser and OS you're using. If Firefox, what extensions?

    You mention an error - do you have happen to have the exact wording?

  3. schvenk
    Member
    Posted 7 years ago #

    I don't actually think this is browser-based, and indeed it happens in IE, Firefox 1.5, and Camino. The JS error seems simply to be a result of the fact that TinyMCE hasn't loaded properly. The root problem is the aforementioned XSLT error in tiny_mce_gzip.php.

    If I load tiny_mce_gzip.php directly in the browser (with the ver=20051211 query string that WordPress passes it) I see the XSLT errors in full. The first is "XML parser error 2: syntax error" and unless I'm greatly mistaken it's being generated on the server by PHP's XSLT parser.

  4. schvenk
    Member
    Posted 7 years ago #

    Whoops, my bad. It was my weird server .htaccess configuration which post-processes PHP with XSLT. Normally it doesn't touch JS files but because this one has a .php extension it was trying to.

Topic Closed

This topic has been closed to new replies.

About this Topic