[Wikitech-l] Problems uploading word 2007 .doc files
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?! ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Problems uploading word 2007 .doc files
On Mon, 07 Jan 2013 23:47:58 +0100, Aran Dunkley 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. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Problems uploading word 2007 .doc files
The file was a .doc, but I've tried changing it to docx and get the same result. Some other .doc and .docx files that are word 2007 upload no problem. But I don't see how it can complain when I have the MimeType verification disabled - completely disabling the verification would be no problem since only specific users can upload. p.s. this is a MW 1.19.2 on Ubuntu Server 11.10 with PHP 5.3.6 On 07/01/13 21:21, Matma Rex wrote: > On Mon, 07 Jan 2013 23:47:58 +0100, Aran Dunkley > 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. > > ___ > Wikitech-l mailing list > Wikitech-l@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/wikitech-l ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Problems uploading word 2007 .doc files
Is this bug the same issue? It looks like somebody put up a partial fix https://bugzilla.wikimedia.org/show_bug.cgi?id=38432 - Luke Welling On Mon, Jan 7, 2013 at 6:30 PM, Aran Dunkley wrote: > The file was a .doc, but I've tried changing it to docx and get the same > result. Some other .doc and .docx files that are word 2007 upload no > problem. But I don't see how it can complain when I have the MimeType > verification disabled - completely disabling the verification would be > no problem since only specific users can upload. > > p.s. this is a MW 1.19.2 on Ubuntu Server 11.10 with PHP 5.3.6 > > On 07/01/13 21:21, Matma Rex wrote: > > On Mon, 07 Jan 2013 23:47:58 +0100, Aran Dunkley > > 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. > > > > ___ > > Wikitech-l mailing list > > Wikitech-l@lists.wikimedia.org > > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > > > ___ > Wikitech-l mailing list > Wikitech-l@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Problems uploading word 2007 .doc files
Thanks, yes that's the same problem, and they have some potential workarounds there. On 08/01/13 16:51, Luke Welling WMF wrote: > Is this bug the same issue? It looks like somebody put up a partial fix > > https://bugzilla.wikimedia.org/show_bug.cgi?id=38432 > > - Luke Welling > > > On Mon, Jan 7, 2013 at 6:30 PM, Aran Dunkley wrote: > >> The file was a .doc, but I've tried changing it to docx and get the same >> result. Some other .doc and .docx files that are word 2007 upload no >> problem. But I don't see how it can complain when I have the MimeType >> verification disabled - completely disabling the verification would be >> no problem since only specific users can upload. >> >> p.s. this is a MW 1.19.2 on Ubuntu Server 11.10 with PHP 5.3.6 >> >> On 07/01/13 21:21, Matma Rex wrote: >>> On Mon, 07 Jan 2013 23:47:58 +0100, Aran Dunkley >>> 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. >>> >>> ___ >>> Wikitech-l mailing list >>> Wikitech-l@lists.wikimedia.org >>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l >> >> ___ >> Wikitech-l mailing list >> Wikitech-l@lists.wikimedia.org >> https://lists.wikimedia.org/mailman/listinfo/wikitech-l >> > ___ > Wikitech-l mailing list > Wikitech-l@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/wikitech-l ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l