PassMark Logo
Home » Forum

Error Inserting Search Code Into Larger Page

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • David
    replied
    Maybe ASP was not enabled on your server, and PHP is?

    Leave a comment:


  • christi
    replied
    Strangely, switching to PHP seems to have solved this problem.

    Leave a comment:


  • christi
    replied
    I did try that but with no better luck. :/ I even tried reinstalling as CGI and doing it that way but it still says it can't find the file. I know it's the right path because the browser will let me go to the search_template.html in that directory - it just won't search via the HTML form. Works fine when I use the default search page provided by Zoom, though.

    I'm on Windows Server 2008 if that makes any difference. Any ideas?

    Leave a comment:


  • David
    replied
    Try using the full URL to the search.asp script.
    <form method="GET" action="http://www.yoursite/search/search.asp">

    Leave a comment:


  • christi
    started a topic Error Inserting Search Code Into Larger Page

    Error Inserting Search Code Into Larger Page

    I'm trying to use the code given in the user manual to insert a search box into each page of our intranet site (slightly amended to suit our directory structure):
    <form method="GET" action="search/search.asp">
    <input type="text" name="zoom_query" size="10">
    <input type="submit" value="Search">
    </form>
    When I try to do a search I get the following error:
    404 - File or directory not found.
    The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
    I swear "search.asp" exists in the "search" folder directly below the file with this code in it. Can anybody help me figure out why this might be messing up?

    Thanks a bunch.
Working...