2

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):

try1:

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

try2:

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

try3:

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?

3
  • Have you tried a different browser? Dec 15, 2011 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, 2011 at 18:45
  • did you tried reinstall wordpress?
    – Sisir
    Dec 15, 2011 at 19:31

1 Answer 1

2

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

define( 'CONCATENATE_SCRIPTS', false );
2
  • 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, 2011 at 19:38
  • 2
    It would be interesting to know why the script concatenation fails from one day to the next.
    – JCL1178
    Aug 10, 2012 at 23:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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