I have a server set up on AWS and i ahve deployed my application to it, like i have done many time to other servers. After turning core.php debug to 2, the following error showed
Warning: /var/www/html/XXX/XXX/app/tmp/cache/persistent/ is not writable in /var/www/html/XXX/XXX/lib/Cake/Cache/Engine/FileEngine.php on line 389
This is a common warning i recieve any time i pull down the code from git.
As usual i run
chmod -R 777 tmp
And I still recieve the warning, which doesnt let me proceed until i fix it!
I have tried to rename the tmp folder
mv tmp tmp1
and i get this
mkdir(): Permission denied in /var/www/html/XXX/XXX/lib/Cake/Cache/Engine/FileEngine.php on line 384
Which is the warning that shows when you dont have a tmp folder in your app folder.
I have tried to changed the folder user group to apache:apache too and still no luck.
The error logs show nothing apart from the ones i get when i refresh the page.