Sunday, July 26, 2009

Re: Cache not configured properly

i get the same warning in debug mode.. just tested it


On 26 Jul., 06:54, Eric <eric.winch...@gmail.com> wrote:
> Turns out it is actually working, but I'd still like to fix the error
> msg for debug mode if possible.
>
> On Jul 25, 11:35 pm, "eric.winch...@gmail.com"
>
> <eric.winch...@gmail.com> wrote:
> > 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: