Hello,

I just updated to Drupal 5.7 (a process which went very smoothly), then updated TinyMCE. My Drupal is in /var/www/drupal, on a FreeBSD 6.x machine.

However, updating TinyMCE results in the buttons on the toolbar to make links, insert graphics, and insert tables all result in new windows with the "Page not found" (404) error. My server log shows, for instance:

[30/Jan/2008:16:00:00 -0800] "GET /sites/all/modules/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/link.htm HTTP/1.1" 404

I have verified that the file
/var/www/drupal/sites/all/modules/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/link.htm
is there, and the permissions are 755.

Interestingly enough, when I look at the log to see if the images and other TinyMCE files were served, I can see:

[30/Jan/2008:15:46:46 -0800] "GET /sites/all/modules/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/img/icons.gif HTTP/1.1" 304

...seems ok to me (Not modified server code)?

During the Drupal update I disabled TinyMCE (along with all the other optional modules) per the instructions. I already had a working TinyMCE and a profile all set up.

I downloaded:
tinymce-5.x-1.x-dev.tar.gz

then, from Moxiecode:
tinymce_3_0.zip
tinymce_compressor_php_2_0.zip
tinymce_spellchecker_php_2_0.zip

In /usr/local/src, I did:

tar zxvf tarballs/tinymce-5.x-1.x-dev.tar.gz
cd tinymce
tar zxvf ../tarballs/tinymce_3_0.zip

(this puts the tinymce engine in the tinymce folder, no?)

cd ..
tar zxvf tarballs/tinymce_compressor_php_2_0.zip
tar zxvf tarballs/tinymce_spellchecker_php_2_0.zip

To move the tinymce into Drupal, I did:
cp -r /usr/local/src/tinymce /var/www/drupal/sites/all/modules/

Then, to activate the compressor I did

cp tinymce_compressor_php/tiny_mce_gzip.js /var/www/drupal/sites/all/modules/tinymce/tinymce/jscripts/tiny_mce/
cp tinymce_compressor_php/tiny_mce_gzip.php /var/www/drupal/sites/all/modules/tinymce/tinymce/jscripts/tiny_mce/

Then I enabled the TinyMCE module at Administer -> Site building -> Modules
Then I configured my TinyMCE profile at Administer -> Site configuration -> TinyMCE. The profile is set to use the theme CSS, if that's of any help.

Any ideas? Did I miss re-enabling something? Thank you...

Comments

budojeepr’s picture

OK, I disabled then uninstalled TinyMCE. Then I went in and deleted the entire TinyMCE folder, downloaded new sources, and loaded it back in to "drupal/modules" (not "drupal/sites/all/modules") and tried again. This time, no compressor or spellcheck.

I created a new profile for TinyMCE. The editor shows up quite nicely again, but the links, image, and tables buttons don't work -
again with the 404 error.

Any ideas? Have I missed a configuration step?

Thanks!

budojeepr’s picture

Cross-posted in TinyMCE issues page:

http://drupal.org/node/216759