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
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

AttachmentSize
imce_wysiwyg.jpg37.93 KB

#1

Marc Hoefman - March 14, 2009 - 11:12

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

ufku - March 15, 2009 - 20:45
Category:bug report» support request
Priority:critical» normal

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

TheOneTrueDevo - March 20, 2009 - 19:51

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 ajax

UPDATE
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

ufku - March 20, 2009 - 22:06

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

Marc Hoefman - March 22, 2009 - 18:38

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

jhedstrom - April 3, 2009 - 00:54

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

millenniumtree - July 7, 2009 - 01:20

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

mdeltito - November 25, 2009 - 15:05

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

chaloalvarezj - December 4, 2009 - 07:13

subscribe for reference about conflict with securepages

#10

ufku - December 4, 2009 - 09:19

From the project page:

Known issues

  • IMCE may have problem working with Google Analytics and Secure pages modules. Just make sure to add imce* path to the exceptions list of these modules.
  • Simplemenu
  • Artisteer themes

Check if any of them apply to your case.

 
 

Drupal is a registered trademark of Dries Buytaert.