I've integrated the MCImageManager into TinyMCE so our client can upload images and use them on our drupal pages.

My problem is that when the user tries to upload a new image, the following error appears:

--

You don't have permission to access /modules/tinymce/tinymce/jscripts/tiny_mce/plugins/imagemanager/upload.php on this server.

--

I can't figure this out because upload.php has permissions of 777 and correct ownership. When I enter just http://mysite.com/modules/tinymce/tinymce/jscripts/tiny_mce/plugins/imag... without the get variables, it works perfectly strangely enough. But by default the get variables are added like this when I click the upload button: http://mysite.com/modules/tinymce/tinymce/jscripts/tiny_mce/plugins/imag... which doesn't work.

Any ideas as to what the problem could be?

Comments

VM’s picture

why not use http://drupal.org/project/imce ?
Which is specifically for TinyMCE in Drupal rather then the plugin from MoxieCode which would take some adaptation to the TinyMCE module for Drupal.

smithaa02’s picture

I'll have to check out imce when I have a free chance.

If anybody is curious, the initial problem has been fixed. It turns out a ruleset for mod_security was rejecting URL's with ?path=... Once that was changed, everything worked.