I’m having some very weird issues with advanced search.
I have one template for search results (search/index) and one for no results (search/none). Sometimes a search returns no results using the correct search/none template, sometimes I get the default Design -> Message Pages -> User Messages template displaying EE’s “no results” message. The path is still to the search (results) template.
And the weirdest thing is that sometimes the exact same search query can return “no results” using EE’s template and all of a sudden it’ll give me results and then no results again. Just did a search for the exact same word and got 5 no results and 2 right results using the right template.
Not using templates as files and the template group isn’t called search (I just said that here to make things easier).
Form
{exp:search:advanced_form result_page="{path_search_results}/index" no_result_page="{path_search_results}/none" channel="{site_lang}_pages|{site_lang}_products|{site_lang}_news" search_in="everywhere" status="Open|Hidden"}
{/exp:search:advanced_form}
Results
{exp:search:search_results}
<h3><a href="http://{page_url}">{title}</a></h3>
<p>{excerpt}<br />
{/exp:search:search_results}ExpressionEngine 2.1.3 build 20110405. I’m not on drugs.