Announcement

Collapse
No announcement yet.

ActinicSMTPAuth error on new webserver

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

    ActinicSMTPAuth error on new webserver

    Hey all, an interesting problem here. We've got a new webserver loaded up with CentOS 5; Apache 2.2.3; Perl 5.8.8 and I'm in the process of moving our stores over.

    I've added ascii_upload_enable=YES in the vsftp config as per the knowledge base and everything is uploading and running fine however I cannot complete the email test using the network setup. In the apache error logs I get the following

    Code:
    [Wed Jul 25 12:57:06 2007] [error] Bareword found where operator expected at ActinicSMTPAuth.pm line 53, near ""<Actinic:Variable Name="SmtpServer"
    [Wed Jul 25 12:57:06 2007] [error] \t(Missing operator before SmtpServer?)
    [Wed Jul 25 12:57:06 2007] [error] String found where operator expected at ActinicSMTPAuth.pm line 53, near "SmtpServer"/>""
    [Wed Jul 25 12:57:06 2007] [error] syntax error at ActinicSMTPAuth.pm line 53, near ""<Actinic:Variable Name="SmtpServer"
    [Wed Jul 25 12:57:06 2007] [error] <> should be quotes at ActinicSMTPAuth.pm line 208, near ""
    [Wed Jul 25 12:57:06 2007] [error] BEGIN not safe after errors--compilation aborted at ActinicSMTPAuth.pm line 208.
    [Wed Jul 25 12:57:06 2007] [error] Compilation failed in require at /home/atbsales/public_html/store.atb-sales.co.uk/cgi-bin/ActinicMailTest.pl line 442.
    [Wed Jul 25 12:57:06 2007] [error] Premature end of script headers: ActinicMailTest.pl
    To me that says that the script is at fault however I cannot find that script on the webserver anywhere! Only on my computer in the sites folder.

    line 53 is here;
    Code:
    $ActinicSMTPAuth::sHostname = "<Actinic:Variable Name="SmtpServer"/>";
    and line 208 is here;
    Code:
    		require <Actinic:Variable Name="DigestPerlMD5"/>;
    now I'm no expert at perl, but if I get these sort of errors in php it's usually just a quote in the wrong place but I'm confused as to how this could be as I've never modified these files!

    Any help would be gratefully received.

    #2
    The problem looks like ActinicSMTPAuth.pm has been copied to the server without substituting the Actinic variables.

    Did you upload the source script up to the server manually?

    When a normal upload is done from Actinic, the file is generated as saXXXXXX.pm, where XXXXXX= scriptID.
    Regards,

    Toby Blanchard

    Comment


      #3
      I tried various ways, including manual and automatic full refresh uploads. In the end I stopped trying to use the wizard and set it all manually and everything works fine.

      Comment


        #4
        FYI I have exactley the same problem.

        Fresh install of Centos:

        [root@hspc vsftpd]# cat /etc/redhat-release
        CentOS release 5 (Final)
        [root@hspc vsftpd]# uname -a
        Linux hspc.unseen.org 2.6.9-023stab044.4-smp #1 SMP Thu May 24 17:20:37 MSD 2007 i686 i686 i386 GNU/Linux

        Code:
        ittlejo.unseen.org - - [30/Sep/2007:16:18:04 -0400] "POST /acatalog-cgi/ActinicCgiPath.pl HTTP/1.1" 200 77 "-" "Catalog"
        littlejo.unseen.org - - [30/Sep/2007:16:19:03 -0400] "GET /acatalog-cgi/ActinicMailTest.pl HTTP/1.1" 500 622 "-" "Catalog"
        [Sun Sep 30 16:19:03 2007] [error] [client 83.104.89.41] Bareword found where operator expected at ActinicSMTPAuth.pm line 53, near ""<Actinic:Variable Name="SmtpServer"
        [Sun Sep 30 16:19:03 2007] [error] [client 83.104.89.41] \t(Missing operator before SmtpServer?)
        [Sun Sep 30 16:19:03 2007] [error] [client 83.104.89.41] String found where operator expected at ActinicSMTPAuth.pm line 53, near "SmtpServer"/>""
        [Sun Sep 30 16:19:03 2007] [error] [client 83.104.89.41] syntax error at ActinicSMTPAuth.pm line 53, near ""<Actinic:Variable Name="SmtpServer"
        [Sun Sep 30 16:19:03 2007] [error] [client 83.104.89.41] <> should be quotes at ActinicSMTPAuth.pm line 208, near ""
        [Sun Sep 30 16:19:03 2007] [error] [client 83.104.89.41] BEGIN not safe after errors--compilation aborted at ActinicSMTPAuth.pm line 208.
        [Sun Sep 30 16:19:03 2007] [error] [client 83.104.89.41] Compilation failed in require at /home/justengines/justengines/docs/acatalog-cgi/ActinicMailTest.pl line 442.
        [Sun Sep 30 16:19:03 2007] [error] [client 83.104.89.41] Premature end of script headers: ActinicMailTest.pl
        I have not yet got it working.

        Cheers
        Kev

        Comment


          #5
          I seem to have progressed slightly. I can now run the "Test" from the Network Setup page and I get no errors.

          However the network setup wizard fails with the errors below, and so does an upload fail with a 'merge' error at the end of the process.

          Code:
          littlejo.unseen.org - - [01/Oct/2007:03:52:17 -0400] "GET /acatalog-cgi/ActinicCgiPath.pl HTTP/1.1" 200 138 "-" "Catalog"
          littlejo.unseen.org - - [01/Oct/2007:03:52:18 -0400] "GET /acatalog/ActinicCgiTestSample.html HTTP/1.1" 200 62 "-" "Catalog"
          littlejo.unseen.org - - [01/Oct/2007:03:52:19 -0400] "POST /acatalog-cgi/ActinicCgiPath.pl HTTP/1.1" 200 77 "-" "Catalog"
          [Mon Oct 01 04:04:31 2007] [error] [client 83.104.89.41] Bareword found where operator expected at ActinicSMTPAuth.pm line 53, near ""<Actinic:Variable Name="SmtpServer"
          [Mon Oct 01 04:04:31 2007] [error] [client 83.104.89.41] \t(Missing operator before SmtpServer?)
          [Mon Oct 01 04:04:31 2007] [error] [client 83.104.89.41] String found where operator expected at ActinicSMTPAuth.pm line 53, near "SmtpServer"/>""
          [Mon Oct 01 04:04:31 2007] [error] [client 83.104.89.41] syntax error at ActinicSMTPAuth.pm line 53, near ""<Actinic:Variable Name="SmtpServer"
          [Mon Oct 01 04:04:31 2007] [error] [client 83.104.89.41] <> should be quotes at ActinicSMTPAuth.pm line 208, near ""
          [Mon Oct 01 04:04:31 2007] [error] [client 83.104.89.41] BEGIN not safe after errors--compilation aborted at ActinicSMTPAuth.pm line 208.
          [Mon Oct 01 04:04:31 2007] [error] [client 83.104.89.41] Compilation failed in require at /home/justengines/justengines/docs/acatalog-cgi/ActinicMailTest.pl line 442.
          [Mon Oct 01 04:04:31 2007] [error] [client 83.104.89.41] Premature end of script headers: ActinicMailTest.pl
          littlejo.unseen.org - - [01/Oct/2007:04:04:30 -0400] "GET /acatalog-cgi/ActinicMailTest.pl HTTP/1.1" 500 622 "-" "Catalog"
          I have tried deleting the site from the server and uploading again

          Any ideas on fixing?

          Thanks
          Kevin

          Comment


            #6
            Kevin,

            If the test passes in the Network Setup window then I would suggest not going back to the wizard, as it is used to get the settings into the network setup pane only. Try a refresh of the website and it should go up fine.

            Regards,
            Bruce King
            SellerDeck

            Comment

            Working...
            X