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.
I've hunted around for an answer to this, found similar issues, but not the exact same one.
We have an ImageField to add logos to events listed on our website. When clicking on Browse the usual list of files are shown, but it's not possible to select any file including those that have a permitted file type.
I'm on a Mac, and so far this only seems to effect Google Chrome 8.0.552.11 dev.
Safari and Firefox are both working fine.
Any help or pointers would be much appreciated. Sorry if this is a dumb question!
Comments
Comment #1
quicksketchThis sounds the same as #877566: Opera 10.6 can upload not allowed file types. Could you update that issue with your findings and mark this one as duplicate if they seem the same?
Comment #2
toodlepip CreditAttribution: toodlepip commentedHad a quick look at the other issue and I don't think it's the same. I can't even get as far as selecting a file, all files including supported file types are greyed out. The only options are to navigate through folders. Hope that helps.
Comment #3
quicksketchThat's exactly the same problem that's described in the other thread. I'm 99% sure this is the same, browsers just recently started implementing the HTML5 spec on the "accept" attribute, which would have the effect you're describing.
Comment #4
quicksketchSorry, I meant to redirect to #939102: Accept attribute contains extensions instead of mimetypes (preventing Chrome from selecting files), which sounds exactly the same.
Comment #5
toodlepip CreditAttribution: toodlepip commentedYup, spot on. Exactly the same problem. Here's hoping there's a simple fix, especially with Chrome grabbing so much market share. Thanks for such a speedy response.
Comment #6
jdln CreditAttribution: jdln commentedsubscribing
Comment #7
doublejosh CreditAttribution: doublejosh commentedHaving this same problem. Actually seems a little sudden as I was able previously.
I recently installed transliteration, but cannot confirm yet that it caused the issue.
Comment #8
CarbonPig CreditAttribution: CarbonPig commentedSubscribe - same issue - greyed out file uploads.
Comment #9
delapohl CreditAttribution: delapohl commentedSubscribing. Removing the "permitted upload file extensions" restriction from the field re-enabled selection of files in Chrome for me.
Comment #10
omerida CreditAttribution: omerida commentedConfirmed after updating to Google Chrome 8.0.552.11 dev., i could not select files to upload.
Comment #11
frobconfirmed - subscribing
Comment #12
frobmy users are also complaining about Safari not saving after the they selected the file. I don't know if it is related, but I thought it could be a webkit issue.
Comment #13
pcambraSame problem here, Snow Leopard with Chrome 9.0.597.0 dev
This happens both with Imagefield module for D6 and image field core of D7
Comment #14
brewern CreditAttribution: brewern commentedsubscribing
Comment #15
ademarco CreditAttribution: ademarco commentedSame here: Chrome 8.0.552.215 beta. Subscribing.
Comment #16
davidburnssubscribe
Comment #17
tunold CreditAttribution: tunold commentedsubscribe
Comment #18
mirzu CreditAttribution: mirzu commentedRemoving everything from the "Permitted upload file extensions:" also fixed the issue for me, but that is not a permanent fix.
Comment #19
inlikealion CreditAttribution: inlikealion commentedSubtly sub'ing
Comment #20
stevetweeddale CreditAttribution: stevetweeddale commentedYup, had this issue in both D7 core and imagefield in D6. Subscribing.
Comment #21
setvik CreditAttribution: setvik commentedSame issue in D6 + imagefield + Chrome 8.0.552.215
Comment #22
kirkcaraway CreditAttribution: kirkcaraway commentedSubscribing. Eliminating the allowed extensions works as a band aide, but that is not a cure.
Comment #23
frobEliminating the allowed extensions opens up a whole new issue for me.
Comment #24
robbdavis CreditAttribution: robbdavis commentedSame problem. This worked fine until upgrading to latest version of chrome. Subscribing.....
Comment #25
frobThis is a chrome issue. It has been posted on google http://www.google.com/support/forum/p/Chrome/thread?tid=1c40bb39b79597c0...
Comment #26
frobThe issue is that the accept atribute is supposed to be used for mime types and not file types.
Comment #27
kfinney CreditAttribution: kfinney commentedSubscribe - same problem, might just have to wait for Chrome to update.
Comment #28
frobMarking as duplicate.
See node http://drupal.org/node/939102
Comment #29
quicksketchYes, I marked it duplicate in #4. Most people don't read. :P
This has already been fixed in FileField. You can either download the dev version of FileField and ImageField, or wait a few days for the 3.8 version to be released.
Comment #30
froblol. You can count me among them. Plus the line through the link confused me.
Comment #31
jlmeredithFor those that cannot update to the dev version, there is a work around for this.
You can drag and drop from the finder on to the icon and it will stage the file for upload.
Comment #32
frobOr try the new release, which fixes the problem. Also this is a duplicate and all future posts should be made at http://drupal.org/node/939102
Comment #33
dmuth CreditAttribution: dmuth commentedI have this, too. Subscribing.
Comment #34
WesleyWex CreditAttribution: WesleyWex commentedExactly, the only fault Chrome has is to restrict the file types only to Macs, on Windows the browser understands that you have used wrong mime types and don't apply the filter (but it does if you use the attribute correctly).