Announcement

Collapse
No announcement yet.

No CGI on New Uploaded Site

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

    No CGI on New Uploaded Site

    I've had a site working fine through upgrades to v6, v7 and developer 7. Just went to put up my second site...first one through developer...and got a warning about identifying my cgi scripts so that they didn't get confused. Changed the number from 1 to 2.

    A) was that the correct thing to do or did I misunderstand the message?

    B) I don't have any link to my CGI bin so the cart doesn't function and the only way I can get to products is by using the URL www.silverwood2005.com/acatalog. If I leave off the acatalog it gives me a 404 when I click on the Products button.

    Thanks in advance for guidance and help.
    Jeff Pollack
    www.alldawgs.com
    www.profleeceusa.com
    www.4dogclubsonly.com
    www.silverwood2007.com

    #2
    Jeff

    a) have you checked that the all scripts have actually uploaded to the cgi-bin folder. If not try a complete refresh.

    b) looks like in might be the path to the cgi-bin or from cgi-bin to acatlog may be wrong in the Network SetUp.

    c) or the permissions may not be correct.

    Comment


      #3
      Alistair:

      Thanks for the reply. Just re-ran Configure Web Site Details.

      Path to CGI-BIN: /public_html/cgi-bin/
      Path from CGI-BIN: /public_html/acatalog/

      CGI-BIN URL: http://www.silverwood2005.com/cgi-bin/

      CGI Script Extention: .pl

      Path from CGI-BIN to Catalog (as viewed from the CGI Script): ../acatalog/

      So, everything seems to be as it should be.

      I've tried a refresh and it doesn't change the result.

      Any more help...?
      Jeff Pollack
      www.alldawgs.com
      www.profleeceusa.com
      www.4dogclubsonly.com
      www.silverwood2007.com

      Comment


        #4
        In Advanced | Network Setup does it Test OK?

        In Help | Troubleshooting does View Error Log tell you anything? I've had a couple of goes so there may be some errors.

        You can also use Website Analysis this will tell you a lot about the paths, permissions and scripts.

        Comment


          #5
          Ran the Network test and all was fine. Tried your second suggestion and got the same type 404 message. Anything else I should try?

          Thanks again for your help.
          Jeff Pollack
          www.alldawgs.com
          www.profleeceusa.com
          www.4dogclubsonly.com
          www.silverwood2007.com

          Comment


            #6
            Jeff

            The 404 error is not writing to the error.err file.

            The links to the script files on the site are correct to what I would expect.

            The problem has to be either paths or permissions.

            On a similar unix box I would expect the network set up to be;

            Catalog URL: http://www.silverwood2005.com/acatalog/
            CGI-BIN URL: http://www.silverwood2005.com/cgi-bin/
            Codebase: ../
            Path from CGI-BIN to Catalog (as viewed from the CGI Script): ../acatalog/
            CGI Script Number: any 0 to 9
            CGI Script Extention: .pl
            Website URL: http://www.silverwood2005.com
            Path to Perl: /usr/bin/perl
            Path to CGI-BIN: /cgi-bin/
            Path from CGI-BIN: /acatalog/

            Have you checked that perl is enabled and that you have the correct permissions set i.e. 755?

            Have you run the Help | Troubleshooting | Website Analysis I suggested? This uses a perl script so that will test that perl is enabled and running and tell you everything about your set up.

            Comment


              #7
              Jeff

              It seems to work now. What was it?

              Comment


                #8
                According to the tech at the host this was the problem:
                "It calls the script "ss000002.pl" which did not have execute permissions. I have issued the command "chmod -R 755 cgi-bin/" whih corrected the problem. Please, in the future simply verify the script has execute permissions by issuing the chmod command via ftp on the script in question."

                Since I never had the problem before...I didn't do anything except upload the site. Of course, I'll know the next time what the problem is...but, not how to do what he told me.

                Thanks again for your help and concern Alistair.
                Jeff Pollack
                www.alldawgs.com
                www.profleeceusa.com
                www.4dogclubsonly.com
                www.silverwood2007.com

                Comment


                  #9
                  Jeff

                  From that it sounds as if the whole folder \cgi-bin did not have execute permission.

                  Not an uncomon problem particularly if you had created the folder yourself.

                  Under attributes 755 = -rwxr-xr-x. FTP apps such as Ipswitch let you set the permissions on a file or folder.

                  Anyway glad it works.

                  Comment

                  Working...
                  X