h1. Search result troubleshooting [todo]
Some common issues with searching:
If your search results page is completely blank (a zero byte page), the problem is probably a fatal error that is not displayed because of your Production Status setting. See “this FAQ”:http://textpattern.com/faq/74/blank-page-after-editing-a-page-template for more information.
Page layout is displayed, but no articles
If your search results page shows its normal page layout, but with no articles, you should check three things:
That the sections containing the articles in question have Include in site search set to Yes on Textpattern > presentation > sections.
That the search term you’re using really does match some articles. Test the same search term in the Search Body & Title box on Textpattern > content > articles, and make sure that finds at least one Live article. If not, use a single, common word, and try varying the case. Case sensitive search results are caused by an incorrect collation setting on your Textpattern database or table.
If you’re using a special section such as @/search/@ to display your search results, make sure your @@ tag doesn’t specify @searchall=0@ - this will force it to look for articles in the @search@ section. @searchall=1@ is the default; this tells the article tag to display results from all sections that have Include in site search set to Yes.
Wrong articles are displayed
If your search results page displays the wrong articles - the same articles as your front page, for example - it’s probably because you’re using the @
Either change your page template to use @@ instead, or use a separate section and template to display the search results.