Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
IMCE is a great program. I recently updated (Nov. 17 2006) both version 4.7 and 5. They both works in Operal 9 and firefox 2, but it cuase blank screen in IE 6.
Nov. 18, 2006
Comments
Comment #1
ufku CreditAttribution: ufku commentedI usually test IMCE on IE6 at first then i test with Firefox and Opera. I have never had a problem viewing IMCE with IE6. However, configurations may differ. Can you be more specific on this issue? Did you try IE6 on any other computer? Do both 4.7 and 5 versions have problems with IE6?
Comment #2
Budrick CreditAttribution: Budrick commentedAlso have problem with IE 6.
IMCE popup window loads frontpage in IE.
If I stop loading at the very begining (by hitting ESC), in Firefox source code shows:
after that normal IMCE window is loaded.
In IE 6, in the beginning of the load it shows:
and than it redirects to frontpage.
imce.module,v 1.8.2.15 2006/12/09 17:48:06
Drupal 5 beta 2
Comment #3
Budrick CreditAttribution: Budrick commentedI discovered that it is "access denied" error.
If I allow Anonymous user to access IMCE - window opens in IE, but it creates 'u0' directory.
So I think problem is in passing session information to IMCE window.
Comment #4
ufku CreditAttribution: ufku commenteddo you have the same problem in user/yourID/imce page? ... just to clarify if it is a pop-up issue.
in that page an iframe is used instead of a pop-up.
Comment #5
Budrick CreditAttribution: Budrick commenteduser/yourID/imce page works OK.
I discovered that session handling in new window is not solid in IE, many people meet that problem (yet not permanently).
I found a decision: adding "&PHPSESSID=someValue" to window.open url in imce_set_inline.js
and
if ($_REQUEST['PHPSESSID']) $_COOKIE['PHPSESSID'] = $_REQUEST['PHPSESSID'];
to index.php of DrupalOf course it is not good.
I wonder, is there a way to pass cookie to new window with javascript?
Comment #6
Budrick CreditAttribution: Budrick commented...or insert this line
somewhere not in core, but before session handling by Drupal.
I tried hook_init, but it fires too late...
Comment #7
ufku CreditAttribution: ufku commentedyou're right, budrick. after some googling i found many variations of the issue. In our case it may be specific to FCKeditors modalDialog(here). Did you only tested with FCKeditor? Could you help testing the other options, tinymce and plain textarea? You can find them all in a single page at IMCE demo page. Drupal module is enabled, you can either login with drupal.org username or create a new account. And also it would be very helpful if you report the result of changing(lowering) browser cookie settings. Sorry for using you as a debugger ;), uexpectedly my IE is working normal.
Comment #8
Budrick CreditAttribution: Budrick commentedAll above tests I performed on plain textarea only.
Have tried demos on your page - plain textarea and FCK works fine. IMCE is broken - it does not shows an editor.
In IE 6 it gives "Line 70, symbol 3 tinyMCE is not defined"
In FF it is:
I forgot to mention that I am using thicky template given by customer - it uses loading of content into iframe and then putting it to main page with .innerHTML, dynamical loading of scripts. So it is really uncommon environment for IMCE to work in. Im sure that in standart configuration everything works OK, and demos on your page confirmed that.
But I still hope to make IE to work properly in that sophisticated environment as Firefox does. Now I can get IMCE browser window, but after image upload it still redirects me to frontpage. I keep fighting...
And what do you mean by changing(lowering) browser cookie settings?
Comment #9
ufku CreditAttribution: ufku commentedthank you so much for the tests, budrick. cookie settings are in Privacy tab in IEs "Internet Options". i read an article stating that if the cookie restriction is medium or high, popups or frames may silently deny the parent windows cookies. however, with my IE i couldtn confirm that, too :(.
Comment #10
Budrick CreditAttribution: Budrick commentedAfter some hacking at last everything works OK
What about IE security settings - I dont want to make users to change any settings.
I also discovered that IE does not allow to set cookies within javasctipt. Maybe it is due to those security settings. So I had to do it in php.
And thank you so much for the great module!
As for me - the most convenient and usable image tool for Drupal.
Comment #11
faqing CreditAttribution: faqing commentedI downloaed and intalled the new version for drupal 5cr1 on the Dec. 25. 2006. It works fine for IE 6, IE 7.
Thanks
Comment #12
phoenixblue CreditAttribution: phoenixblue commentedah.. it didn't work for me with IE 6
i could upload images and all that but when i click add/drag img to the textfield i get this:
A Runtime Error has occurred
Error: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus
works in firefox thou.
Comment #13
ufku CreditAttribution: ufku commentedplease indicate your method of using IMCE. with tinymce? fck? inline? get this error on both image and link insertion?
this error is thrown when the target field that IMCE writes the file path is invisible. For example, when you are using both tinymce and IMCE's inline insertion, inline isertion wont work becouse the textarea is made invisible by tinymce.
Comment #14
phoenixblue CreditAttribution: phoenixblue commentedWith tinymce..
erm.. so how do i fix this problem?
Comment #15
WeRockYourWeb.com CreditAttribution: WeRockYourWeb.com commentedHi ufku,
Thanks for the demo page - very nice. I see that your demo FCK/ IMCE works in IE - something I have not been able to get to work using Drupal 5.x and latest dev of FCK/ IMCE. Can you share your demo Drupal and FCK/ IMCE versions and how you got it to work?
Thanks!
Alex
Comment #16
ufku CreditAttribution: ufku commentedDrupal 5.3
FCKeditor 5.x-1.1
IMCE 5.x-1.0
I dont know the version of fckeditor(not drupal project), as it is quite old.
Comment #17
ufku CreditAttribution: ufku commented