When clicking the 'camera' button to insert an image into the text area, I get a popup with a 404 error, with the following URL:
http://<mydomain>:port/<path_to_drupal>/sites/all/index.php?q=img_assist/load/tinymce

I assume the correct path should be without the /sites/all part.

Bug?

I've set $base_url correctly in //sites/default/settings.php

Comments

dovry’s picture

I found a (temporary) workaround by hardcoding the URL in editor_plugin.js:

                               // get base url
                                var base_url = tinyMCE.baseURL;
                                base_url = base_url.substring(0, base_url.indexOf('modules'));

                                //template['file'] = base_url + 'index.php?q=img_assist/load/tinymce';

                                template['file'] = '/cms/index.php?q=img_assist/load/tinymce';

Looks like img_assist is looking for tinymce in modules/ not in sites/all/modules.

zoo33’s picture

Version: 5.x-1.1 » 5.x-1.x-dev
Status: Active » Closed (duplicate)

Take a look at this issue.