the search form uses the GET method, but the results page is expecting the form to Use the POST method.
there are 2 possible whats to fix the problem:
1) Change the trigger code on the results page. this is what you had said you already tried. the reason it didn't work when you tried it is because you where using the wrong name for the Search submit button.
the code you say you tried:
if ((isset($_GET["Search_x"]) && $_GET["Search_x"] != "")) {
would work if the submit button where an Image element type, but in your search form, the submit button is a standard submit element type, and the name is "Search"
so the trigger code at line 11:
if ($_SERVER["REQUEST_METHOD"] == "POST") {
should be:
if ((isset($_GET["Search"]) && $_GET["Search"] != "")) {
2) the other option is to Change the method of the search form to post