Saturday, July 25, 2009

Cache not configured properly

Warning (512): Cache not configured properly. Please check
Cache::config(); in APP/config/core.php [CORE\cake\libs\configure.php,
line 663]

core.php:

Configure::write('Cache.check', true);
Configure::write('Cache.disable', false);
Cache::config('default', array(
'engine' => 'Memcache' //[required]
'duration'=> 3600, //[optional]
'probability'=> 100, //[optional]
'servers' => array('127.0.0.1:11211'), //[optional]
'compress' => false, // [optional] compress data in Memcache
(slower, but uses less memory)
)
);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: