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