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

iubito iubito at gmail.com
Sun Feb 12 17:03:47 UTC 2006


Debugging gives me :

GET /index.php?title=Accueil&action=purge
Main cache: fakememcachedclient
Message cache: mediawikibagostuff
Parser cache: mediawikibagostuff
User::loadFromSession() unable to load from memcached
Using reader #0: ...mysqlhost...

client did not send If-Modified-Since header
 tryFileCache() - not cacheable
Article::view using parser cache: yes
Trying parser cache tousauxbalkans:pcache:idhash:923-0!1!0!0!!fr!2
Parser cache miss.
MimeMagic::MimeMagic: no mime types file defined, using build-ins only.
MimeMagic::MimeMagic: no mime info file defined, using build-ins only.

I don't see what's wrong ! Do you ?

Sylvain

2006/2/12, iubito <iubito at gmail.com>:
>
> 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