Hey All,
Well I’ve been baking a lot of cake lately, and I’ve started to delve into the core a little….it’s not all that scary…kinda haha.
This post is being made in response to the infamous:
Warning (512): Cache not configured properly. Please check Cache::config(); in APP/config/core.php [CORE/cake/libs/configure.php, line 663]
I believe I found a fix/solution for this, and from what I can tell it’s quite portable (you can use it across different installations). This solution would be used in conjunction with providing the proper credentials to your cake installations “tmp” folder and all it’s sub-directories so that your web server can get down to business.
Open up your core.php file and look for the following at the end of the file:
Cache::config('default', array('engine' => 'File');
and replace it with
Cache::config('default', array('engine' => 'File', 'path' => ROOT.'/app/tmp'));
That should do it!
Until next time, l8rz!
Thanks! Solved a problem cause by me having removed the tmp folder from the remote server …
Cheers,
D
Great!
hey dude.!!
you saved my day..
thanks a million.!!!