On 11/04/2008, Patrick DUBAU <patrick.dubau(a)alsace.iufm.fr> wrote:
Michael Daly a écrit :
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"
Do you have a valid entry in /wiki/includes/mime.types for odt? If not,
add one.
Mike
yes i have : application/vnd.oasis.opendocument.text odt
In LocalSettings.php set "$wgEnableUploads = true;" and add odt to the array
of $wgFileExtensions (e.g., $wgFileExtensions = array( 'png', 'odt' ); )
Kind regards,
Herta
--
"Life on Earth may be expensive,
but it comes with a free ride around the Sun."