I got this problem once...
The cause is that i deleted everything under tmp... Including the
cache dir. If the cache dir is not there. Cake will give out an error,
and does not create the directory. Try creating it, then you problem
SHOULD be fixed. =)
Regards,
- Sergio
On Oct 22, 8:22 am, Charlie van de Kerkhof <[EMAIL PROTECTED]>
wrote:
> I have the same problem and the solution of nate didn't help.
> I think this is a bug but I don't know for sure:
> (latest svn version of 1.2.x.x. branches)
>
> In APP/config/core.php:
> - Configure::write('Cache.disable', true);
> - Cache::config('default', array('engine' => 'File'));
>
> Gives the warning 512 where [EMAIL PROTECTED] talked about.
> Warning (512): Cache not configured. Please use Cache::config(); in
> APP/config/core.php [CORE/cake/bootstrap.php, line 52]
> and
> Warning (2): Cannot modify header information - headers already sent
> by (output started at /.../APP/cake/basics.php:773)
>
> But if I configure the lines below my app does work:
> - Configure::write('Cache.disable', false);
> - Cache::config('default', array('engine' => 'File'));
>
> Is this ok? Or is it a bug?
> thnx!
> - Charlie
>
> On Oct 16, 11:54 pm, nate <[EMAIL PROTECTED]> wrote:
>
> > You don't need to modify any core CakePHP files. Just remove the
> > $cakeCache var from core.php, and add the following:
>
> > Cache::config('default', array('engine' => 'File'));
>
> > You might want to just replace your core.php with a fresh copy from
> > the latest nightly and re-input your settings.
>
> > On Oct 16, 5:08 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > > good thinking, i'll wait until tomorrow...
>
> > > On Oct 16, 2:06 pm, Gwoo <[EMAIL PROTECTED]> wrote:
>
> > > > could be a problem with the nightly
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---