Very strange because I use the same approach. Are you sure your query is not in the log because the element is already cached ? If the element is cached, then your query is not executed and ...therefore no log.
Hope this helps Franck On Sep 15, 6:53 pm, Claudia <[EMAIL PROTECTED]> wrote: > Hi there > > One of my controllers has an action that is only called via > requestaction from within an element. The idea behind is to cache this > element as described > inhttp://bakery.cakephp.org/articles/view/optimizing-your-cakephp-eleme... > > Generally this approach works fine, the only problem that I have is > that the queries made in the requested action are not displayed in the > query log even if no caching is used. This makes it hard to > troubleshoot any problems with the queries. > > Does anyone have an idea why the queries are not in the log and how I > could get them there? > > I am using cake 1.2. > > Thanks for any hints > > Claudia --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---