RE: Search from HTML page doesn't work
Elizabeth Lindsay <[email protected]> Mon, 21 Apr 2003 10:52:04 -0500
| Newsgroups | gmane.comp.web.perlfect-search |
|---|---|
| Message-ID | <[email protected]> |
It sounds like you haven't indexed your site yet. I'm afraid I don't have my instructions in front of me, but you'll need to run the indexer as per the readme file. Elizabeth -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of [email protected] Sent: Monday, April 21, 2003 10:36 AM To: [email protected] Subject: [Perlfect-search] Search from HTML page doesn't work I am new to Perfect-Search so please bear with my ignorance. I have installed and tested Perlfect-Search by directly accessing the /cgi-bin/perlfect/search/search.pl in my browser as suggested in the README doc and this works fine. I am now trying to make an html page that has the search box in it but can't seem to get this to work. Everytime I put in a search term it returns saying there are no results, no errors, just no returned results. If I put the exact same term in by directly accessing the search.pl file in my browser it works fine. I am using the template search.html file supplied in the installation template directory as the base for my test html file. Does anyone have any ideas on what could cause this and how to fix it? I have attached my shortened version of the search.html that I am using. Thanks Mark Dolata Attachment: search.html -------------------------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html> <head> <!-- the following meta tag is important to avoid cross site scripting attacks: --> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>Your search for '<!--cgi: query_str-->'</title> </head> <body bgcolor="white" text="black" link="blue" alink="red" vlink="purple"> <br /> <center> <br /><br /> <form method="get" action="/cgi-bin/perlfect/search/search.pl"> <input type="hidden" name="p" value="1"> <input type="hidden" name="lang" value="<!--cgi: lang-->"> <input type="hidden" name="include" value="<!--cgi: include-->"> <input type="hidden" name="exclude" value="<!--cgi: exclude-->"> <input type="hidden" name="penalty" value="<!--cgi: penalty-->"> <input type="hidden" name="sort" value="<!--cgi: sort-->"> Search again: <select name="mode"> <option value="all"<!--cgi: match_all-->>Match ALL words</option> <option value="any"<!--cgi: match_any-->>Match ANY word</option> </select> <input type="text" name="q"> <input type="submit" value="Search"><br /><br /> </form> </center> <br /> <table border="0" cellpadding="2" cellspacing="0" bgcolor="#dddddd" width ="100%"> <tr> <td>Page <!--cgi: current_page--> of <!--cgi: total_pages--></td> <td align="right"><a href ="http://perlfect.com/freescripts/search/">Perlfect Search 3.31 (c) Perlfect Solutions 1998-2003</a></td> </tr> </table> </body> </html> _______________________________________________ perlfect-search mailing list [email protected] To unsubscribe, set other personal options or view the list archives please visit: http://perlfect.com/mailman/listinfo/perlfect-search _______________________________________________ perlfect-search mailing list [email protected] To unsubscribe, set other personal options or view the list archives please visit: http://perlfect.com/mailman/listinfo/perlfect-search