Download & Extend

An unrecoverable error occurred. Empty file name

Project:FileField
Version:6.x-3.1
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

If you don't borwse for a file name and leave the file name blank, when you press the upload button you get an error:

An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (64 MB) that this server supports.

It should check for a blank and give you a message to choose a file name or the upload button should be disabled till you borwse for a file name.

Comments

#1

This happens in Windows Vista Home IE8 In Firefox it works ok.

#2

Anybody know anything about this?

#3

The same error is getting when I click remove button in IE6 also. Any body know why?

#4

Does this http://drupal.org/node/522724 fix/address the problem?

#5

I have the same problem when trying to remove an image. I tried the fix and also try to turn on Compatability View but nothing... guess I'll have to use FF for a while.

#6

Finally I fixed this problem by using uncompressed jquery.form.js and doing some change.
I downloaded jquery.form.js from http://malsup.com/jquery/form/jquery.form.js?2.28 and replaced with the misc/jquery.form.js file.

Uncommented following lines in the jquery.form.js

var mp = 'multipart/form-data';
multipart = ($form.attr('enctype') == mp || $form.attr('encoding') == mp);

The above lines will be approximately at line number 145, 146

#7

is there any official fixes being worked on for this?

I have the error in internet explorer 7 & 8, so compatibility view has nothing to do with it.
Also the error "An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size .. " occurs when deleting the file which should not have anything to do with any maximum file size check.

#8

to add to my previous post: I am only seeing this with imagefields. Just tested some regular file fields in IE 7 and IE 8 and everything worked fine...

#9

Status:active» closed (fixed)

I'm closing this issue after lack of activity. If it's something that affects ImageField only, you should check that queue for similar issues. This problem has likely already been fixed in later releases of FileField or at least I'm unable to reproduce it currently.