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.
So I'm running Drupal 7 with the IMCE 7.x-1.1, Wysiwyg 7.x-2.0 (w/CKeditor), IMCE Wysiwyg bridge 7.x-1.x-dev modules. Everything seems to work well. I get the Image button in CKeditor, and I can browse the server. From there I can upload a new file. However, when I upload a new file it hangs and I just get a forever spinning progress animation (see image). If I close out of the browse the server window and open it again, the file is available for me to insert.
Seems all is working except for the upload progress animation to recognize the file actually finished uploading.
Comment | File | Size | Author |
---|---|---|---|
Screen shot 2011-01-20 at 7.00.39 PM.png | 16.16 KB | djohannes |
Comments
Comment #1
ufku CreditAttribution: ufku commentedAny js errors?
Comment #2
Kezzo CreditAttribution: Kezzo commentedI have the same problem and i get this error:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; .NET CLR 1.1.4322)
Timestamp: Wed, 16 Feb 2011 23:56:44 UTC
Message: Object doesn't support this property or method
Line: 7
Char: 4764
Code: 0
URI: /sites/all/modules/imce/js/jquery.form.js?lgqhro
And here is a report from google chrome:
Uncaught TypeError: Object function (a,b){return new d.fn.init(a,b,g)} has no method 'handleError'
Comment #3
kr24 CreditAttribution: kr24 commentedHi,
the same problem here. Reloading the page after each action works for me. But it's not a good solution ;)
Ist is possible to insert a command somewhere which reloads the page after each action?
Thanks!
I'm looking forward to a solution which is better than mine ;)
Comment #4
rob49152 CreditAttribution: rob49152 commentedjust using IMCE with the CKEditor plugin (Not through WYSIWYG) and I get the same thing. Just sits and spins until I close the upload window.
Comment #5
oerjann CreditAttribution: oerjann commentedsame problem here, also I can not delete uploaded files with the delete button
Comment #6
mccask CreditAttribution: mccask commentedSame problem exactly. I also get a fast "flash by" Ajax error when uploading a new module, although modules do then appear to install and function properly. I just wonder if the two issues are related.
Comment #7
ufku CreditAttribution: ufku commentedIt seems jQuery form plugin is incompatible with jQuery1.5
As a workaround you may disable jQuery Update module.
Similar issues:
#1046720: Drupal AJAX forms broken in jQuery 1.5
#1064890: Update jQuery Form to 2.64
Comment #8
oerjann CreditAttribution: oerjann commentedI also get a fast "flash by" Ajax error when uploading a new module
Comment #9
ufku CreditAttribution: ufku commented7.x-dev now includes jquery.form v2.67 which is compatible with jQuery 1.5.
http://drupalcode.org/project/imce.git/commit/6bb2743
You can use it with jQuery update module enabled.
Comment #10
mccask CreditAttribution: mccask commentedI am running jQuery 7.x-2.1 and IMCE 7.x-1.3. Still getting the same forever spinning ball after uploading a file with IMCE. As before, the file does upload but I still have to quit and restart IMCE before I can see it listed. And still the same flash by AJAX error when uploading a new module or module update.
Have Uninstalled and Reinstalled both modules, cleared caches, experimenting with different configuration options - no joy. Am I missing something obvious here? As a Drupal novice this is not at all unlikely!
Thanks.
Comment #12
mccask CreditAttribution: mccask commentedFound my problem - Safari extensions added by DivX cause IMCE to "work but hang" when uploading a file. Removed extensions and IMCE works fine. AJAX error still exists, but obviously an unrelated problem.
Comment #13
indigetal CreditAttribution: indigetal commentedDrupal 7.12 IMCE 7.x-1.5, CKEditor 7.x-1.8 and CKEditor 3.6.2-3
I'm also having a similar issue right now where the progress spinner goes on and on forever, although often times the file is never actually downloaded. I get no error messages, have confirmed that jquery.form.js is v2.67, and have uninstalled all DivX browser plugins. Pretty miserable at this point...
Comment #14
indigetal CreditAttribution: indigetal commentedDid not mean to do that... IMCE uploader is still not working.
Comment #15
ch_sorger CreditAttribution: ch_sorger commented@indigital:
Try to empty the browser cache (this did it for me).
Does this work for you ?
Comment #16
GinaF CreditAttribution: GinaF commentedI had the problem of hanging upload, but it was successfully uploading files - in Firefox.
I switched to Internet Explorer and it's absolutely fine.
Comment #17
ufku CreditAttribution: ufku commentedPlease provide info to reproduce it.
Comment #18
axle_foley00 CreditAttribution: axle_foley00 commentedI'm having a similar issue in the 6.x-2.3 version of this module. When I check the Error Console in Google Chrome, I get the following error:
Uncaught TypeError: Object function (a,b){return new p.fn.init(a,b,c)} has no method 'handleError'
This occurs in jquery.form.js on line 6.
To reproduce all I do is open IMCE from the Content Creation page (e.g. Story, Page) and then try to upload a file. The loading spinner starts and keeps going seemingly never uploading the file, however, when I refresh the IMCE window, the file has indeed been uploaded.
Comment #19
altrugon CreditAttribution: altrugon commentedSolution: Update ctools to the latest version.
I've just spent several hours debugging in the wrong places due to these errors I was getting on the console:
On Firefox:
imce uncaught exception: Invalid JSON:...
On Chrome:
Uncaught TypeError: Object function (a,b){return new p.fn.init(a,b,c)} has no method 'handleError'
Firefox was pointing to
ckeditor.js
as the culprit and Chrome chosejquery.form.js
. This was disconcerting since both files in other sites were working fine with the same versions that I was using on this one.It turned out that that an ack on my site (
ack -a 'jquery.form.js'
) revealed that ctools was adding it using drupal_add_js(), so at that point I tried to update this module and finally I saw my spinning wheel go away.Comment #20
ufku CreditAttribution: ufku commentedComment #21
jordotech CreditAttribution: jordotech commentedFYI replacing /sites/all/modules/imce/js/jquery.form.js with this worked for me in D6: http://malsup.github.io/jquery.form.js
Comment #22
AlexisWilke CreditAttribution: AlexisWilke commentedI had the same problem in D6. A lot of people have a newer version of jQuery and the correct jquery.form.js is required in that case...
Comment #23
jvieille CreditAttribution: jvieille commentedSomething is wrong in the code.
In imce.page.inc, replace:
drupal_add_js(module_exists('jquery_update') && variable_get('jquery_update_jquery_version', '1.3') > 1.3 ? 'misc/jquery.form.js' : $path . '/js/jquery.form.js');
by
drupal_add_js('misc/jquery.form.js');
or correct the condition as a jquery version is not necessarily a number that can be computed, compared...
My version is 1.12.4 that a dumb PHP cannot understand as being higher than 1.3....