Did a fresh install of TinyTinyMCE 6.x-1.10 and the latest TinyMCE 3.2.0.2 on Drupal 6.6 and the editor icons aren't showing up. Didn't have a previous install and there is no reset button in the TinyTinyMCE admin area.

Comments

prodosh’s picture

A little more information:
- The icons are "there" but not visible. Clicking where the icons are supposed to be causes the "right things" to happen
- I am using the Acquia Marina theme

crac’s picture

Hi

I have had the same problem, but then I realized not all files had been correctly uploaded to the server (some were empty). So I reuploaded all the tinymce js files and voila, all the icons were back.. perhaps this helps you too..

Regards, Luca

prodosh’s picture

Could you give an example of what kind of files were missing? I downloaded the original TinyMCE 3.2.1 package from the moxiecode.com website and re-installed it on the server.

crac’s picture

e.g. tiny_mce.js (tinymce/jscripts/tiny_mce) was only uploaded partially. I don't know how that could happen, but afterwards I uninstalled filezilla and now I am using winscp..

untrammelled’s picture

Well spotted Luca! I've been having this problem intermittently both in Drupal 5 and Drupal 6. Many of the .htm files also appear to be only partially uploaded.

I am using gFTP in Debian Etch (stable) and Lenny (testing). The problem occurs with both. I can identify the incomplete files from their reported file size. If I delete an individual file and re-ftp it, it always ends up the same (incorrect) file size. If I do not first delete the file, gFTP gives me the option to "resume". This option results in a larger, but often still incomplete, file. After several resumes, the file is completely transferred. It's very tedious to manually identify and repeatedly resume and check affected files.

On the other hand, Kasablanca ftps the whole lot correctly first go. Try a different ftp client.

Regards,
Chris.

untrammelled’s picture

Title: Editor icons not showing » TinyMCE editor button icons not showing

I have spent a little more time on this issue and I have a solution to the problem - ftp the Moxicode tinymce files in binary mode and view the page directly, not via the browser cache.

The difference in file length of the FTPed .htm and .js files simply reflects the removal of the linefeed character when the files are converted from Microsoft DOS format (CR + LF) to Unix format (CR). This seems to happen automatically in my ftp client (gFTP). The change in file length does not of itself seem to cause the problem.

The problem seems to arise when the files are FTPed in ascii mode. If I make sure to select the binary mode option in gFTP before uploading the files, the editor icons appear correctly. The Kasablanca ftp client automatically chooses binary mode for .htm and .js files on a file by file basis. This is why Kasablanca worked correctly on the first go.

If the editor icons are still not visible after re-FTPing in binary mode, be sure to check that you are not viewing a cached version of the page. The old version of the page with the button icons missing remains in your browser cache. Either clear the cache before reloading the page or, in Firefox, bypass the cache by holding down SHIFT key while you click on the "Reload current page" icon.

Does this solve the problem for anyone else?

Regards,
Chris

Steve Lockwood’s picture

Thanks for all the contributions on this one. The conclusion seems to be that the problem arises during download of TinyMCE (must ftp in binary mode not ascii mode).

I will make a note in the project documentation for others to see and will change the issue status to "fixed". But if anyone thinks it is still unresolved then please reopen the issue.

Steve

Steve Lockwood’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

ausvalue’s picture

Could you please specify if this problem is occuring when DOWNLOADING from the Moxiecode site to your Microsoft Windows PC or when UPLOADING from your Microsoft Windows PC to the Drupal Installation.

My interpretation of the problem is that you encountered it when Uploading using an ftp client to the Drupal Installation. It didn't make sense for it to be a problem Downloading from Moxiecode as you normally download a zip file from Moxiecode and changes of this type should not occur within the zip.

I ask this because I notice that the tinytinymce project has documented the problem, both on the project page and in the README.txt file, as being a problem enountered Downloading from the Moxiecode site.

Ken
Ausvalue
http://Ausvalue.com

Check out the Draft Tiny MCE User Guide . Still looking for comments and for someone with better writing skills to take it over.

crac’s picture

You are right, the problem occured uploading the files to the drupal installation, and not fetching them from moxiecode..

trevorfoulk’s picture

i don't know what i'm doing wrong - i'm not getting an errors, but the wysiwig editor just isn't showing up. i've created a profile, given the permission to a role, am logging in with a user in that role. nothing.

trevorfoulk’s picture

scratch that - there it is. re-uploaded all the files, now it works. go figure....