Page 1 of 1

can't upload file in backend

Posted: 11 Jun 2010, 11:32
by nickg
With joomla 1.5 18, whem I want upload a file from phocadownload component, on backend I get :

Fatal error: mime_magic could not be initialized, magic file is not available in /Volumes/data/cery/mysite/administrator/components/com_phocadownload/helpers/phocadownloadupload.php on line 116

I can upload via manager media
I can upload via ftp filezila
But impossible to upload a file : >components>phocadownload>file

thanks for help

Re: can't upload file in backend

Posted: 12 Jun 2010, 13:36
by Jan
Hi, try to check your server settings, there is the following code:

Code: Select all

else if(function_exists('mime_content_type')) {
				// we have mime magic
				$type = mime_content_type($file['tmp_name']);
Check the settings for the mime_content_type function :idea:

jan