IMCE breaks down
Marc Hoefman - March 14, 2009 - 08:00
| Project: | IMCE |
| Version: | 6.x-1.2 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
IMCE was running fine with TinyMCE and broke down overnight and I cannot link anything that happened on the site to this error.
IMCE opens well from TinyMCE and I can click on the folder button but the expected buttons do no longer appear: upload, thulbnails, resize and send to TinyMCE buttons are missing. See the attached file to clarify what is meant.
Deinstalling and reinstalling of imce, imce_wysiwyg, wysiwyg, tinymce does not change anything.
Seems that something in the database has changed somewhere and breaks something.
Currently running
- drupal 6.9
- imce 6.x-1.2
- imce_wysiwyg bridge 6.x-1.0
- wysiwyg 6.x-1.1
| Attachment | Size |
|---|---|
| imce_wysiwyg.jpg | 37.93 KB |

#1
Did some further testing and switched to FCKeditor (without the imce_wysiwyg bridge) and exactly the same problem persists.
Conclusion: it has either something to do with IMCE itself or with some broken info in a database
#2
You should write down the steps to reproduce the bug and be sure before marking an issue as critical bug.
Could this be related to your theme?
Do you get any javascript errors on the page?
#3
I am having the same issue. The problem is somewhere in the theme. If I load up the default theme its all good.
It's throwing a java script error.
form.ajaxForm is not a function[Break on this error] form.ajaxForm(imce.uploadSettings());//set ajax
on line 248 of imce.js which is
form.ajaxForm(imce.uploadSettings());//set ajaxUPDATE
We had a second version of query being added in the theme, this is what was causing the error.
...Now I have to figure out why we were loading a second jquery...
#4
ajaxForm is added by jquery form plugin whose path is misc/jquery.form.js
You should be sure that this file exists and loads in the page and also does not conflict with your jquery version.
#5
The problem as I described is not theme related. The problem is also present with the Garland theme.
No Javascript or other errors are flagged.
The error is persistant, so it is not possible to give a specific sequence of steps.
I just
- create a new page or edit an existing page
- the editor opens
- click the image button in the editor
- click the browser button
- the picture appears as attached under #1
For me the error is critical because IMCE is currently not useable at all for me.
#6
I'm experiencing identical behavior to that described by Marc, but only on select sites. I'll post back if I find the culprit.
#7
If you're missing the "send to TinyMCE" button, the culprit may be the "Secure Pages" module.
Secure Pages interferes with IMCE (If the imce window is running as https, then it cannot communicate with the window that TinyMCE is in)
Go here:
/admin/build/securepages
and add this line to the Ignore Pages: box.
*/imce*
Save, and be happy.
#8
We had this same issue recently using the latest version of IMCE. I noticed that in the IMCE popups, javascript files from our custom frontend theme were being loaded, even though we use the RootCandy admin theme on the backend. It seems as though IMCE should only load the current theme's javascript from the .info (RootCandy in this case), but perhaps there is something I am missing
I tracked down the conflicting file to be jQuery Tools, a library we used in our theme.
#9
subscribe for reference about conflict with securepages
#10
From the project page:
Check if any of them apply to your case.