As noted in the FAQ:
Your search form is submitting to "search.php"
It should be changed to submit to "mysearch.php"
At the moment, a search for "vase" goes here:
http://freddo.bf.rmit.edu.au/~s3198941/Assignment2/Website/search.php?zoom_query=vase
When it should go here:
http://freddo.bf.rmit.edu.au/~s3198941/Assignment2/Website/mysearch.php?zoom_query=vase
When you go to the latter URL, you will see the following error:
This indicates that the virtual() operation is not available on your web server, as described here. As noted in our FAQ, you can use include() instead. So replace the line:
<?php virtual("search.php"); ?>
With this:
<?php include("search.php"); ?>
If you have search forms placed elsewhere on your website which was previously pointing to "search.php" (or "search.asp", etc.) then you will need to update their action= attribute to point them to your new search page (e.g. "mysearch.php").
It should be changed to submit to "mysearch.php"
At the moment, a search for "vase" goes here:
http://freddo.bf.rmit.edu.au/~s3198941/Assignment2/Website/search.php?zoom_query=vase
When it should go here:
http://freddo.bf.rmit.edu.au/~s3198941/Assignment2/Website/mysearch.php?zoom_query=vase
When you go to the latter URL, you will see the following error:
Fatal error: Call to undefined function virtual()
<?php virtual("search.php"); ?>
With this:
<?php include("search.php"); ?>
Comment