when using imce browser with fckeditor module. When I click the image icon on fckeditor, the imce window pops up correctly, however admin_dashboard module tries to attach itself to the imce window and will cause errors. This will prevent pictures from being uploaded, deleted, etc.

An easy fix that I could suggest would be to have admin dashboard not load if the url contains
"http://www.sitename.com/?q=imce&app=FCKEditor"

CommentFileSizeAuthor
#3 _imce_fckeditor.jpg241.18 KBthomasmeadows

Comments

thomasmeadows’s picture

I was able to correct this issue by a personal modification.. in the _init() hook I added encapsulated the entire function with:

if(arg(0) != 'imce'){

And then I did not have any issues after that.

skilip’s picture

hi. Thanks for reporting. Good to hear you solved this. However, it is not very flexible while it'll only fix this for imce. I'd rather think of a solution which solves this not only for icme. Could you describe the error you experienced more precisely? Do you have firebug?

thomasmeadows’s picture

StatusFileSize
new241.18 KB

well, i really do not have an advanced level of programming knowledge. I have never attempted to use firebug. However, you can repeat what happens simply by enabling the following modules

1) fckeditor - http://drupal.org/project/fckeditor
2) imce - http://drupal.org/project/imce
3) this module

after enabling the modules
1) browse to /admin/settings/fckeditor set up a profile, select applicable roles under basic setup
2) under "Editor appearance" go to toolbar drop down and select DrupalFull
3) under file browser settings, change the image browser to imce.
4) You will also have to change the filter settings to full html.

Try to create a new node, click the image symbol, then click the browse server button.
The image below shows what should be seen when you follow all of these steps.
http://drupal.org/files/_imce_fckeditor.jpg

However, with this module unmodified. You will not see the menu at the top of the pop up box that says... Upload | Thumbnails | Delete | Resize | Send to FCKEditor

the real issue I think is that admin dashboard tries to attach itself to the pop-up in the picture. However, It is already loaded in the background if you look on the top-right side of the picture in the background you can see it.

hpkohsamui’s picture

I had a very annoying similar problem with the Image Browser (6.x-1.0-beta1) / FCKeditor - WYSIWYG HTML editor (6.x-1.3) / Wysiwyg API (6.x-2.x-dev (2009-Mar-22)) module combination for a long time now. And no solution in sight.

Thanks to meadtj's observation I finally got the hint to solve my problems. Once I disable the administration dashboard it works fine. With the administration-dashboard on, trying to insert an image in Fckeditor, by choosing the "Browse Server"-Button within the "Image Properties"-popup, opens a new Image Browser Window, but no pictures will be loaded.
Therefore no pictures can be loaded.

I will send an issue to the maintainer of the imagebrowser module starnox. I had asked him for support but he didn't know
of this incompatibility.

Is there already a fix in sight since the 20th Feb. when the problem was tracked down the first time? Or will there be soon a fix available?

bartclarkson’s picture

I just found my solution. I am using SimpleMenu (and FCKEditor + IMCE). I had to check the box in the SimpleMenu settings for "detect popup". Then the IMCE pop-up worked fine.

skilip’s picture

I assume the error is caused by the admin dashboard which is trying to load a second instance in the browser window.

I haven't got the time to solve this a.t.m. but will keep it in mind.

skilip’s picture

Status: Active » Fixed

Fixed in 6.2x.BETA2

Status: Fixed » Closed (fixed)

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