Announcement

Collapse
No announcement yet.

CGI Problem

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

    CGI Problem

    Hi

    I know there are loads of posts about cgi problems but I can't seem to sort this one. We've just moved servers and I am trying to upload the store for the first time.

    When doing a test in the Advanced Network Setup window I get the following error messages:

    1.
    Actinic received a server error from the web server. The CGI scripts are not executing properly on the server. Run Web | Configure Web Site Details... to review your web site configuration.

    2.
    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.


    Here are my settings:

    HTTPPROXYMODE 0
    HTTPPROXYADDRESS
    HTTPPROXYPORT 80
    HTTPPROXYUSER
    HTTPPROXYPASSWORD
    FTPPROXYMODE 0
    FTPPROXYADDRESS
    FTPPROXYPORT 21
    FTPPROXYUSER
    FTPPROXYPASSWORD
    SCRIPTID 1
    SCRIPTEXT .pl
    SMTPHOST smtp.nildram.co.uk
    WEBSITEURL http://www.portablewelders.com/acatalog/
    IGNOREPASSIVEERRORS true
    USERELATIVECGIURLS false
    PATHTOPERL #!/usr/bin/perl
    USEENHANCEFTP false
    FTPCLIENTTIMEOUT 5000
    FTPRETRYDELAY 3000
    FTPSILENT false
    FTPMAXRETRIES 3
    FTPCONNECTTIMEOUT 15000
    SMTPAUTHREQUIRED false
    SMTPUSERNAME
    SMTPPASSWORD
    CATALOGURL http://www.portablewelders.com/acatalog/
    CGIBINURL http://www.portablewelders.com/cgi-bin/
    PATHFROMCGITOCATALOG ../acatalog/
    CODEBASE ./
    FTPHOST UNIX3.NILDRAM.CO.UK
    FTPUSERNAME
    FTPPASSWORD
    PATHTOCGIBIN /cgi-bin/
    USEPASSIVEFTP false
    FTPPATHFROMCGITOCATALOG

    Can anyone point me in the right direction? We had no problems on the last host.

    Thanks

    Ben

    #2
    Have you checked the server has a folder called cgi-bin on there? Some servers do not create one as default ... FTP to the site to check it is there (and set to 755 permissions)


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      Thanks for the reply, it was indeed that I needed to change it to 755. Works now.

      But my new problem is that Actinic keeps saying the network has timed out or that the server disk is full. We have disk space left so it can't be that.

      When uploading the site, it keeps freezing at bb000002.pl and saying that the network timed out etc etc

      It also mentions that if it is a cgi script, someone else may be using the same cgi script ID.

      Any ideas?

      Thanks

      Comment


        #4
        Advanced | Network Settings - change the script ID # to something else (perhaps two digits might be safer?).
        Bill
        www.egyptianwonders.co.uk
        Text directoryWorldwide Actinic(TM) shops
        BC Ness Solutions Support services, custom software
        Registered Microsoft™ Partner (ISV)
        VoIP UK: 0131 208 0605
        Located: Alexandria, EGYPT

        Comment


          #5
          hmmmmm

          Thanks for that, I've changed it to 21 but it's still doing it:

          An error occurred while transferring files to the web site.

          Possible Cause:
          Network timed out
          Network is down
          FTP server is down
          Remote server disk is full
          The permissions on the file or directory on the remote
          server are locked
          If the file being sent is a CGI script
          (nqxxxxxx.pl or caxxxxxx.pl) someone else may be
          using the same CGI script ID as you.

          Comment


            #6
            Is there a router in your network setup, or are you using Norton Internet Security, or even the bad version of ZoneAlarm that was replaced last week?

            It begins to sound as though the error is not necessarily on the host end.
            Bill
            www.egyptianwonders.co.uk
            Text directoryWorldwide Actinic(TM) shops
            BC Ness Solutions Support services, custom software
            Registered Microsoft™ Partner (ISV)
            VoIP UK: 0131 208 0605
            Located: Alexandria, EGYPT

            Comment


              #7
              Hi Bill.

              Just running a wireless router from the broadband, no Norton or ZoneAlarm present.

              It's starting to get annoying now......

              We definitely have enough disk space, I have checked. Permissions are fine on the cgi-bin. I've changed the script ID.

              Ben.

              Comment


                #8
                There have been several threads reporting problems with different routers (I specifically recall NetGear as one of those). May be worth doing a search on this forum on the make of your router to see if it is one of those with problems (and a posted solution).
                Bill
                www.egyptianwonders.co.uk
                Text directoryWorldwide Actinic(TM) shops
                BC Ness Solutions Support services, custom software
                Registered Microsoft™ Partner (ISV)
                VoIP UK: 0131 208 0605
                Located: Alexandria, EGYPT

                Comment


                  #9
                  sorted it.

                  I tried passive ftp and reset the router and it seemed ok. I had already tried passive ftp though. Odd.

                  What's even more odd is that it's uploaded but I can't access it. It's all there when i go in and look in ftp on dreamweaver.

                  Could it be because the acatalog folder is out of the www folder which this host requires all files to be put in??

                  Never had this problem before.

                  http://www.portablewelders.com/acatalog is where it should appear, but it doesn't. I'm baffled now. Maybe it's the heat that's doing this hehe.

                  Thanks.

                  Comment


                    #10
                    WEBSITEURL http://www.portablewelders.com/acatalog/

                    shouldn't that be

                    WEBSITEURL http://www.portablewelders.com


                    Bikster
                    SellerDeck Designs and Responsive Themes

                    Comment


                      #11
                      Well we have a site at http://www.portablewelders.com which is a static site, so don't we want the websiteurl to be http://www.portablewelders.com/acatalog ??

                      Maybe not, it's been a while since I built this store, i am actinic rusty, I don't usually maintain it, the client does, I only got involved again when the host changed.

                      Thanks

                      Ben

                      Comment


                        #12
                        Ok - based on the info that has come out in the last couple of posts, you need to change the settings in Advanced | Network Settings.

                        If you FTP to the site, is cgi-bin at the same level as www? From what I see in the browser, there is a folder at /www/acatalog/ but it is empty (yes, that is http://www.portablewelders.com/acatalog/).

                        If cgi-bin is at the same level as www, then the PATHFROMCGITOCATALOG will be ../www/acatalog/
                        Bill
                        www.egyptianwonders.co.uk
                        Text directoryWorldwide Actinic(TM) shops
                        BC Ness Solutions Support services, custom software
                        Registered Microsoft™ Partner (ISV)
                        VoIP UK: 0131 208 0605
                        Located: Alexandria, EGYPT

                        Comment


                          #13
                          Spot on

                          Thanks Bill.

                          Comment


                            #14
                            OK - glad to see you are up and running
                            Bill
                            www.egyptianwonders.co.uk
                            Text directoryWorldwide Actinic(TM) shops
                            BC Ness Solutions Support services, custom software
                            Registered Microsoft™ Partner (ISV)
                            VoIP UK: 0131 208 0605
                            Located: Alexandria, EGYPT

                            Comment

                            Working...
                            X