Incorrect type of file - detected as application/x-empty

See all posts See thread Reply

Re: Incorrect type of file - detected as application/x-empty new!
by colin, 9 years, 2 months ago
It looks like your system is reporting an incorrect file size for the upload file. file_src_size is equal to -195, which is weird. This explains also why the Filenfo extension reports the application/x-empty MIME: it reports the MIME type for an empty file.

Check that the upload works with your PHP setup, and that the file is actually uploaded.

Besides, if MIME detection fails, then the extension is used. But in your case, the MIME is properly detected.Reply