Search

Author Message

Muhammad Khalid Majeed

Tuesday 11 May 2004 5:15:20 am

I have facing the problem in search. When i search anyword in the site and when the result comes. Then again try to search anyother word. But it is not displaying the search result for the new word. It again display the old result. I am confused why its happening.

But if i cleared the cache then it display the accurate result. I think some problem with cache but i can't understand.
Plz help me.

Muhammad Khalid
Software Engineer
www.webgurru.net

Mark Marsiglio

Tuesday 11 May 2004 5:50:44 am

Have you modified any of the cache-block settings on your templates? If you enclosed the search results template in a cache block it could have this effect. The search results template is called in the pagelayout.tpl file with the line

   {$module_result.content}  

If this line is enclosed in a cache block, try removing it and see if that fixes the problem.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Muhammad Khalid Majeed

Tuesday 11 May 2004 6:17:12 am

Thanks Mark,

{$module_result.content} was inside the cache-block. But now i have question. If i remove cache-block then how can be build the cache for the templates? Will it work without this sentence?

Muhammad Khalid
Software Engineer
www.webgurru.net

Cody Wu

Tuesday 02 March 2010 12:50:10 am

Dear Muhammad Khalid

I have the same search issue as yours.
Whats your solution for it, could you share it?

Thank you very much!

Best regards,

Cody

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 00:38:34
Script start
Timing: Jan 31 2025 00:38:35
Module start 'layout'
Timing: Jan 31 2025 00:38:35
Module start 'content'
Timing: Jan 31 2025 00:38:35
Module end 'content'
Timing: Jan 31 2025 00:38:35
Script end

Main resources:

Total runtime0.9496 sec
Peak memory usage8,192.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.0000151.1953
Module start 'layout' 0.00590.0039 739.1953220.6250
Module start 'content' 0.00970.9391 959.82034,483.3359
Module end 'content' 0.94890.0008 5,443.156312.2188
Script end 0.9496  5,455.3750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3790160.0002
Check MTime0.00120.1302160.0001
Mysql Total
Database connection0.00120.130710.0012
Mysqli_queries0.869091.5064620.0140
Looping result0.00060.0587600.0000
Template Total0.899894.820.4499
Template load0.00220.228420.0011
Template processing0.897694.521020.4488
Template load and register function0.00160.169910.0016
states
state_id_array0.00130.134510.0013
state_identifier_array0.00100.105920.0005
Override
Cache load0.00180.1881210.0001
Sytem overhead
Fetch class attribute can translate value0.00150.156330.0005
Fetch class attribute name0.00210.220250.0004
XML
Image XML parsing0.00060.067430.0002
class_abstraction
Instantiating content class attribute0.00000.001250.0000
General
dbfile0.00240.2510150.0002
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs