1

I have created another store in one website in magento2. After that , when I am editing product I am getting this error

The file "/home/hmsdgwtu/public_html/pub/media/tmp/catalog/product/" doesn't exist or not a file

I am stuck on that anyone have any idea about how to fix that error ?

1
  • Have you find a fix for this ? Commented Feb 28 at 16:42

1 Answer 1

0

The issue seems you don't have permission to pub/media folder

check below link for permission

https://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html

Or just give full permission to pub/media folder

chmod -R 777 pub/media

To set full project permission like

 find . -type f -exec chmod 644 {} \; && find . -type d -exec chmod 755 {} \; && find ./var -type d -exec chmod 777 {} \; && find ./pub/media -type d -exec chmod 777 {} \; && find ./pub/static -type d -exec chmod 777 {} \; && chmod 777 ./app/etc && chmod 644 ./app/etc/*.xml 
2
  • Hello Hitesh, Thanks for replying. after giving permission still I am getting the same error. would you please suggest any other solution for this ? Thanks, Ritika
    – ritika
    Commented Nov 23, 2018 at 10:28
  • Are you using windows ?
    – user55548
    Commented Nov 23, 2018 at 10:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.