Search for the message in the code, and go from there. If I remember correctly, to upload a non-standard file type it needs to be specified in several places... Unfortunately, I don't exactly remember where.
Good luck.
Boris.
On Thu, Apr 10, 2008 at 10:57 AM, Patrick DUBAU < patrick.dubau@alsace.iufm.fr> wrote:
Hi,
mediawiki 1.12
I want to upload odt files (open office) but i get the followning error message : " This file is corrupt, has a zero size or an invalid extension"
I can upload : jpeg,doc and pdf files. In LocalSettings.php i added : $wgFileExtensions[] = 'odt';
Does someone has an idea ?
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l