Hello
I have problem with uploading files in IE 9 by file/image fields.
I can browse files, but when I click "upload" an error is appear - see attachement.

In Firefox everything works fine.

CommentFileSizeAuthor
ajax error.jpg29.65 KBtotap

Comments

dddave’s picture

Status: Active » Closed (cannot reproduce)

Tested and I cannot reproduce. Feel free to reopen if you can show that this issue is indeed a Drupal core problem.

Your issue might be caused by your server set-up or additional modules.

totap’s picture

Thank you! It's really doesnt depend drupal core nor either other modules, just core of CKEditor - new version seems not work with drupal upload.

aimevp’s picture

Version: 7.7 » 7.10

I'm having the same problem on a Drupal 7.10 installation on an upload field from core field UI. The error also only appears in IE9.
For uploading images in the CKEditor I use the IMCE module where I don't have any problems uploading images.

I will perform core updates to 7.12 and contributed module updates to see if error is solved by updating.
I'll drop a message to let everyone know if it helped or not.

fxx’s picture

This problem is compatible with ckeditor, try find 'CKEDITOR.instances[textarea_id].destroy(true)' in ckeditor.utils.js and remove it.

nguyentran’s picture

Hi,

Sorry that is not work for me I used version 7.8, test in IE9, Any other idea ?

pat redmond’s picture

Version: 7.10 » 7.14
Status: Closed (cannot reproduce) » Active

I can confirm this. I am not using a WYSIWYG - it is from a file upload field.
This only appears to happen in IE7 and IE8 for me.

dddave’s picture

Status: Active » Postponed (maintainer needs more info)

Can this be recreated with 7.15?

pat redmond’s picture

Yes dddave - it is happening on D7.15
It is very intermittent on IE9, but consistent on IE7 and IE8. Here is a link for you to try, although the live version is D7.14
I updated the local version to D7.15 but there was no change at all.

http://blandshire.nsw.gov.au/node/add/event

pat redmond’s picture

Actually, I think there is a conflict between the jQuery script in core and the jQuery script in TinyMCE. I'm not really sure why it would affect the file upload process, but when I switched to CKEditor the problem went away.

Jokerius’s picture

Same issue, only on IE9(on ie7 and ie8 all OK) when trying to upload image. Only first time upload button is clicked, second time after alert is closed all works fine. Updating jquery.form.js didn't helped

pat redmond’s picture

Jokerius, are you using a wysiwyg?

seutje’s picture

Tried reproducing this on http://blandshire.nsw.gov.au/node/add/event but it didn't seem the upload was ever initiated there, no error, but no upload either
when trying to reproduce it on a local setup, I didn't run into any problems (aside from the upload taking quite a while). Tried with and without language path prefix, didn't seem to matter...

pat redmond’s picture

Sorry Seutje - I didn't specifically say I had fixed the problem on that site. It appears to have been a conflict between TinyMCE (via the WYSIWYG module) and jQuery in core. I switched from TinyMCE to CKEditor (also via WYSIWYG module), and the problem disappeared.

I would suggest that this isn't a problem with core, but a conflict with contrib modules.

seutje’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

ok, I'm closing this then.

Feel free to reopen if you can reproduce without too many 3rd party scripts fiddling with stuff.

Also: no need to capitalize my name, I intentionally made it lowercase :P

jptaranto’s picture

I can confirm this was happening for me when using ie9 + tinymce. Changing to ckeditor fixed it.