I am very new to magento. I have created one magento store, that is working fine in the localhost. But in server it's working fine except product image upload. I can able to create new product but product images are not uploading. I got this error:
unable to create directory /var/www/vhosts/…/httpdocs/media/tmp/catalog/product/…
Please refer the following screenshot.
Tried out following:
- Checked the
/media
folder permission that is in 777 - Changed the
php_value memory_limit 128M
to256M
in.htaccess
- GD library is installed
- Changed attribute scope of small image, large image, thumbnail scope (panel -> Catalog -> Attributes -> Manage attributes) from stroe view to global
- Tried this http://marius-strajeru.blogspot.in/2011/09/upload-issue-for-magento-1600.html link.
Still am not get any solution. It wasted my time around 2 days.
Please any one help me.
Best Answer
Finally I got solution at 22-Aug-2014.
Problem is PHP version issue, megento need php 5.2.13 but my server contains php 5.2.12
After updated php version, image upload working fine.