• 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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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?

    Thread Starter schvenk

    (@schvenk)

    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.

    Thread Starter schvenk

    (@schvenk)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘XSLT / JS error loading TinyMCE’ is closed to new replies.