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