I was using a slightly modified version of search-results.tpl.php in my theme and no search results were displaying with search404. Removing the customized file from the theme fixed it. Tried other modified search templates and this was the only one that had any effect. Also tried to replace the modified version with the original (from the Search module), no modification, and that didn't fix it either. The only thing that worked was to remove search-results.tpl.php from the theme.

More info about this bug is on : http://drupal.org/node/489260
I didn't want to copy all as you can see the problem we have.

Comments

vflirt’s picture

I copied the description from the link i provided.
As explained more details about it of this can be found there.

jhodgdon’s picture

Status: Active » Fixed

If you go read the other referenced issue, you find out that the issue is that in Drupal 6.12, if you copy search-results.tpl.php into your theme folder, and do not put a yourtheme_preprocess_search_results() function into your template.php file, the search results page is empty.

This appears to be a bug in the theming core code of Drupal 6.12.

However, I just tested it in Drupal 6.15, and this problem does not exist. So I am closing this issue.

Status: Fixed » Closed (fixed)
Issue tags: -theme, -search, -search results

Automatically closed -- issue fixed for 2 weeks with no activity.