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.
Can someone help me? I just see the spinning icon when trying to upload an image using IMCE for WYSIWYG API. The file never gets uploaded.
The images are within all of the IMCE settings limits and quotas, and the related folders (files, tmp, etc) are all set as chmod 777.
Comment | File | Size | Author |
---|---|---|---|
#1 | spinning-icon.png | 5.16 KB | kriskhaira |
Comments
Comment #1
kriskhaira CreditAttribution: kriskhaira commentedComment #2
kriskhaira CreditAttribution: kriskhaira commentedComment #3
ufku CreditAttribution: ufku commentedDo you have this issue in all browsers?
If only in opera then you may have the old version of drupal's misc/jquery.form.js
try replacing it with http://jqueryjs.googlecode.com/svn/trunk/plugins/form/jquery.form.js
Comment #4
tirdadc CreditAttribution: tirdadc commentedI'm also having having this issue on one specific site, be it using Firefox or IE. The uploading status message is shown, the button shows the spinning icon but I don't get any validation / end message, it just keeps looping.
When I eventually just refresh the page, I see that the image has actually been fully uploaded, but I still need this to work properly.
Deleting / browsing works fine, and I have 777 set on the folders being used.
Any ideas?
UPDATE: actually, now I'm consistently getting a JS error in Firebug:
Which is happening here on the return line of this function:
Comment #5
tirdadc CreditAttribution: tirdadc commentedOK, I figured out what is causing this in my case: the Devel module is appending extra data in the JSON response string and botching it up. As soon as I disabled Devel, the file upload worked perfectly. This comment shows a similar case but involving Devel clashing with the default upload module.
Since I need Devel on the dev server, I'll try to find a way to disable it on specific pages for now. If the latest version at this time (1.17) of that module still has this issue, I'll report it there.
Comment #6
xzistance CreditAttribution: xzistance commentedThanks tirdadc, disabling the Devel module fixed this issue for me as well. I was worried I was going to have to try a different WYSIWYG editor and such, but this solved it. Thanks again.
Comment #7
kriskhaira CreditAttribution: kriskhaira commentedWow, this is an old ticket I forgot about. Sorry I never replied. Thanks for your help, tirdadc. Also glad to see it helping another.
Comment #8
kriskhaira CreditAttribution: kriskhaira commentedComment #9
zeropx CreditAttribution: zeropx commentedDevel was the prob for me too. Thanks @tirdadc