Page 1 of 1

Problems uploading Media

Posted: 31 Dec 2015, 13:08
by wygigs
Hi,

I am trying to upload an image in Admin | Media : New (Default). I type in a new label, and click the square at the bottom that says 'Click to Upload'. I select a jpeg image from my local machine, but then receive an error 'No method for retrieving the mime type available: finfo, mime_content_type'.
Have I missed some configuration somewhere? So far all I appear to have configured in respect of this is to create a folder called uploads in my public folder.
I'm using XAMPP on Windows 10.

Re: Problems uploading Media

Posted: 31 Dec 2015, 16:13
by aimeos
Your PHP installation misses the finfo class which is part of PHP since 5.3:
http://php.net/manual/en/class.finfo.php

Re: Problems uploading Media

Posted: 31 Dec 2015, 17:01
by wygigs
Thank you. I had it commented out in php.ini, so I simply removed the ; in front of extension=php_fileinfo.dll and restarted Apache.
I also added 'directory' => '/uploads', to the media / default / upload array in shop.php

Thanks again