0

I noticed that my magento onlineshop does not create any files in var/cache, var/report and it does not report anything to the logfiles in var/log.

The var directory has the permissions drwxrwxr-x and the user and group are set correctly

Logging is enabled:

enter image description here

What is going on?

  • What permissions do you applied to var dir – Ylgen Guxholli Mar 5 at 13:30
  • @YlgenGuxholli see my updated question – Black Mar 5 at 13:37
  • @RakeshDonga, yes logging is enabled in backend. – Black Mar 5 at 13:39
  • 1
    Glad you solved that :) – Ylgen Guxholli Mar 5 at 14:03
0

I solved it. I changed the permission of the folder var to 777 temporarily. Then because I had error reporting and developer mode turned on in the index.php, I got an error saying that the cache dir is not writable.

So it was obvious that the user or group were not correct. It turned out that I had to change the group wwwrun to www.

So I executed chown -R myuser:www * in my magento root.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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