can't upload file in backend

Phoca Download - download manager
nickg
Phoca Member
Phoca Member
Posts: 28
Joined: 09 Jun 2010, 15:47

can't upload file in backend

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: can't upload file in backend

Post 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
If you find Phoca extensions useful, please support the project
Post Reply