I have a live site and a dev site on the same server, exactly the same setup, but for some reason IMCE on the live site has lost it's Add button within IMCE. This happened before with an early version of the IMCE WYSIWYG bridge, but was fixed by a patch in.

I have tried with 5.x-1.0 and 5.x-1.x-dev, refreshed the cache etc, problem still exists.

Comments

jamestombs’s picture

Just looked through some of my debugging tools and getting a Javascript error on line 9 of imce_browse.js

if (imceOpener[window.name +'ImceFinish']) {//custom function for adding

Is where the error is happening.

Firebug reports:

Permission denied for to get property Window.FCKBrowseWindowImceFinish from .
http://www.domain.com/sites/all/modules/imce/imce_browse.js
Line 9

Left the http and https stuff in just incase that is the reason why. I have added sites/all/modules/imce/imce_browse.js to the ignore pages within SecurePages module.

jamestombs’s picture

Status: Active » Fixed
Issue tags: +secure pages

Down to my stupidity. I hadn't added imce/* to the ignore list within SecurePages, although there is very little documentation for this.

Status: Fixed » Closed (fixed)

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

kaporter’s picture

I get this same exact error - have the same problem (no send to FCKEditor button) and I don't use secure pages. Any other ideas?

technikh’s picture

Thanks for the post. imce/* didn't work for me
imce* worked because the url is like "example.com/imce?app=tinymce"