Closed (duplicate)
Project:
Drupal core
Version:
4.7.0-beta3
Component:
file system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2006 at 20:55 UTC
Updated:
18 Jan 2006 at 05:57 UTC
Jump to comment: Most recent file
Comments
Comment #1
mr700 commentedI also have similar problem with drupal-4.6.5 - can not upload user picture (avatar). The message in the watchdog says:
and the page says:
The 'avatars' directory exists and after applying the attached here patch it works fine. The file was in png format (gif and jpeg work fine). I used Fedora Core 4 (mysql 4.1 and php 5).
PP: Should I fill new but report for 4.6.5 and cvs?
Comment #2
mr700 commentedHere's a small test suite with php script and 3 images that can be used to verify this problem. My results are:
Just me?
Comment #3
Egon Bianchet commentedOn Ubuntu breezy:
Comment #4
mr700 commentedHmm, strange. I did some more tests on all linux boxes I have. Here are the results:
In short: everywhere flash gets wrong MIME type ('text/plain'), for "Fedora Core 4" png also gets 'text/plain'. The problem with png files is clearly a FC4's bug (I reported this in bugzilla - bug # 177926).
The main problem I have are flash files (with banner.module). Can you please also test a flash file?
BTW:
mime_content_type()returns 'text/plain' where it does not recognize the file,getimagesize()returns nothing.Comment #5
chx commentedhttp://drupal.org/node/43220 will solve this & many more.