Herta Van den Eynde a écrit :
On 11/04/2008, Patrick DUBAU patrick.dubau@alsace.iufm.fr wrote:
Herta Van den Eynde a écrit :
On 11/04/2008, Patrick DUBAU patrick.dubau@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
Thanks but this has already been done
Just to make sure: have you verified the "This file is corrupt" and "has a zero size" part of the error message?
Also, have you checked that odt is not blacklisted ($wgFileBlacklist and $wgMimeTypeBlacklist in both LocalSettings.php and DefaultSettings.php)?
FWIIW, uploading odt works fine for me (Mediawiki 1.11).
Kind regards,
Herta
my file is not corrupt and size<>0 no blacklisted i already tested in 1.1 without success
i think that i doesn't make a mistake in the link [[Image:Config.odt|Config.odt]] or am i wrong ? is it a problem from apache (v1.3 on debian etch) ?