WordPress 2.7 Upgrade Problem

On my test blog (fortunately), I upgraded to WordPress 2.7. However, a problem occurred: for an unknown reason, the file editor_plugin.js (in wp-includes/js/tinymce/plugins/wpgallery) would not upload to the server. I invoked vsmon.exe and the Visual Studio editor would try to start. If you don’t have Visual Studio, something else may occur. Anyway, I checked the file for extraneous characters and found none…

BUT I found the first characters were carriage return, line feed. I deleted them (i.e. removed the blank line using notepad), saved the file, and now it would upload.

In checking other .js files, they had all the whitespace stripped out. This one was apparently forgotten. I’m not sure why the fix I did worked, but it did. I tried Expression Web 2, Filezilla, and 1and1 ftp. All gave the same problem.

Doug

Bookmark and Share
This entry was posted in WordPress and tagged , , . Bookmark the permalink.

One Response to WordPress 2.7 Upgrade Problem

  1. admin says:

    Noted by Piggie (on the Tech Hideaway group on Yahoo groups) is the CRLF is Windows format and I was trying to upload to a Linux/Unix platform which uses LF as separators. Apparently the CRLF causes grief. So another fix is to edit the editor_plugin.js file and convert it to UNIX format. I use Notepad++ to do tasks like that.

Leave a Reply