Thanks for the report, Koen, I will look into it. David
Am 23.02.2007 um 11:57 schrieb Van Daele, Koen: > BTW, > > I just found out that the same behavious occurs when I disable > caching: > <caching method="read" lifetime="1 day" enabled="false"> > > First hit generates warnings. Subsequent hits doesn't. Does this mean > the enabled parameter's not working? > > When I configure the caching to only work in production, I don't > get any > errors in development. > > Koen > >> -----Oorspronkelijk bericht----- >> Van: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] Namens Van Daele, Koen >> Verzonden: vrijdag 23 februari 2007 11:49 >> Aan: Agavi Users Mailing List >> Onderwerp: [Agavi-Users] Caching >> >> Hi, >> >> I'm trying some of the caching and I get the following error >> whenever the page is first hit (once it's in cache the >> warnings are gone): >> >> Notice: Undefined index: decorator in >> /data/projects/agavi/0.11/src/filter/AgaviExecutionFilter.clas >> s.php on line 408 >> >> Warning: in_array() [function.in-array]: Wrong datatype for >> second argument in >> /data/projects/agavi/0.11/src/filter/AgaviExecutionFilter.clas >> s.php on line 408 >> >> Notice: Undefined index: decorator in >> /data/projects/agavi/0.11/src/filter/AgaviExecutionFilter.clas >> s.php on line 408 >> >> Warning: in_array() [function.in-array]: Wrong datatype for >> second argument in >> /data/projects/agavi/0.11/src/filter/AgaviExecutionFilter.clas >> s.php on line 408 >> >> Notice: Undefined index: decorator in >> /data/projects/agavi/0.11/src/filter/AgaviExecutionFilter.clas >> s.php on line 408 >> >> Warning: in_array() [function.in-array]: Wrong datatype for >> second argument in >> /data/projects/agavi/0.11/src/filter/AgaviExecutionFilter.clas >> s.php on line 408 >> >> The page itself does render fine. But I'd rather get rid of >> the warnings. These are the warnings from running in >> development mode. In production mode it points to the >> compiled file. Thought these were easier to debug. >> >> This might have something to do with my setup. Let me know if >> you need more data: >> >> Modules/Algemeen/cache/NieuwsTonen.xml: >> <caching method="read" lifetime="1 day" enabled="true"> >> <view>Success</view> >> <output_type name="html"> >> <layer name="content" /> >> </output_type> >> </caching> >> >> Config/output_types.xml: >> <layout name="complexDecorated"> >> <layers> >> <layer name="content" class="AgaviFileTemplateLayer" /> >> <layer name="decorator" class="AgaviFileTemplateLayer"> >> <parameters> >> <parameter >> name="template">GlobalTemplate</parameter> >> <parameter >> name="directory">%core.template.dir%</parameter> >> </parameters> >> <slots> >> ... >> </slots> >> </layer> >> </layers> >> </layout> >> >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.agavi.org/mailman/listinfo/users >> > > _______________________________________________ > users mailing list > [email protected] > http://lists.agavi.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
