[Mediawiki-l] mime_magic could not be initialized, MimeMagic.php on line 506

iubito iubito at gmail.com
Sun Feb 12 15:59:56 UTC 2006


Hi !

MediaWiki 1.5.6 / Linux debian

I really don't know why I get this *@%$* error on line 506 of MimeMagic.php:

Fatal error: mime_magic could not be initialized, magic file
/usr/share/file/magic.mime is not available in
/home/.filer4/tousauxbalkans/www/includes/MimeMagic.php on line 506

Line 506 is just a debug !
        else wfDebug("$fname: no magic mime detector found!\n");

In LocalSettings, I tried this :
$wgMimeTypeFile= NULL; #use build in defaults only.
$wgMimeInfoFile= NULL; #use build in defaults only.
$wgMimeDetectorCommand = NULL;
but it doesn't change anything.

Thanks in advance for your help !

Sylvain Machefert
http://iubito.free.fr
http://tousauxbalkans.free.fr



More information about the MediaWiki-l mailing list