Welcome Guest, Not a member yet? Register   Sign In
Why doesn't the file upload allowed_types work?
#1

[eluser]dallen33[/eluser]
I'm allowing these types:
Code:
gif|jpg|png|doc|pdf|psd|eps|jpeg|bmp|tiff|rtf|txt

Nothing fancy going on there. Yet, I can't upload EPS files (they are denied), I can only upload SOME jpgs, some are denied. Is there something wrong with this class?
#2

[eluser]dallen33[/eluser]
I found another post that "fixed" the situation for me by allowing ALL file types:

http://ellislab.com/forums/viewthread/112976/

But I'm still not sure why some PDFs, all EPSs, some JPGs are not being accepted.
#3

[eluser]Thorpe Obazee[/eluser]
You can probably check on this too...

http://ellislab.com/forums/viewthread/105777/
#4

[eluser]Bogdan Tanase[/eluser]
Most likely it has to do with the mime type. Each browser sends a different mime-type identification sometimes files of the same type are identified different. You need to edit the config/mimes.php file and add each type there.

IMHO better hack the library and disable the mime check;




Theme © iAndrew 2016 - Forum software by © MyBB