Wednesday, July 29th, 2009 | Author:

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!

Category: Development
You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

4 Responses

  1. 1
    Dave 

    Thanks! Solved a problem cause by me having removed the tmp folder from the remote server …

    Cheers,

    D

  2. 2
    David 

    Great!

  3. 3
    farrukh 

    hey dude.!!
    you saved my day..
    thanks a million.!!!

  1. […] have had this error but their problems seem unrelated to mine. Robert Navarro had a different cause for the error and also a different solution. This post was written with Cake PHP […]