On Mon, 07 Jan 2013 23:47:58 +0100, Aran Dunkley aran@organicdesign.co.nz wrote:
Hello, can someone please help me with this .doc upload problem? I've tried everything and even setting $wgVerifyMimeType to false fails to solve it. No matter what I do I keep getting the following error when I upload *some* word 2007 .doc files:
The file is a corrupt or otherwise unreadable ZIP file. It cannot be properly checked for security.
I don't know how that check can even be happening with $wgVerifyMimeType disabled, but still the error occurs?!
Word 2007 uses a .docx format as far as I know, not .doc. Which one were you using in your configuration?
Also, .docx files are essentially ZIP files with magic data inside.