Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

share|improve this question
    
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
add comment

1 Answer

up vote 2 down vote accepted

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

define( 'CONCATENATE_SCRIPTS', false );
share|improve this answer
    
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
1  
It would be interesting to know why the script concatenation fails from one day to the next. –  JCL1178 Aug 10 '12 at 23:51
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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