hi,

everyone, I want to comment the (Configure::write('Cache.disable', true);)
in my core.php
but if I do it I will get the error:
The requested address *'/'* was not found on this server.

why is it? and what should I do?

I feel mysite is very slow.

Thanks

Rimoe



2009/3/10 Mauricio Morales <maomora...@gmail.com>

>
> You can manually delete the tmp/cache/models/* data.
>
> Are you sure that your table was created with the same DB user that
> Cake's App uses?... It could be a permission problem.
>
> On Mar 9, 4:36 pm, Rimoe <meiyo...@gmail.com> wrote:
> > Thank you for your answer,
> > so I have use the (Cache::clear()) in my controller,
> > but it has no anything has happened.
> > where should i invoke the Cache::clear()?
> > do you know,
> > then, i have set the Turn on  of (Configure::write('Cache.disable',
> true);)
> > but now I can't turn off it, if I do it, my site will not run.
> >
> > what should I do,  can you tell me more detail?
> >
> > thank you very much.
> >
> > sincerely
> >
> > rimoe
> >
> > 2009/3/9 Dardo Sordi Bogado <dardoso...@gmail.com>
> >
> >
> >
> > > > I have set (Configure::write('debug', 0)) in my core.php,
> > > > now I  added a table,
> > > > but the cake can't find the model, and can't use the new model,
> > > > In the situation, what should I do?
> >
> > > clear the cache!
> >
> > > > and I want to use the information of debug,
> > > > but I don't want to let it show in page, only show in a file,
> > > > what can I do.
> >
> > > You can create a custom datasource extending the one you are using but
> > > loggin the sql queries instead of dumping them at the end of page. Ex:
> > >http://bin.cakephp.org/view/503102878
> >
> > > HTH,
> > > - Dardo Sordi.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to