After switching hosting server, the tinyMCE in the post editing screen does not fire up. Here is the message of the console.

chrome console printout As you can see, wp-tinymce.php seems to fail.

So far, I've tried :

  • chmoding 777 (just to be sure) all the js/tinymce content
  • reuploading the entire wp-include, forcing file replacement changing
  • the header from javascript to json (here are the 3 tries i did):


header('Content-Type: application/x-javascript; charset=UTF-8');


header('Content-Type: application/json; charset=UTF-8');


header('Content-type: application/json');

In Firefox 's firebug extension, the message is "illegal character" and when i open the file from within firebug, instead of seeing the code, all chars are messed up. But in my IDE, the php code looks correct.

Any other idea? Would it be a server misconfiguration?

  • Have you tried a different browser? – Jeremy Jared Dec 15 '11 at 17:54
  • yes, same with firefox. But the firebug console message helps a little bit more. Apparently, it says "illegal characters" and when i open the file in firebug, instead of seeing the code, all chars are messed up. Adding this to the question. – pixeline Dec 15 '11 at 18:45
  • did you tried reinstall wordpress? – Sisir Dec 15 '11 at 19:31

Solved it by adding this to wp-config.php, which kills the js combining.

define( 'CONCATENATE_SCRIPTS', false );
  • I nearly suggested doing just that, but thought to myself "nah that won't help"... note to self: suggest it anyway, you never know.. Thanks for posting to let us know you found a solution.. – t31os Dec 15 '11 at 19:38
  • 2
    It would be interesting to know why the script concatenation fails from one day to the next. – JCL1178 Aug 10 '12 at 23:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.