Announcement

Collapse
No announcement yet.

Uploading Problems

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

    Uploading Problems

    I'm having problems uploading to my site on http://www.uk-cheapest.co.uk/ I'm hosting my old site as well as developing my new site in a subdomain. Both the Network wizard and the Advanced Network 'test' function both report that the cgi scripts fail to execute properly. The wizard halts when trying to perform a cgmod comand and the Advanced Network test halts indicating "The test script failed to execute on the web server. The error could be caused by several things. Check the path to the Perl shell, the CGI script extension, the path to CGI-BIN, and the CGI-BIN URL. This error could also occur if your web site is out of disk space or your web server is not configured to accept POSTs to CGI scripts."


    path to the perl shell =usr/bin/perl and is confirmed in the UKC FAQ

    Web Site URL = http://www.shop.<mydomain>.com/
    Catalog URL = http://www.shop.<mydomain>.com/acatalog/
    CGI-BIN URL = http://www.shop.<mydomain>.com/cgi-bin/

    Path from CGI-BIN to acatalog = ../acatalog/ (i have tried ./acatalog/ as well but unless it's ../ the acatalog dir is created ib the cgi-bin directory not one level up )

    Path to CGI-BIN = /var/www/shop/cgi-bin/

    Path from CGI-BIN to actalog (ftp svr) has been tried as blank, ./acatlog/ and ../acatalog/

    Perl ext has been checked on the web svr. It was set to just * but I chnaged it to .pl as well without any effect.

    The rights to the CGI-BIN dir and files have been checked = 755

    I can connect using a ftp client and add, change, delete etc files from any directory I want using the same userid and psw that is entered in the network setup.

    I've done this a few times on a dev wwwsvr and on a freeweb svr and it's always uploaded fine it's just now when I want to go live it wont!

    Has anyone got any experience with this company and it's server config? Any ideas?

    #2
    - Path to perl sounds right.

    - Path from cgi-bin to acatalog sounds right as ../acatalog/

    - Path to cgi-bin. Is this what you have to do when you ftp into your site? i.e. enter the var directory, then www directory then shop directory? If so then /var/www/shop/cgi-bin/ would be right.

    Mike
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

    -----------------------------------------

    Comment


      #3
      Well the site has uploaded correctly and all files are present. I can browse around the site using hyperlinks but when a try to view the cart or use the section listing down the sides then I get a 500 Internal Server error. Basically anything that tries to call a file that resides in the cgi-bin directory generates this error.


      Looking at everything I have tried it seems to me that there is only two things it can be.

      1) incorrect path the the perl shell
      2) cannot list, read or execute any files in the cgi-gin dir

      Is that a correct assumption?

      I have double checked the FAQ's for the correct path but will send a mail to support asking them to confirm the path for the perl shell, cgi-bin etc.

      It should also be noted that this same site can be uploaded to my II6.0 dev server and will perform correctly which suggests that my assumptions are correct.

      Comment


        #4
        Fron uk-cheapest support pages ( http://www.uk-cheapest.co.uk/help-cg...p?ref=esupport ):-

        7. What is the absolute path to my cgi-bin?
        /home/virtual/yourdomain.com/var/www/cgi-bin

        It looks like you need more site specific info in your path to cgi-bin.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          thanks for that

          I did see that article and followed the advice but in a slightly different way. When I ran Network Wizard to define the settings that way I actually browsed to that path and it still failed.

          It isn't beyond the realms of possibilty that after working on the site all day I made a mistake anyway as it was midnight when I was trying to troubleshoot.

          I'll try again later.

          Comment


            #6
            Had a mail back from the support team. There are a few questions that I don't have answers for. Can anyone help? Please!



            There were some possible answers to this ticket in our knowledgebase, they are listed below:
            CGI and Perl Scripting Problems
            http://www.uk-cheapest.co.uk/support...3205&doclose=1

            How do I set up my CGI Scripts?
            http://www.uk-cheapest.co.uk/support...3205&doclose=1

            May I run custom CGI scripts?
            http://www.uk-cheapest.co.uk/support...3205&doclose=1

            Comment


              #7
              After spitting my dumming they have finally come back with the response below:

              Please try removing the www. from the fields which relate to your sub-domain (Catalog URL, CGI-BIN URL, Web Site URL), the sub domain "shop" replaces the standard "www" prefix.

              I'll go me and try it tonight. In the mean time does anyone have an opinion as to whether it will work or not?

              Comment


                #8
                well just as i thought it makes no difference.

                It has to be the path the site/pages is using for the scripts but i don't know what else to try and the hosting company are a bunch of ****ers! Might be time to pull the plug on them.

                Comment

                Working...
                X