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

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'?

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 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.
    – codestr
    Sep 21, 2017 at 19:12
  • How would I give permission to make the folder writable? 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
    – codestr
    Sep 22, 2017 at 11:51

Your Answer

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

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