solved[search not working, working only for first time.]

Author Message

manoj sharma

Tuesday 16 June 2009 6:33:21 am

hi guyz,

i am using ezpublish 4.0.1 with ezflow.
i am not having virtual host. but want to make search work.

i have tried to diagnose why its not working but could make it work.

my problem is that when i search for any keyword, the first keyword i use is working but when i try with another it seaches for first keyword not by second.

exampel:

when i try to search with key word "ezpbulish" it shows results
but when i try to search with second keyword "mysite" it shows results from the first serach results and first keyword into search text box.

when i clear cache from backend(admin panel) it search for the keywork i provide but again after searching for different keywork it list the result of first keywork searched.

i think there is something wrong with cache block..

because we clear cache it is working for the first time.

Any help would be deeply appreciated.

Thanks & Regards,
Manoj Sharma

André R.

Tuesday 16 June 2009 7:59:28 am

It looks like you have added a cache-block around either $module_result.content in pagelayout.tpl (look for unclosed cache-block's) or inside the search template.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

manoj sharma

Wednesday 17 June 2009 3:32:26 am

cache block problem was there.

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