Hi guys,

Basically, I am finding that whenever my client tries to upload a file with IE9 using the FileField, then the page just gives up. The throbber keeps on throbbing indefinately, and nothing crashes as such beacuse you can still navigate the page and whatnot, but no file gets uploaded.

If you view the page in IE7 or IE8 mode with the dev toolbar, then the file uploads fine. Unsurprisingly all other browsers are fine ;-)

Comments

quicksketch’s picture

My guess is that the suggested "fix" is to wait for MS to unscrew this problem. If it works in all other browsers it should work fine in IE9.

chapabu’s picture

Status: Active » Postponed

I blamed MS too ;-)

PITA as well, because as far as I can see IE9's not putting out any errors...it's just not working...oh well, compatibility mode it is..unless I can get the client on to Chrome..hmm..

Thanks anyway dude =)

Danny Englander’s picture

Can confirm this issue from two different machines. Compatibility mode is a fine work around for now.

quicksketch’s picture

Status: Postponed » Closed (won't fix)

Any suggested approaches here I'd be happy to look at, but with MS's new approach to browser compatibility, this should be resolved on their end.

cursor’s picture

Status: Closed (won't fix) » Active

Is there a fix for this? We can't get uploads working either in IE9, all other browsers work fine. Tried compatibility mode, didn't work either.

However even if think it would work in compatibility mode, I think it will be difficult to tell your users to switch. Surely, this could have a fix.. unless we all have decided to boycott IE9 :)

On a related note, I spent about an hour checking everything from file/directory permissions to everything else while trying to debug on a machine with only IE, horror!

ankheg’s picture

Same issue. "F12 -> Browser mode: IE9 compatibility view" worked in my case as a temporarily solution.

ankheg’s picture

Had this problem not only in ie9 but also in Opera 11.50 (Drupal 6.20, Filefield 6.x.-3.9).

Installing http://drupal.org/project/jquery_form_update 6.x-1.0 and http://drupal.org/project/jsalter 6.x-1.0 solved the issue.

So there are some chances it is a fix for ie9 too. I'll be able to test it in a few days.

ankheg’s picture

So there are some chances it is a fix for ie9 too.

It solved the issue partially: file upload works now, but loader animation never stops. You just wait for a few seconds in spite of animation, press "Submit" and see that file has been uploaded. Better than nothing :)

3dloco’s picture

+1 Getting this on 6.22 as well

jfine’s picture

Version: 6.x-3.9 » 6.x-3.10
Priority: Normal » Major

Seeing same issue on IE 9.0.8112.16421 on Windows 7 Professional 32-bit. Drupal version is 6.25. Only resolution seemed to be to force IE into 8 rendering mode.

Relevant portions of HTML head:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=8">
Würden’s picture

I just updated TinyMCE to the newest version, that solved the problem for me.

premanup’s picture

I just deleted debug line:

console.log(context);

in my own module, that solved problem with Internet Exlorer 9. Other browsers are fine with this line.

quicksketch’s picture

@premanup: The latest version of the module should not include that line. You should be able to use the latest release without a problem.

ubersoft’s picture

I am seeing this issue in both Firefox *and* Chrome in Kubuntu Linux and Windows 7. Chrome tries to report the upload progress but it hangs at 1%.

It doesn't always happen, though. I use a filefield for my comics, which are pngs and range in size from 30-100k. I use another filefield for podcasts, which are mp3s that range in size from 8-20mb. The mp3 one is the one that hangs all the time.

Also, this is a very recent occurrence. It's worked fine up till last week. However, I very recently upgraded my server from Ubuntu Lucid to Ubuntu Precise, and I wonder if there may have been a change in apache, php or mysql that blocks uploads beyond a specific size? Or changes the way permissions work?

quicksketch’s picture

Category: bug » support
Priority: Major » Normal

Right now I haven't seen any evidence that this is actually a bug in the module. If it can be reproduced from a fresh install of Drupal and FileField I'll have another look, but FileField has been working fine on hundreds of thousands of sites for a while now, we haven't even needed a release in over a year. So far all reports have been site-specific of a problem with server configuration.

casaswing’s picture

Subscribe

quicksketch’s picture

@casaswing: Please use the "Follow" button at the top of the page instead of Subscribe comments.

casaswing’s picture

Will do. Thanks. Sorry.

fen’s picture

A client is seeing this, too: when she hits 'Upload' the field just blanks. Funny thing is it works perfectly for me in my Win7 IE9 VirtualBox. But anyway, did some searching and found this:

http://www.louisvillewebgroup.com/content/cant-upload-files-or-images-dr...

I've installed the htaccess-based fix - will report back how it goes.

ubersoft’s picture

I'm adding a comment because I ran into a similar problem on my site -- at least, the symptoms were identical, with the exception that it also happened with Firefox and Chrome. In that case, it turned out to be the result of a server upgrade, and it wasn't Drupal so much as it was a new Apache setting.

The solution to that is discussed here:

http://drupal.org/node/1603076

This may not be your problem at all, but if you're using a LAMP/Drupal server setup you should look into it. It's not a filefield problem per se, it's just that filefield is one of the "lucky" plugins to trigger it. :-/

quicksketch’s picture

Status: Active » Closed (fixed)

Seems problem has passed by, or in the case of #20, it's not a problem in FileField at all. Closing this one.