One user wants to upload an image in my site with imagefield and takes JS error (HTTP error 0. \n/filefield/ahah/blog/field_imageattache/0) in alert window when pressed "upload" button.
He has browser Opera 9.23 and uploads small file.
It's similar to http://drupal.org/node/329913 but error isn't depend from limited/unlimited limit of attached files.

CommentFileSizeAuthor
#1 fckeditor.utils_.diff2.33 KBsdwdd

Comments

sdwdd’s picture

StatusFileSize
new2.33 KB

i was getting this issue when using filefield for image and video uploads.

what i've found is that the problem is not in filefield, but in fckeditor on the page where fileupload widget is present.
i don't know why, but when you hit "upload", fckeditor event is firing up and crashes JS, followed by HTTP error.

attached is a simple patch for fckeditor_utils.js file, which solved the problem for me.

Leonth’s picture

I didn't use any editors but I have the same problem with Opera (user agent "Opera/9.27 (X11; Linux i686; U; en)"). It works ok with firefox.

quicksketch’s picture

Status: Active » Closed (duplicate)

I'm fairly sure this is caused by #372401: Merge only needed FileField Drupal.settings. Please reopen if the patch there does not resolve the problem.