I have file type custom option.When i browse any image and add to cart the products then it shows me error. Please check attached screenshot.

enter image description here

I have already give the permission. Please help.Your help would be highly appreciated.

  • does the file exist ? have you checked the file permission make sure the file permission is 755 Nov 28, 2018 at 7:24
  • Yes, The file permission set to 755. Nov 28, 2018 at 7:25
  • Also give writable access to /tmp/opt/lamp/temp, you can run chmod -R 777 /tmp/opt/lamp/temp Nov 28, 2018 at 7:33

1 Answer 1


You have to give proper permission and have to give proper user to /tmp/opt/lampp/temp folder.

Apache user means www-data don't have proper permission at that folder.

  • There is no any directory exist like /tmp/opt/lampp/temp .... But i have setup the project in /tmp/opt/lampp/htdocs/Ronnie_Work/magento226.So why error display like this? please check this screenshot.. nimb.ws/tDEwNU Nov 28, 2018 at 8:38
  • please help me!! Nov 28, 2018 at 9:44
  • create a folder at /tmp/opt/lampp/temp and check what happenn
    – Amit Bera
    Nov 28, 2018 at 9:59
  • Or create a folder name 'tmp` at pub/media/
    – Amit Bera
    Nov 28, 2018 at 10:09
  • No Luck !!!!!!! Nov 28, 2018 at 10:18

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.