By mc__ on
I tried to install the german language via import,after a while i get following error:
Fatal error: mime_magic could not be initialized, magic file /usr/share/file/magic.mime is not available in /home/mc/public_html/drupal/includes/file.inc on line 149
does anyone know what i have to install that it works?
thanks in advance
Comments
Wrong path to magic.mime
This error probably occur because the correct path to magic.mime isn't in php.ini.
1. Locate your magic.mime
2. Ensure that the path to the file is entered correct in php.ini as in the following example:
mime_magic.magicfile = "/usr/share/file/magic.mime"
On Debian magic.mime default location is in /usr/share/misc/file/magic.mime