Evelyne Cangini wrote :
Hi,
When I try to upload a word file (extension .doc) , I always get the error :
/The file is //corrupt or has an incorrect extension. Please check the
file and upload// gain. (Ce fichier est corrompu, a une taille nulle ou
possède une extension invalide. Veuillez vérifer le fichier)
/In file LocalSettings.php : $wgFileExtensions = array( 'png', 'gif',
'jpg', 'jpeg', 'pdf', 'txt', 'doc', 'zip'
).
The files are not corrupt, have the good extension, ....
I'm using Mediawiki version 1.10.0
*just for testing* : try to put
$wgVerifyMimeType = false;
at the end of LocalSettings.php and then try to upload again.
Thank you very much. It's right !
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l