Thanks Dan- I do have those in the LocalSettings.php file.
----- Original Message ---- From: Dan Davis hokie99cpe+wiki@gmail.com To: Frank Kurupacheril francis_anthony@sbcglobal.net; MediaWiki announcements and site admin list mediawiki-l@wikimedia.org Sent: Sunday, August 6, 2006 4:15:31 PM Subject: Re: [Mediawiki-l] Upload issue
On 8/6/06, Frank Kurupacheril francis_anthony@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