Hey man, could you solve this? I'm currently having a very similar
problem.




On Nov 30 2007, 7:33 pm, Mech7 <[EMAIL PROTECTED]> wrote:
> I have in webroot index.php
>
> define ('CAKE_CORE_INCLUDE_PATH', 'C:' . DS .'wamp'. DS .'www'.
> DS .'cake_1.2');
>
> When i look at the framework even if cache is not configured it should
> fall back to th default file caching..
>
> But still i have in core.php
>
> Cache::config('default', array('engine' => 'File'));
>
> Even with:
>
> Configure::write('Cache.disable', true);
>
> It still does not work.. it can't read the cache configuration.. even
> though all it is supposed to do is throw up an error and revert to
> default file caching..
> cause if you look in bootstrap.php in the framework.. on line 51:
>
>         if(Configure::read('Cache.disable') !== true) {
>                 $cache = Cache::settings();
>                 if(empty($cache)) {
>                         trigger_error('Cache not configured properly. Please 
> check
> Cache::config(); in APP/config/core.php', E_USER_WARNING);
>                         Cache::config('default', array('engine' => 'File'));
>                 }
>         }
>
> On Nov 29, 6:21 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
>
> > On Nov 29, 2007 11:55 AM, Mech7 <[EMAIL PROTECTED]> wrote:
>
> > > Does anybody allready solve this? even with a total new setup this
> > > problems still occurs.. i opened a ticket but it was closed because
> > > not enough info? But really how can i provide more if i don't know
> > > what is the problem :|
>
> > I have no problem running my app in one directory and having cake in
> > another, so I have no idea what may bewronghere.
>
> > Cache::config('default', array('engine' => 'File'));
>
> > I did this and have no problems.
>
> > Cake core is in Sites/cake
> > Applications are in Sites/<appname>
>
> > I changed Sites/<appname>/config/core.php and added a line at the very end 
> > of it
>
> > Cache::config();
>
> > I changed Sites/<appname>/webroot/index.php to have this
> > define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'cake');
>
> > Everything works just fine.  No warnings, etc.
>
> > --
> > Chris Hartjes
>
> > My motto for 2007:  "Just build it, damnit!"
>
> > @TheKeyboard -http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to