Announcement

Collapse
No announcement yet.

Script errors

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

    Script errors

    Good Morning

    I hope someone is able to help.

    The server on which an Actinic V8 system had been running perfectly on for some years blew up and my ISP cannot figure out the settings for the new server.

    Everything appears to be uploaded into the right place and we have tested web settings and also used the wizard, to get the same results.

    We are getting internal server errors, whenever we try to use scripts.

    During the upload we get a merge error, presumably because the scripts to perform the merge are not working.

    Our ISP did modify some of the scripts by adding the second line below:

    push (@INC, "cgi-bin");
    push (@INC, "/var/www/vhosts/tumbletots.net/site5/cgi-bin/");

    This did get some of them working but then we stared getting oldprod.fil errors, again I presume because the merge did not work during upload.

    We have tried several times to upload each time trying subsequent refreshes. We have also attempted various suggestions on the community, but all to no avail.

    Our new server is a Web Fusion dedicated server, managed by Gloderworks, using Parallels Plesk Panel software

    Our web settings are:

    HTTPPROXYMODE 0
    HTTPPROXYADDRESS
    HTTPPROXYPORT 80
    HTTPPROXYUSER
    HTTPPROXYPASSWORD
    FTPPROXYMODE 0
    FTPPROXYADDRESS
    FTPPROXYPORT 21
    FTPPROXYUSER
    FTPPROXYPASSWORD
    SCRIPTID 1
    SCRIPTEXT .pl
    SMTPHOST
    WEBSITEURL http://avidgroup.co.uk/
    IGNOREPASSIVEERRORS true
    USERELATIVECGIURLS false
    PATHTOPERL /usr/local/bin:/usr/bin:/bin
    USEENHANCEFTP false
    FTPCLIENTTIMEOUT 15000
    FTPRETRYDELAY 3000
    FTPSILENT false
    FTPMAXRETRIES 3
    FTPCONNECTTIMEOUT 25000
    SMTPAUTHREQUIRED false
    SMTPUSERNAME
    SMTPPASSWORD
    CATALOGURL http://avidgroup.co.uk/acatalog/
    CGIBINURL http://avidgroup.co.uk/cgi-bin/
    PATHFROMCGITOCATALOG /var/www/vhosts/tumbletots.net/site5/acatalog/
    CODEBASE ./
    FTPHOST avidgroup.co.uk
    FTPUSERNAME *******
    FTPPASSWORD ****
    PATHTOCGIBIN /cgi-bin/
    USEPASSIVEFTP true
    FTPPATHFROMCGITOCATALOG /acatalog/

    Very frustrating, any help would be gratefully received.

    Thanks

    Clive Hudson

    #2
    I've never heard of anyone having to patch the Perl scripts to get them working. Best undo that (but keep a note of what was done).

    Settings that look suspect are:

    PATHTOPERL /usr/local/bin:/usr/bin:/bin

    Which should only have single entry and that entry should point to your perl executable. E.g.

    PATHTOPERL /usr/bin/perl

    Also PATHFROMCGITOCATALOG /var/www/vhosts/tumbletots.net/site5/acatalog/ looks long winded.

    Try:

    PATHFROMCGITOCATALOG ../acatalog/

    And also try leaving a blank entry in

    FTPPATHFROMCGITOCATALOG /acatalog/

    I.e.

    FTPPATHFROMCGITOCATALOG
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thank you Norman

      I have tried these settings and they fail the Network Test, however since everything else thus far has failed, I shall try a site refresh with these settings and see what happens.

      The original scripts were used.

      The upload is complete with a Merge Request Error, all the files have loaded into the correct place, but still we get Internal Server Errors.

      I will remove all the .fil files and the Cat files and try again

      Regards

      Clive

      Comment


        #4
        they fail the Network Test
        Telling us what error message(s) you get would be useful.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          The only error messages we get are:

          1 'an error occurred while sending the merge request' at the end of the upload.

          2 Internal Server Error

          The server encountered an internal error or misconfiguration and was unable to complete your request.

          When running the script.

          http://www.avidgroup.co.uk/cgi-bin/c...CTION=SHOWCART

          The server errorlog shows that the script cannot find the the scripts

          require al000001;
          require ao000001;
          require sm000001;

          I hope that helps

          Clive

          Comment


            #6
            Earlier you said "they fail the Network Test".

            Are you now saying that's not so?

            If you get Network Test errors that's what we need details of.
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              Good Morning Norman

              The setting test using the parameter you suggest returns the results shown below.

              The test was successful using the original parameters, the site uploaded, but the scripts did not work.

              Thanks for your help

              Clive

              CGI-BIN Working Directory: "/"

              CGI-BIN Working Directory Contents
              selinux
              usr
              lib64
              home
              vmlinuz.old
              vmlinuz
              lost+found
              dev
              etc
              srv
              boot
              initrd.img.old
              mnt
              lib
              initrd.img
              media
              bin
              sbin
              opt
              ..
              .
              root
              sys
              proc
              var
              tmp
              mount

              "../" Directory Contents
              selinux
              usr
              lib64
              home
              vmlinuz.old
              vmlinuz
              lost+found
              dev
              etc
              srv
              boot
              initrd.img.old
              mnt
              lib
              initrd.img
              media
              bin
              sbin
              opt
              ..
              .
              root
              sys
              proc
              var
              tmp
              mount

              An error occurred trying to read "../acatalog/"

              The path to the web site directory you specified (../acatalog/) points to a file.

              The web site directory is not readable.
              The web site directory is not writable.
              Unable to create a file in the web page directory.

              No such file or directory

              Unable to create a sub-directory in the web site directory.

              No such file or directory

              Comment


                #8
                The reported info "CGI-BIN Working Directory: "/"" looks wrong. This is the root of your file system (which isn't the correct location) and it should be somewhere within the FTP space of your site.
                Retry the test but restore:

                FTPPATHFROMCGITOCATALOG /acatalog/

                It may be best to wait for a webfusion user to help or search the forum for "webfusion". Note that I had a quick look and advice there may relate to older versions of their servers. So check the dates on posts.

                It may help when reporting errors to post the current network settings you are using. Otherwise people have to infer them from a sequence of earlier suggestions.
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #9
                  Thanks for your help Norman. My ISP has now decided to setup our web server in it's own partition and he believes that will enable all the scripts to work.

                  We shall see!!!

                  If it does not.....I am off to a new ISP.

                  Thanks again

                  Warm regards


                  Clive Hudson

                  Comment

                  Working...
                  X