On 8/6/06, Frank Kurupacheril <francis_anthony(a)sbcglobal.net> wrote:
I have the mediawiki vehera base appliance and I am
trying to upload documents. I have edited the LocalSettings.php file and every upload (
pdf, gif, jpeg, doc, txt) works except xls and ppt. Has anyone hit this issue before ? I
get this error :
"The file is corrupt or has an incorrect extension. Please check the file and upload
again."
-Frank
Frank,
Make sure that the $wgFileExtensions variable set in LocalSettings.php
includes xls and ppt and any other extension that you wish to allow.
For your example extensions:
$wgFileExtensions = array( 'pdf', 'gif', 'jpeg', 'doc',
'txt', 'xls', 'ppt');
Dan