IMCE has been working on this site just fine 'til recently.
Now it has been pointed out to me that when a user selects another folder in the "navigation" pane the 'throbber' comes up and stays there forever. Users thought that IMCE had 'crashed' but I've found that if you reload / refresh the page while the throbber is turning when the page reloads the browser has gone to the previously selected folder.
This is the same behavior for any action that causes a 'wait', IMCE appears to be stuck but upon a reload the action has in fact occurred.
I've tried this with both the current recommended 6.x release and with the 6.x-dev release both with the same results.
I've disabled and un-installed all IMCE support modules and tried again with the same results.
I've installed ThemeKey and set Garland as the theme for "*imce*", same results.
I am not running Google Analytics or Secure pages.
Drupal is up to date at 6.25.
No errors are being written to Watchdog.
And that exhausts my ability to work out what's going on.
Can anyone help?
Comments
Comment #1
ufku commentedTry different browsers and report javascript errors if there is any.
Disable modules that add javascript to the page and enable them one by one to see if there a conflict with any of them.
Comment #2
austintnacious commentedThis is what the console displays in Google Chrome. . .
Comment #3
austintnacious commentedFirefox 11 shows the following. . .
Comment #4
austintnacious commentedIE9 gives,
Comment #5
austintnacious commentedI've cut and pasted the contents of the console from GC, FF and IE in the posts below.
Interestingly, since I have no aggregation turned on IE isn't loading all of the css and js.
The site displays almost as plain text but the directories in the IMCE file browser in the User profile page are clickable and the clicks do succeed in showing the contents of the directory without having to refresh.
Comment #6
austintnacious commentedSo I tracked my problem with this issue to an incompatibility / conflict with Jquery Update module version 6.x-2.x-dev / Jquery 1.5.
This was also causing an issue with Taxonomy Menu (http://drupal.org/node/1489344) on my site and both problems seemed similar, i.e. the page was waiting for some info coming back from the server / waiting for a process to complete on the server and that info wasn't getting back to the page.
Anyway, in tracking down the IMCE problem I also have my main Taxonomy Menu issue fixed.
So, to those who are experiencing this issue check admin/reports/status for your JQuery version and admin/reports/updates for your JQuery Update version. If you have a JQuery version higher than 1.3.2 and/or JQuery Update module version higher than the "recommended" 6.x-2.0-alpha1 bring those two back to the versions stated here and you should find this issue resolved.
I don't remember why I went up to JQuery 1.5 / JQuery Update 6.x-2.0-dev but I did and it breaks IMCE.
I now see this as an 'undocumented incompatibility' the documentation of which I regard as quite "critical" (this has cost me a lot of trouble, i.e. "critical") so I've made the appropriate changes to the issue settings above.
Comment #7
Kimitri commentedI guess it's kind of expected as the JS portion of the module is probably pretty much identical between these two versions, but we're experiencing the same problem with version 7.x-1.5. If anyone else has the same problem using the 7.x branch, I think we should update this issue to point to the master version.
As for the issue itself, I believe austintnacious is right: this is a critical issue. I guess IMCE could check the jQuery version and act accordingly.
Comment #8
milovan commentedI confirm incomaptibility on D6 with jQuery 1.5. I haven't found solution yet and downgrading jQuery is not an option for me. Thus, following this issue...
Edit:
fixed. Solution: https://drupal.org/comment/4202202#comment-4202202
Comment #9
daimooni commentedSolution which worked for me was editing imce/inc/imce.page.inc file, function imce_js, replace "print drupal_to_js($response);" to "print json_encode($response);", and updating imce/js/jquery.form.js to jquery_update module version. Hope it will help someone.
My configuration was with imce 6.x-2.7 and jQuery update 6.x-3.0 (with upgrade to jquery 1.7.1).
Comment #10
thallesComment #11
thalles