Debugging nocache errors
Posted: Sun Mar 26, 2006 1:15 pm
Can someone give me some pointers for debugging a module plse?
I created a modified Bookmarks module under release 0.11 to handle Links including images. It worked OK (although I occasionally got unexplainable nocache errors when editing, which disappeared after clearing the cache), but now with 0.12.1 I always get errors as soon as I include the module, even if the module doesn't have anything to output based on the selected filters (category etc)
The nocache errors appear before/after each {} on the page - eg {title}, {style} and of course any other {cms_module...} tags. All error values are the same apart form the sequence nr at the end
Running with debug shows no errors and if I compare with eg News or the new Bookmarks I can't really see any major differences in the template calls etc.
Also, although Preview works (except for the nocache errors), after apply/submit I often have a real page with no template or style until I clear the cache
Any tips appreciated
PS I use external templates - the bookmarks module at the time (1.3 I think) did not support them
John
I created a modified Bookmarks module under release 0.11 to handle Links including images. It worked OK (although I occasionally got unexplainable nocache errors when editing, which disappeared after clearing the cache), but now with 0.12.1 I always get errors as soon as I include the module, even if the module doesn't have anything to output based on the selected filters (category etc)
The nocache errors appear before/after each {} on the page - eg {title}, {style} and of course any other {cms_module...} tags. All error values are the same apart form the sequence nr at the end
Running with debug shows no errors and if I compare with eg News or the new Bookmarks I can't really see any major differences in the template calls etc.
Also, although Preview works (except for the nocache errors), after apply/submit I often have a real page with no template or style until I clear the cache
Any tips appreciated
PS I use external templates - the bookmarks module at the time (1.3 I think) did not support them
John