PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Files Uploaded Search Questions -

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Files Uploaded Search Questions -

    I uploaded the 10 files (using cgi script) via the Zoom option. The link is here: http://www.attinc.com/index.htm

    On my index page I changed the form to point to search.cgi. When I test the search on my index page, and then look at the code, it is still showing search.pl. That has me stumped as the code on my computer is cgi-bin/search.cgi. The old search used search.pl (it still resides in the folder though I would assume since the index is/should be showing cgi-bin/search.cgi that it being there would make no difference).

    After indexing where it ask which folder you want the files uploaded to I entered cgi-bin. The files are not there.

    I read chapter 2.5 and 5.2.

    Any direction is very much appreciated. Thank you.

    Frieda

  • #2
    The code on your search form is,

    Code:
    <form method="GET" action="cgi-bin/search.cgi"> 
    <input type="text" name="zoom_query" size="10">
    <input type="submit" value="Go"> 
    </form>
    So for this to work, all the search files need to be uploaded into the cgi-bin directory.

    However when I check the files on your site. None of the search files appear to be in the cgi-bin directory.

    So I am guessing you have uploaded the files to the wrong directory.

    After some further hunting around your site, I found the search files in the root level directory. For example I found,
    http://www.attinc.com/search_template.html
    but it should be
    http://www.attinc.com/cgi-bin/search_template.html

    So you need to move the files on your server, or re-upload them to the correct directory.

    ----
    David

    Comment


    • #3
      Hi David -

      I know what you are saying and I guess I did not articulate it adequately - I tried it both ways and that is why you are seeing the files in the root directory. However, when that did not work, I re-indexed, selected the cgi-bin folder that is offered when ZOOM is ftping, re-uploaded BUT the files still are not showing up there.

      I knew that was probably the problem - just don't know why they are not uploading there. This is a screen shot of what I have selected:



      It goes through the uploading process just fine - when I check to see if the files are in the dgi-bin folder, they are not there, as you noted. That was what I was trying to convey but didn't get across very well.

      Thanks David, for your help!

      Frieda

      Comment


      • #4
        We don't have access to your server and so can't tell you what the full directory path should be.

        When you connect to your server with FTP you will be given some initial directory. We don't know what this is becuase it varies from one host to the next. You should know what it is becuase you must have uploaded files to your server in the past.

        The path you enter in Zoom is the path from this initial FTP directory to the location where you want the files.

        The other alternative is to use a full 3rd party FTP client to browse the files on your server and then upload the search files (in FTP binary mode) to where you want them. Or move the existing files on your server to the right directory.

        ----
        David

        Comment


        • #5
          I must be missing something that should be quite evident.

          I am sure the path I used is correct: www.attinc.com/cgi-bin/search.cgi

          Here are the files in my cgi-bin folder:

          http://www.ados.com/~vanover/Image3.gif

          I manually moved the files into the folder and now I get the page below:

          Here is the error I get:

          http://www.ados.com/~vanover/Image2.gif

          I wanted to insure Binary was selected so I again manually loaded the files via ftp. I chmod the search.cgi file though I did not have a choice of 755 - it just gave me chmod (UNIX). I assumed that was right.

          I was not sure how to check to make sure the other files had read permission. Is that the same as chmod?

          I am mystified but am continuing to search and read through the manual and Support FAQs.

          Many thanks!
          Frieda

          Comment


          • #6
            I still suspect the files are in the wrong place.

            It is possible that
            http://www.attinc.com/cgi-bin/
            and
            ftp://ftp.attinc.com/cgi-bin/

            are not the same directory on the server.

            Also, the link you gave to Image2.gif is broken.

            If you want E-mail us your FTP account details to davidw at wrensoft dot com and I'll have a look.

            ----
            David

            Comment


            • #7
              Hi David -

              I emailed you the account info this morning. Thank you for taking a look. I think you said that the server supports asp and php. If this doesn't work out maybe I can try one of those.

              Frieda

              Comment


              • #8
                After using FTP to browse around your site I can see that the URL
                http://www.attinc.com/cgi-bin
                does not correspond to the directory /cgi-bin on your server.

                To prove this I renamed the directory on your server to /cgi-bin-old and then tried the the link,
                http://www.attinc.com/cgi-bin/search.pl
                which worked, proving that the real cgi-bin directory is elsewhere. I am guessing that your web host has remapped the directory to a place where you can't access it via your FTP login. You'll need to check with your host if you want the details.

                To get around the road block you hosting company has put in your way, I have made a new directory called /search and indexed your site with the PHP option.

                This is now working fine on your site. See this link,
                http://www.attinc.com/search/search.php

                If you want to improve the look of the pages, change the fonts, add some colour, see this link,
                http://www.wrensoft.com/zoom/support/css.html

                ---
                David

                Comment


                • #9
                  First I must say a HUGH thank you, David. YIPPEEE!! It works wonderfully!! I am so impressed with the support that Wrensoft provides - ALL the bases are covered - easy to use software, great manual, online FAQs, great forum, and additional support if needed. I highly recommend the software - it is well-worth the dollars.

                  I so appreciate the help - this is a major improvement over the previous search they had on this site.

                  Many thanks!

                  Frieda

                  Comment

                  Working...
                  X