Reputation: 151
My Magento site that is consistently erroring out and giving me the report screen with the file name, but the file does not exist in the reports folder. Also this folder have 777 permission. what could be the cause of this issue.
Upvotes: 4
Views: 1999
Reputation: 2909
Check permissions for the "var/cache" folder, it should be writeable to the system user running PHP. If yours is an Apache/mod_php installation, the user should be the same as in your Apache config (see User configuration directive). Check the following folders:
Just to test this, make sure all files and folders in Magento's "var" are accessible for the PHP user. On Linux, your can do this by running:
#> cd /path/to/your/magento/folder/
#> find ./var -type f -exec chmod 666 '{}' ';'
#> find ./var -type d -exec chmod 777 '{}' ';'
Please note that 777 and 666 permissions are NOT recommended in production environment, as they represent a security threat. Please tune your permissions, for all Magento installation files and folders, in production environment.
Upvotes: 1