| Wednesday 10 December 2003 2:48:23 am 
                                                                
                                                                 The search won't work on my public site which of course is cached with cache-blocks in pagelayout.tpl (not around the {$module_result.content} though). Search works fine in admin siteaccess.. Anyone else had the same problem?  Also I've used cache-blocks in article.tpl.. Could this be a problem? 
------------------Bug cache-block: either admin or search won't work started by Bård Farstad
 Started bugs: First Previous Next Last Back to list
 
There's a strange problem with the {cache-block} element.When TemplateCache is enabled in site.ini (thus making cache-block actually work) the search engine won't work, that is, it will work the firs time, and then always show the same search results.
 On the other hand, when I disabled TemplateCache, I couldn't create new content objects in the admin interface. After I click create new, it will show a blank page.
 Workaround: remove all {cache-block} in pagelayout.tpl  ---- Correctly used? by Bård Farstad (02/12/2003 9:11 am) ---- How was the cache block used? 
It sounds like you have a cache block around the:{$module_result.content}
 This will not work since dynamic content is returned from this variable. A pagelayout with cache block can look something like this:
 
{cache-block}... menues / navigation
 {/cache-block}
 {$module_result.content}
 {cache-block}
 ... footer / navigation
 {/cache-block}
 Was this in any of the Exponential packages?  ---- Started by Bård Farstad (02/12/2003 9:17 am) ---- ---- Similar problem in 3.2-2 by Valentin Svelland (10/12/2003 11:44 am) ---- The search on my public site doesn't work. The pagelayout.tpl is cached with cache-blocks (not the {$module_result.content}). When I do the same search in admin siteaccess it works fine.  I'm also using cache-blocks in article.tpl - could this be the problem?  |