Reputation: 11
I'm using Magmi
to bulk upload products including images. The products upload fine, but i get the error message when magmi
tries to upload the images:-
plugin;
ImageAttributeItemProcessor;
warning:Image attributes processor v1.0.25 - error creating media/catalog/product/1/0: 2,mkdir(): Permission denied
I have set the Dir & File permissions to 777
the filesystem path to magento
directory is set to ../..
Any ideas anyone? thanks
Upvotes: 1
Views: 805
Reputation: 124
I was able to resolve the issue by doing the following:
In {magmi-dir}/plugins/extra/itemprocessors/imageprocessor/imageitattributeemprocessor.php class ImageAttributeItemProcessor in method copyImageFile() there is a line that has $l2d="media/catalog/product/$i1/$i2";
I had to change that media path to be the absolute path, so for me that line became $l2d="/var/www/html/magento/media/catalog/product/$i1/$i2";
Upvotes: 2