A google search produces this as the first result. Try it:
http://meta.wikimedia.org/wiki/Uploading_files#The_file_is_corrupt_or_has_an....
2007/2/6, McFadden, Gordon gordon_mcfadden@intel.com:
Hi All
First off, if this is the wrong list, please point me in the right direction.
I am a bit of a newby when it comes to wikimedia, so the question may seem trivial.
I am having trouble allowing users to upload MS .ppt files. The error received is:
Upload file
From ECPDpedia
Jump to: navigation http://ecpdwiki.jf.intel.com/ecpdpedia/index.php/Special:Upload#column- one#column-one , search http://ecpdwiki.jf.intel.com/ecpdpedia/index.php/Special:Upload#searchI nput#searchInput
Upload warning
The file is corrupt or has an incorrect extension. Please check the file and upload again.
This seems to apply only to ppt and xls files. MS Word documents work ok.
The relevant line in LocalSettings.php $wgFileExtensions = array('png','gif','jpg','jpeg','ogg','doc','xls','ppt','mp3','sxc','pdf' ); which is a copy from te mediawiki documentation
And obviously $wgEnableUploads = true;
Any suggestions?
Thanks,
Gord
--
Gordon McFadden
System Architect
Infastructure Processor Division
503 264 4309 (desk)
503 913 6095 (cell)
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l