WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] 2.8 upgrade killed visual editor (72 posts)

  1. Jay Greathouse
    Member
    Posted 4 years ago #

    upgraded to 2.8, now the visual editor is not visible; the tool bar may briefly appear for less than a second then it's gone and everything is in HTML

    same on 2 blogs, same host: Bluehost

    I'm on a Mac, OSX 10.5.6
    same on 3 browsers:
    Firefox 3.0.11
    Opera 9.62
    Safari 3.2.1 (5525.27.1)

    dumped cookies, personal history, flushed cache

    tried everything suggested in similar thread here, now 'resolved' because OP resolved even though many others on thread not resolved, so I started another thread because it is not resolved with this OP

  2. grapelog
    Member
    Posted 4 years ago #

    I upgraded to 2.8 last night and encountered the same problem with the visual editor being unavailable. After trying all the ideas listed here with no success, I thought I'd try to check the box in my user profile to 'disable the visual editor when writing'. I did that, loaded the editor to confirm that it was in html mode. Then I went back into my profile and unchecked the box and tried again and the visual editor is now working in IE8 and Firefox 3.0.11.

    Don
    grapelog.com

  3. Andrew Ozz
    WordPress Dev
    Posted 4 years ago #

    If you add

    define( 'CONCATENATE_SCRIPTS', false );

    to wp-config.php does it work properly? (This can be added somewhere near the top or the middle but not at the bottom there). Also could you post a link to your site?

  4. poer
    Member
    Posted 4 years ago #

    did you already try to re-upload folder wp-includes?

  5. Jay Greathouse
    Member
    Posted 4 years ago #

    I tried unchecking "disabling the visual editor when writing" then rechecking - still not fixed. I tried automatic re-installing - still not fixed, that should have re-uploaded the wp-includes.

    adding "define( 'CONCATENATE_SCRIPTS', false ); " seems to work.

    Thank you very much azaozz!

    the site are:
    http://rawmaterialsecon.com/
    http://test.willienelsonpri.com/

    Is this a fix or a test?

  6. opsidao
    Member
    Posted 4 years ago #

    I got the same problem here, the visual editor just went away after upgrading from 2.7.1 to 2.8 (thankfully this is not a production or even public site).
    I've done some reseach with firebug and the problem seems to be related with the version that is requested from wp-includes/js/tinymce/wp-tinymce.php , in my case, looking at the network traffic I see this request:

    wp-includes/js/tinymce/wp-tinymce.php?c=1&ver=3241-1141

    which is returning nothing, but if I change that to be

    wp-includes/js/tinymce/wp-tinymce.php?c=2&ver=3241-1141

    then it returns the needed javascript for tinymce.

    I looked at the source for wp-admin/post-new.php and it's using the wp_enqueue_script function to load the 'editor' scripts.

    Digging a bit, that function is defined on wp-includes/functions.wp-scripts.php....

    And there's where I'm right now, I'll let you know as soon as I know more.

  7. opsidao
    Member
    Posted 4 years ago #

    Now, it seems related to compression. In file wp-admin/includes/post.php there's a line like this:

    $zip = $compress_scripts ? 1 : 0;

    Don't ask me why, but if you change that line to look like this (Wich is a dirty way to disable script compression):

    $zip = $compress_scripts ? 0 : 1;

    then the visual editor starts working again ;)

    But remember that:

    • this will only fix the problem if you see in your firebug that the request to wp-tinymce.php has "c=1" in it
    • this is a dirty piece of shit, it is not a definitive solution, just a temporary workaround
  8. arthurstechnotalk
    Member
    Posted 4 years ago #

    I also had issues with the visual editor, though for me it was the 'Use Google Libraries' plugin. It reports the actual version of WP, which is most likely the cause of the problems. They probably weren't ready for 2.8 and didn't have the libraries out or something.

    I don't know if that will fix it for everyone, but I recommend you try to disable that if you have it installed.

  9. Jay Greathouse
    Member
    Posted 4 years ago #

    I do not use the 'Use Google Libraries' plugin but I do use other Google plugins:
    FeedBurner FeedSmith
    Google XML Sitemaps

    do they use Google Libraries?

  10. johnmc
    Member
    Posted 4 years ago #

    define( 'CONCATENATE_SCRIPTS', false );

    Worked for me too.

  11. Andrew Ozz
    WordPress Dev
    Posted 4 years ago #

    @Jay Greathouse it's both a test and a fix. Not sure why the first site fails, but the second seems to be missing files, in particular wp-includes/js/tinymce/wp-tinymce.js.gz.

    @opsidao adding $zip = 0; there will do the same and load the uncompressed file. Before changing it maybe make sure wp-tinymce.js.gz exists on your site too.

  12. Jay Greathouse
    Member
    Posted 4 years ago #

    @azaozz first site missing:
    tiny_mce_config.php
    tiny_mce_ext.js
    tiny_mce_gzip.php

    thank you so much, how do you know what I'm missing?

    perhaps more importantly, where is a list of files I should have so I can check all this out my self?

  13. Jay Greathouse
    Member
    Posted 4 years ago #

    I upgraded a third blog to 2.8, same problem, then looked in wp-includes/js/tinymce and discovered missing files, added missing files and problem went away

    so, can I assume no need to add: define( 'CONCATENATE_SCRIPTS', false );
    if all the files are there?

    and, even assuming that I now have all the files, I only compared between 3 installations and added files that were missing relative to other installations, but have no way to know if a file is actually missing in all three installations.

    I'm really trying to get this worked out before I upgrade my main, very important, blog

    Does a list of files for a complete installation actually exist anyplace?

  14. johnkgibson
    Member
    Posted 4 years ago #

    I add:

    define( 'CONCATENATE_SCRIPTS', false );

    and I get an error:

    Warning: Cannot modify header information - headers already sent by (output started at /home/jgibson/public_html/blog/wp-config.php:47) in /home/jgibson/public_html/blog/wp-includes/pluggable.php on line 865

    So far my visual editor isn't working...

  15. Jay Greathouse
    Member
    Posted 4 years ago #

    downloaded 2.8 zip file directly from http://wordpress.org/download/ and checked tinymce directory and it is 'missing' files that I've now added to my blogs:
    tiny_mce_config.php
    tiny_mce_ext.js
    tiny_mce_gzip.php
    wordpress.css

    so what am I to think about this?

    can anyone else confirm that the official WP download is missing files?

  16. Wrayh
    Member
    Posted 4 years ago #

    Yep I just downloaded 2.8 those files (tiny_mce_config.php
    tiny_mce_ext.js tiny_mce_gzip.php wordpress.css} are missing. S

    So where do you get them from?

  17. Jay Greathouse
    Member
    Posted 4 years ago #

    I got those files by using the WAU (WordPress Automatic Upgrade) plug in.

    define( 'CONCATENATE_SCRIPTS', false ); would make WordPress admin run slower, so after I made sure all the files were in place I commented it out and everything still works.

    here is the list of files & directories I now have in tinymce/
    blank.htm
    langs (directory)
    license.txt
    plugins (directory)
    themes (directory)
    tiny_mce_config.php
    tiny_mce_ext.js
    tiny_mce_gzip.php
    tiny_mce_popup.js
    tiny_mce.js
    utils (directory)
    wordpress.css
    wp-mce-help.php
    wp-tinymce.js
    wp-tinymce.js.gz
    wp-tinymce.php

    total count = 16 files & directories

  18. andreaordodi
    Member
    Posted 4 years ago #

    Mine are gone too. My question exactly. Where to get them?

  19. andreaordodi
    Member
    Posted 4 years ago #

    I used automatic plugin in the beginning and immediately notice things not working. Still can't use the PAGE SETTINGS button, nothing happens. Also, on the widgets page, nothing happens. I've done everything suggested except to add the missing files but if they aren't in the unzipped file then where?

  20. WineWonkette
    Member
    Posted 4 years ago #

    Me too. Irritating me to no end.

  21. Andrew Ozz
    WordPress Dev
    Posted 4 years ago #

    @Jay Greathouse the following files are from 2.6 (not used in 2.7/2.8):

    tiny_mce_config.php
    tiny_mce_ext.js
    tiny_mce_gzip.php
    wordpress.css

    New files in 2.8 are:

    wp-tinymce.js
    wp-tinymce.js.gz
    wp-tinymce.php

    where wp-tinymce.js is the concatenated editor plus all default plugins (255KB), wp-tinymce.js.gz is the same file precompressed (77KB) and wp-tinymce.php adds the proper headers and outputs the precompressed file when the browser supports compression (nearly all do).

  22. geezerd
    Member
    Posted 4 years ago #

    So if the visual editor is working fine after 2.8 install, all is good, right?
    No need for everyone to do this, just folks who for some reason got a messed up install somehow?

  23. Andrew Ozz
    WordPress Dev
    Posted 4 years ago #

    @geezerd of course. It seems sometimes files are missing/not being copied when upgrading.

  24. Jay Greathouse
    Member
    Posted 4 years ago #

    @azaoaa thanks for checking in and contributing more info

    since all my install were 2.7.1 it would seem that WAU did not clean out the old files since I still had 2.6 files

    which returns me to my recurring question:

    where is the list of all files proper to 2.8?

  25. themd
    Member
    Posted 4 years ago #

    define( 'CONCATENATE_SCRIPTS', false );

    it fixed the problem for me

  26. tluskie
    Member
    Posted 4 years ago #

    I had this happen too. Updating Viper Quicktags plugin and NextGen gallery plugin fixed it.

    I always check to make sure my plugins are updated when goofy stuff like this happens. 9 times out of 10 that's what caused it.

  27. tmdblya
    Member
    Posted 4 years ago #

    adding this to wp-config.php worked for me, as well:

    define( 'CONCATENATE_SCRIPTS', false );

    But I shouldn't have had to do that. This is a huge bug and obviously many are seeing it. Can't believe 2.8 was released like this.

  28. edelen
    Member
    Posted 4 years ago #

    I had the same problem, however...

    Everything looks fine on my Mac running Firefox 3.0.11 and on my PC running IE 8. The problem, in my case at least, is isolated to Firefox 3.0.11 on my PC. There are some differences between the add-ons I'm running on my PC vs. my Mac, so I suspect one of them is causing the problem. Sure enough, when running Firefox in safe mode on the PC, everything works.

    I haven't identified the Firefox add-on that's the culprit (and it's late at night, so it will have to wait), but it certainly looks like one of them may be the culprit for at least some users experiencing this problem.

  29. russer2009
    Member
    Posted 4 years ago #

    Hello All.

    After upgrading to wordpress 2.8 suddenly i can not control anything in the wordpress admin , When i go to the vidget menu and try to remove a vidget or move it it is impossible , It is in all browsers for me i getting following erro message from intenet explore 8

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)
    Timestamp: Mon, 15 Jun 2009 06:51:49 UTC

    Message: Exception thrown and not caught
    Line: 19
    Char: 2424
    Code: 0
    /wp-admin/load-scripts.php?c=1&load=jquery,utils,quicktags&ver=b64ae9a301a545332f1fcd4c6c5351b4

    Do anybody now how to fix this ???

    All the best

    Russer

  30. Daniel Howard
    Member
    Posted 4 years ago #

    This is stupid what wordpress have done here...

    I have read the replies, and still have not sorted this TIME WASTED task out lol,

    I've tryed to edit the wp-config.php but it is'nt even included in the 2.8 version

    Can someone help me with personaly, and I will return a favour.

    Regards

    Danny

Topic Closed

This topic has been closed to new replies.

About this Topic