0

Facing the following error in my 'magento localhost'. Tried creating a 'tmp' folder in the 'root directory' but is not working. Maybe I'm creating it in the wrong directory? Thanks

enter image description here

asked Sep 21, 2017 at 16:14

1 Answer 1

0

Chance that this is a permissions issue? Was going to leave a comment, but don't have high enough reputation. Magento's var directory is normally right inside the magento root, so where you created your temp folder should have been fine. Did you name it just 'var' or 'var_dir'?

answered Sep 21, 2017 at 16:28
4
  • Hello Codestr, 'var' folder was already created automatically. I just created 'var_dir' folder and 'tmp' folder as well. still not working. I created all folders in: '../XAMPP/xamppfiles/htdocs/(magento)/ Is that correct? Thanks Commented Sep 21, 2017 at 17:03
  • That would be the right location, I believe, but if the var directory already exists, I don't think adding another will help. Is that folder writeable by the webserver user? Aside from permissions I'm not sure what else would be the cause, I'm much more familiar with v2 than I am with v1. Commented Sep 21, 2017 at 19:12
  • How would I give permission to make the folder writable? Commented Sep 21, 2017 at 23:45
  • Use chmod and chown commands. To make sure the webserver can write to the location it will be something like chown -R your-user:web-server /your/magento/root/*, replacing the user names with your user and web server users respectively, and then the top answer here > magento.stackexchange.com/questions/91870/… will tell you how to set file permissions Commented Sep 22, 2017 at 11:51

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.