Announcement

Collapse
No announcement yet.

Ver 10/Windows 7 Bug in Perl Script

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

    Ver 10/Windows 7 Bug in Perl Script

    Hello everyone

    I'm working with the latest Version 10 on Windows 7. All my settings are correct and the server meets all the requirements set out in the Actinic documentation. However I can't pass the network settings test or upload the site because of a scripting error.

    Actinic support said they couldn't help and blamed my hosting service. I paid my hosting service extra to look into it and they reported the following:



    The root issue was a syntax error on line 2 of the script:

    **original code:
    #!/usr/bin/perl
    ?use CGI::Carp qw(fatalsToBrowser);

    **changed code:
    #!/usr/bin/perl
    use CGI::Carp qw(fatalsToBrowser);

    Note the extra "?" in line 2 next to use. The script is error-free now:

    [cgi-bin]$ perl -c ca000145.pl
    ca000145.pl syntax OK


    Is this bug something that should be fixed by Actinic? I don't want to have to debug perl scripts all the time.

    Cordelia
    cordelia
    www.eShopAfrica.com

    #2
    That file works fine on tens of thousands of sites using numerous hosts. Much more likely to be a problem at your end than a bug in Actinic.

    File ca000145.pl is generated by Actinic from ShoppingCart.pl (in your Site folder).

    The first 2 lines of that should be:

    #!<Actinic:Variable Name="PerlPath"/>
    #?use CGI::Carp qw(fatalsToBrowser);

    Post what you see there.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Actinic used the same argument - thousands of happy users. That just annoys me though because my installation won't work (even though all my settings are correct).

      The script WAS as you listed it but my hosting service claim that the initial question mark in the second line was making the script fail and when they took it out, the script executed

      However, they don't know Actinic but Actinic support are blaming them....

      Stuck between a rock and a hard place here. Below are my exported settings

      cordelia

      HTTPPROXYMODE 0
      HTTPPROXYADDRESS
      HTTPPROXYPORT 80
      HTTPPROXYUSER
      HTTPPROXYPASSWORD
      FTPPROXYMODE 0
      FTPPROXYADDRESS
      FTPPROXYPORT 21
      FTPPROXYUSER
      FTPPROXYPASSWORD
      SCRIPTID 1
      SCRIPTEXT .pl
      SMTPHOST localhost
      WEBSITEURL http://www.demistifi.com
      IGNOREPASSIVEERRORS true
      USERELATIVECGIURLS true
      PATHTOPERL /usr/bin/perl
      USEENHANCEFTP true
      FTPCLIENTTIMEOUT 15000
      FTPRETRYDELAY 3000
      FTPKEEPALIVEINTERVAL 30000
      FTPSILENT false
      FTPMAXRETRIES 3
      FTPCONNECTTIMEOUT 25000
      SMTPAUTHREQUIRED false
      SMTPUSERNAME
      SMTPPASSWORD
      COMPRESSIONPACKETSIZE 1024
      COMPRESSEDUPLOAD true
      CATALOGURL http://www.demistifi.com/acatalog/
      ONLINESTOREFOLDERNAME acatalog
      CGIBINURL http://demistifi.com/cgi-bin/
      PATHFROMCGITOCATALOG ../public_html/acatalog/
      CODEBASE ./
      FTPHOST ftp.gip.superb.net
      FTPUSERNAME ******
      FTPPASSWORD ******
      PATHTOCGIBIN demistifi.com/cgi-bin/
      USEPASSIVEFTP false
      FTPPATHFROMCGITOCATALOG
      cordelia
      www.eShopAfrica.com

      Comment


        #4
        Hi Cordelia,

        I have just sent you an email.

        You should now be able to upload your Actinic site ok. We believe something has been changed on the server recently (Possibly enabling ASCII2 uploads) which now allows the site to upload ok. I also attached corrected network settings as the "www" was missing from the cgi-bin URL.

        Paul
        Paul Murphy
        Operations Manager - SellerDeck

        Comment


          #5
          OP
          All my settings are correct
          (even though all my settings are correct)
          Then it seems that:
          the "www" was missing from the cgi-bin URL
          And the problem was at the server end.
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment

          Working...
          X