Magento Error Log file is not createed

If you see an error like this it is a complete application failure - which will actually be logged by corresponding number to /var/report/

(Per comments) if this dir doesn't exist try to set 777 perms recursively on var a la chmod -R 777 var/


If you want to see these errors directly on the page, add

SetEnv MAGE_IS_DEVELOPER_MODE true

to the top of your .htaccess file. You will get the full error directly through the browser, instead of having to get the file from var/report.

Note:: Remove SetEnv MAGE_IS_DEVELOPER_MODE true from .htaccess before you go live!

The most concise and comprehensive post I have seen on Magento debugging, and a great resource, is here: Fundamentals for debugging a Magento store


It sounds like the fault is with permissions of the folder and the files within.

Sometimes when Magento create a folder it doesn't add the correct permissions to that folder "As in user / owner permissions" not just 777.

You need to:

  1. Login via SSH as root and type the following

chown accountuser.accountuser /home/accountuser/public_html/var/report

Or

chown accountuser.accountuser /home/accountuser/public_html/var/report* "But be very careful with the "*" I'd personally do it just for the last few as getting it wrong will cause you a world of pain.

  1. Get your host to sort it out and then happy days

Tags:

Error Log