Search Not Working - Apache 2
Previous  Top  Next

Search feature shows a blank page and does not show search results, even when there are search terms within the names or descriptions or products in the catalogue.

This can be caused by a bug in either Apache 2.0 or PHP 4.x.x or the combination of both that is described here: http://bugs.php.net/bug.php?id=18648

When a form is submitted by pressing Enter instead of clicking the submit button the field values are set to: "fieldvaluefieldname=fieldvalue", instead of just the "fieldvalue". This is only true for forms using the POST method. The search feature can be made to work by changing to GET instead, but this is likely to cause other problems.

You should ask your hosting provider to fix this and preferably not use Apache 2.0 since it's not considered to be ready for use in a production environment, at least not together with PHP. Check: http://www.php.net/manual/en/install.apache2.php