Announcement

Collapse
No announcement yet.

script execution related error. Anybody up for a challenge?

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

    script execution related error. Anybody up for a challenge?

    hello all - first post, and it's trouble.


    BASICALLY:
    -------------------------------------------------------------------
    on our website (londonmarketsite.com) CHECKOUT NOW button doesn't work.
    CHECKOUT works, just not when you're in the basket. All other aspects of the website work fine.
    -------------------------------------------------------------------

    what happens when you press 'check out now'
    -------------------------------------------------------------------
    - A basket summary is shown, then on redirect you are taken to
    - ¨not acceptable¨ ¨an appropriate representation of (whatever - ca00000.pl and .pm s) could not be found. (at address)¨

    reset it
    -------------------------------------------------------------------
    - having purged, refreshed, re-installed, refreshed and purged and refreshed, it's not that.
    - In fact i completey wiped the website and used the default one, which failed also.

    Where's it hosted?
    -------------------------------------------------------------------
    The site is hosted by iPower web. A very large american company whom i trust (perhaps foolishly) to work.

    are the scripts absent or in the wrong place?
    -------------------------------------------------------------------
    The scripts are in the locations stated by the error - and with content. Oddly, when downloaded (through an external ftp program) they have a different lenght - 91,000 not 94,000. (this could be the ftp program downloading in the wrong encoding? and doesn't concern me, as i trust actinic to upload correctly).

    does the server support the scirpts?
    -------------------------------------------------------------------
    Perl is supported using seemingly standard settings (cgi-bin etc)


    SO: network settings...
    -------------------------------------------------------------------
    Previously they have been fine (and i think the problem was there??)
    but recently i get:


    ADVANCED | NETWORK SETUP | TEST
    ------------------------------------------------------------------
    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.


    CONFIGURE WIZARD:
    ---------------------------------

    >>proxy setup - fine
    ===============================================
    >>download isp configuration file - fine.
    ===============================================
    >>FTP setup- fine
    ===============================================
    >>web site address - fine
    ===============================================
    (server down message)

    >>FTP directory paths - shows this error once, then on ok, proceeds
    ===============================================

    ¨the wizard recieved an error connecting to the FTP server during testing. TRY again later or contat your system administror or ISP to resolve the problem. the specific error was: A connection with the server could not be established.¨

    >>CGI-BIN Address...
    ===============================================
    warning: the web server and cgi server are on different machines. You will not be able to accept orders using off-line credit cards with Actinc encryption unless you take special precautions. Contact your Actinic reseler or Actinic Supposrt as appropriate.

    http://host391.ipowerweb.com/~londonma/cgi-bin/ - HAS cgis in it (go see...)

    >> PERL INSTALLATION.
    ===============================================
    >>>>trying perl guesses
    >>>>checking the perl installation location. froze.

    an error occurred while attempting to change permissions of a file or firector.
    There was a fialire in connecting to the FPT sever in an attamep to execute a FTP chmod command.
    The connection wizard will not continue.
    Please configure your network ettings through the Advanced | Network Settings dialog.
    Contact your Actinic reseller or Actinic Support as appropriate for any assisstance that you may require

    OR (before it started doing that....) it would get to the screen saying:

    The wizard needs to know where Perl is installed on the web server and what extension Perl scripts must have in order to execute on the remote server. You may need to contact your ISP to gather this information. Be sure to specify the "." on the extension if it is required. For example, ".cgi", or ".pl".

    /usr/bin/perl <==== is correct

    .pl < ---- is not.
    i tried .pl .pm .cgi and ¨.pl¨ ¨.pm¨ ¨.cgi¨.

    each time you get a general 'could not connect to the sever' type message with HTTP mentioned. s






    so - ?
    the scripts being on a different machine - is this a) definitely true? b) a problem to be solved?

    and as for the rest....it's a bit mysterious. the settings seem ok. could there be a '3 tries only' thing on the server? (as it's always erroring, and wasn't when i started writing this..)

    also - the wonkiness of the connection ( the server connection is often timing out, and in these errors ¨not being able to connect¨) is this an issue? what's the likely cause? (i've never had any trouble using an ftp program, which i have used here and there).

    one hundred zillion thanks for your time guys and gals, as you can guess, this has been a killer. nicholas.

    #2
    Can you post your network settings here. The easiest way to do this is to export them to a text file, overwrite the password and username, and then copy and paste into the forum.

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

    First Tackle - Fly Fishing and Game Angling

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

    Comment


      #3
      settings.

      HTTPPROXYMODE 0
      HTTPPROXYADDRESS
      HTTPPROXYPORT 80
      HTTPPROXYUSER
      HTTPPROXYPASSWORD
      FTPPROXYMODE 1
      FTPPROXYADDRESS
      FTPPROXYPORT 21
      FTPPROXYUSER
      FTPPROXYPASSWORD
      SCRIPTID 1
      SCRIPTEXT .pl
      SMTPHOST mail.londonmarketsite.com
      WEBSITEURL http://londonmarketsite.com
      IGNOREPASSIVEERRORS true
      USERELATIVECGIURLS true
      PATHTOPERL /usr/bin/perl
      USEENHANCEFTP false
      FTPCLIENTTIMEOUT 60000
      FTPRETRYDELAY 3000
      FTPSILENT false
      FTPMAXRETRIES 40
      FTPCONNECTTIMEOUT 60000
      SMTPAUTHREQUIRED true
      SMTPUSERNAME !
      SMTPPASSWORD !
      CATALOGURL http://host391.ipowerweb.com/~londonma/acatalog/
      CGIBINURL http://host391.ipowerweb.com/~londonma/cgi-bin/
      PATHFROMCGITOCATALOG ../acatalog/
      CODEBASE ./
      FTPHOST host391.ipowerweb.com
      FTPUSERNAME !
      FTPPASSWORD !
      PATHTOCGIBIN /public_html/cgi-bin/
      USEPASSIVEFTP false
      FTPPATHFROMCGITOCATALOG ../acatalog/

      Comment


        #4
        Sounds like a change of hosts is in order.

        Comment


          #5
          any immediate ideas? feel free to speculate wildly.

          Comment


            #6
            give me a hosting name to ring up ?

            caught_between_moments
            at
            yahoo.co.uk...

            Comment


              #7
              Sounds like you current host has changed something at thier end.

              Try webfusion - there are also Actinic specialist hosts such as jo at pinbrook.

              Comment


                #8
                CATALOGURL http://host391.ipowerweb.com/~londonma/acatalog/
                CGIBINURL http://host391.ipowerweb.com/~londonma/cgi-bin/

                for a starter try changing these to

                http://londonmarketsite.com/acatalog/

                http://londonmarketsite.com/cgi-bin/

                you shouldn't need the ipowerweb stuff in the url.

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

                First Tackle - Fly Fishing and Game Angling

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

                Comment


                  #9
                  putting .
                  http://host391.ipowerweb.com/~londonma/cgi-bin/
                  .. into a browser displayed all the scripts, which i figured was fine.

                  I think i'm going to swap hosts actually. That makes sence. As long as you lot can't see anything i'm obviously doing wrong...

                  thanks lots, my first experience of posting on a forum was a good one...

                  Comment


                    #10
                    Hi Nicholas,

                    Yes, you can see the scripts from there but you're effectively actioning them from a different domain and that will mess up actinic and result in cookies being blocked.

                    By all means go ahead and move host but I'm surprised you aren't even trying to fix your network settings.

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

                    First Tackle - Fly Fishing and Game Angling

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

                    Comment


                      #11
                      hi guys, i'm back.

                      i'm testing the site on my own hosting, which is pretty damn cheapscate, though it seems to work. (not now) etglobalsolutions.

                      AND, same problem. well, same configuration problem.

                      (i used a cgi bin path from the main domain, not using the host server address).

                      weird.

                      maybe i'll put it back to the old settings and retry that.

                      any more ideas appreciated. . . help . . .

                      Comment


                        #12
                        Have you tried Mike's suggestion in post 8?

                        when i use the basket link it takes me to
                        londonmarketsite.com/~londonma/cgi-bin/ca000001.pl?ACTION=SHOWCART
                        this should be

                        londonmarketsite.com/cgi-bin/ca000001.pl?ACTION=SHOWCART
                        note the absence of ~londonma/

                        Comment


                          #13
                          the responce time astounds me here!

                          I have followed mikes suggestion (thanks for the explanation of why also), though i have not uploaded it to the website. At the moment my immediate problem is the 'configure website' wizards inability to get through perl installation. As stated previously, it has now failed in the same place on 2 hosts. Can anybody think of any obscure options i may have effected deep in one of actinics many boxes? I don't see how it would be any issue with my system on this computer. I have also downloaded the new patch for 7. Thanks again.

                          i suppose i may do another 'refresh website' though it seems to take 5 hours or so.

                          Comment


                            #14
                            it has now failed in the same place on 2 hosts.
                            you have said that both hosts you have tried are cheapo hosts, thus they may not be configured to run actinic. Thus it could be host related not actinic

                            Assuming you changed also change
                            FTPPATHFROMCGITOCATALOG ../acatalog/
                            to be blank

                            then try again

                            Comment

                            Working...
                            X