Announcement

Collapse
No announcement yet.

Configuring Web Site Details

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

    Configuring Web Site Details

    There is probably a very simple answer to this but it has got me stumped.
    Have been configuring our web site details and everything goes fine until it tries to sort out the path to the web server document directory. This I assume is the actalog directory. Have set the permissions for this to 577 but I still get the error "the CGI script does not have permission to delete files in the catalog web directory.. please contact etc."
    Any ideas what I am doing wrong?

    #2
    Can you post your settings and provide the exact error message
    Owner of a broken heart

    Comment


      #3
      Hi Gary
      Host is oneand one.
      Web site URL : http://www.happyhobbit.co.uk
      Catalog URL : http://www.happyhobbit.co.uk/acatalog/
      CGI_Bin URL: http://www.happyhobbit.co.uk/cgi_bin/
      Path to perl usr/bin/perl
      Path from cgi-bin to catalog directory is./acatalog/
      Cgi path to catalog directory is the one I am having trouble with as when I enter../acatalog/ I get:
      "The CGI script does not have permission to delete files in the catalog web directory. The permissions on the catalog directory must be relaxed so the cgi script can read, write and delete file in the catalog directory. Please contact your system administrator or ISP and ask them to correct the directory permissions. The web catalog is ../acatalog/ (relative to your cgi-bin) on the web server."
      I've checked the permissions on the acatalog directoey and it is set to 755!
      Howard

      Comment


        #4
        Hi,

        I tested OneAndOne recemtly to see if Catalog would run on its £8.99 per month Business service. It worked fine. I was surprised that the e-mail worked straight out of the box as it seems to be an authenticated SMTP server, but it must be set up to accept unauthenticated connections from it's own domain. I'd gone to the trouble of rewriting the Actinic e-mail routine to use the Unix Sendmail program but didn't need it.

        Anyway here are the settings I used ( I greated my own cgi-bin directory straight off the root). These are from Advanced / Network /Export :-

        HTTPPROXYMODE 0
        HTTPPROXYADDRESS
        HTTPPROXYPORT 80
        HTTPPROXYUSER
        HTTPPROXYPASSWORD
        FTPPROXYMODE 0
        FTPPROXYADDRESS
        FTPPROXYPORT 21
        FTPPROXYUSER
        FTPPROXYPASSWORD
        SCRIPTID 1
        SCRIPTEXT .pl
        SMTPHOST auth.smtp.oneandone.co.uk
        WEBSITEURL http://www.drillpine.biz/index.html
        IGNOREPASSIVEERRORS true
        PATHTOPERL /usr/bin/perl
        CATALOGURL http://www.drillpine.biz/acatalog/
        CGIBINURL http://www.drillpine.biz/cgi-bin/
        PATHFROMCGITOCATALOG ../acatalog/
        CODEBASE ./
        FTPHOST drillpine.biz
        FTPUSERNAME *********
        FTPPASSWORD *********
        PATHTOCGIBIN /cgi-bin
        USEPASSIVEFTP true
        FTPPATHFROMCGITOCATALOG
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Hi Both
          Seem to be progressing a bit but got these messages:
          Message 1
          "The Network Test was unable to verify that the mail (SMTP) server you specified is valid (the name lookup failed). The mail server name may be correct. If it is (and your email address is correct), you will receive an email soon after this test has completed. This error can occur if the mail server you specified is incorrect, or if your PC network is not properly configured (for more information, see "DNS" in Windows help). If this problem is due to improper network configuration, you may not be able to place orders from this computer using the built in Actinic encryption method for credit card details."
          Message 2
          "The computer you specified as your mail server is not a valid mail (SMTP) server. Check the computer name or address and try again.)
          Message 3
          "Mail server messages:

          DNS lookup failed - host not found (No such file or directory)"

          Any ideas?
          Howard

          Comment


            #6
            As suggested above please post ALL your network settings. Use Advanced / Network / Export to get a textfile of these (hide the FTP user and password).

            None of us can comment on a message like
            unable to verify that the mail (SMTP) server you specified is valid
            unless we know what it is you specified after all.

            Also OneAndOne have rather a lot of different hosting plans. Again let us know what your one is.

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

            Comment


              #7
              Hi again
              Here are the settings:
              HTTPPROXYMODE 0
              HTTPPROXYADDRESS
              HTTPPROXYPORT 80
              HTTPPROXYUSER
              HTTPPROXYPASSWORD
              FTPPROXYMODE 0
              FTPPROXYADDRESS
              FTPPROXYPORT 21
              FTPPROXYUSER
              FTPPROXYPASSWORD
              SCRIPTID 1
              SCRIPTEXT .pl
              SMTPHOST auth.smpt.oneandone.co.uk
              WEBSITEURL http://www.happyhobbit.co.uk/
              IGNOREPASSIVEERRORS true
              PATHTOPERL /usr/bin/perl
              CATALOGURL http://www.happyhobbit.co.uk/acatalog/
              CGIBINURL http://www.happyhobbit.co.uk/cgi-bin/
              PATHFROMCGITOCATALOG ../acatalog/
              CODEBASE ./
              FTPHOST happyhobbit.co.uk
              FTPUSERNAME ********
              FTPPASSWORD *******
              PATHTOCGIBIN /cgi-bin
              USEPASSIVEFTP true
              FTPPATHFROMCGITOCATALOG
              Package we are using is the Professional one (UNIX)
              Regards
              Howard

              Comment


                #8
                Your settings look OK.

                Try going to Advanced / Network Setup and blank out the Mail (SMTP) Server setting, and then do a Test.

                If this works OK then you have a problem in that you require to use Authenticated SMTP and Actinic doesn't support this.

                It's a bit weird as I've tested 2 OneAndOne sites and the £8.99 Business one is working with SMTP and the £17 Professional one doesn't.

                Anyway I have a "work in progress" patched Actinic.pm that gets around this by using the perl Mail::Mailer module (that OneandOne supports) to send mail via the internal Unix sendmail program.

                This is for Actinic V6.0.2. I've attached it here if you want to try it out. Go to Site1, back up your existing Actinic.pm and copy the attached file instead.

                You will also need a dummy entry in Advanced / Network Setup / Mail (SMTP) Server in order for Actinic to try to send mail. If you leave this blank then Actinic naturally never tries to send mail.

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

                Comment


                  #9
                  Hi Norman
                  Typical!
                  Have blanked out the smpt server and test works OK.
                  Can't see an attachment however.
                  Howard

                  Comment


                    #10
                    Here's the patch. Also included are patching instructions in case you've not got 6.0.2. Use at your own risk, etc.

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

                    Comment


                      #11
                      Thanks Norman
                      Will get it sorted out tomorrow
                      Thanks for the help
                      Howard

                      Comment


                        #12
                        Let me know how you get on please.

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

                        Comment


                          #13
                          There was a bug in 6.0.0 or 6.0.1 where that error message appeared in error, ie. you got the message but everything worked, this was fixed in 6.0.2.

                          Regards,
                          Jan Strassen, Mole End Software - Plugins and Reports for Actinic V4 to V11, Sellerdeck V11 to V2018, Sellerdeck Cloud
                          Visit our facebook page for the latest news and special offers from Mole End

                          Top Quality Integrated label paper for Actinic and Sellerdeck
                          A4 Paper with one or two peel off labels, free reports available for our customers
                          Product Mash for Sellerdeck
                          Link to Google Shopping and other channels, increase sales traffic, prices from £29.95
                          Multichannel order processing
                          Process Actinic, Sellerdeck, Amazon, Ebay, Playtrade orders with a single program, low cost lite version now available from £19.95

                          Comment


                            #14
                            Regarding the TestSettings.pl bug. If you have a lower version than 6.0.2 (and don't want to upgrade yet - although upgrading to 6.0.2 is best) then you can fix this bug yourself.

                            Edit TestSettings.pl and look for

                            $BAD = 0; #define some constants
                            $GOOD = 1;


                            And immediately after these add the 2 lines.

                            $::FALSE = 0;
                            $::TRUE = 1;

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

                            Comment


                              #15
                              No problem - I have upgraded
                              Howard

                              Comment

                              Working...
                              X