Announcement

Collapse
No announcement yet.

Website not working after Server Upgrade

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

    Website not working after Server Upgrade

    I am still running an old version of Actinic/Sellerdeck V9 and not yet had time to set-up with the V18 version I purchased
    My webhosts have migrated my site to a new server and now the website is not working.

    Does anyone know what versions of PERL would be compatible, etc that I can pass to the host or any other server requirements

    all CGI scripts are giving 500 errors

    When clicking an add to cart button the host has said this error is given
    "Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at cgi-bin/al000004.pm line 1559."
    Darren Guppy
    Golf Tee Warehouse
    Golf Tees and Golf Accessories.

    #2
    Also a list of any required Perl Modules and versions
    Darren Guppy
    Golf Tee Warehouse
    Golf Tees and Golf Accessories.

    Comment


      #3
      You can patch the Actinic Perl scripts to be compatible with the later Perl versions.

      Back files up before changing them and use a text editor like notepad++.

      Here are my notes on what's needed.
      Code:
      SellerDeck Perl files that need editing for Perl 5.28.1
      
      These issues are fixed in SD 16.0.4 onwards
      
      # Drillpine amended for Perl V5.28.1 compatibility
      
      
      ACTINIC.PM (al000001.pm on server)
      
      Change:
      
      	if ((defined %::g_InputHash) &&				# override the real referrer with the passed value
      	
      To:
      
      	if (%::g_InputHash &&						# override the real referrer with the passed value
      	
      Change:	
      	
      	if ((defined %::g_InputHash) &&					# if we have input parameters
      	
      To:
      
      	if (%::g_InputHash &&								# if we have input parameters
      
      
      
      ActinicOrder.pm
      
      Change:
      
      	@{$rarrCurTaxBands}->
      
      To:
      
      	$rarrCurTaxBands->
      
      Change:
      
      	@{$rarrDefTaxBands}->
      
      To:
      
      	$rarrDefTaxBands->
      
      	
      SEARCH.PM (sl000001.pm on server - only needed on SellerDeck V12 and later)
      
      Change:
      
      			$phashOutput->{$sProductReference} = $phashOutput->{$sProductReference} + %$phash2->{$sProductReference}; 
      			
      To:
      
      			$phashOutput->{$sProductReference} = $phashOutput->{$sProductReference} + $phash2->{$sProductReference};
      			
      			
      TESTSETTINGS.PL (ts000001.pl on server)
      
      Change:
      
      	if (!defined @Filelist ||							# an error occured
      		 $#Filelist < 0)
      		 
      To:
      
      	if (!@Filelist ||										# an error occured
      		 $#Filelist < 0)
      
      
      Change:
      
      		if (!defined @Filelist ||						# an error occured
      			 $#Filelist < 0)
      
      To:
      
      		if (!@Filelist ||									# an error occured
      			 $#Filelist < 0)
      			 
      
      Actinic V11 and below also needs changes
      
      PXMP.pm
      
      Change all (5 instances - may be less places if below V11):
      
      	%{$pNode}->{_TAG}
      
      To:	
      
      	$pNode->{_TAG}
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Thanks Norman, Perfect that has sorted the issue

        P.S I couldn't patch SEARCH.PM as none of those strings appear in that file in my V9, not even parts of it
        Darren Guppy
        Golf Tee Warehouse
        Golf Tees and Golf Accessories.

        Comment


          #5
          Thanks for pointing that out. Looks like the patch to Search.pm is only needed on SellerDeck V12 and later. I've amended my post #3.
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            Looks like I still have an issue with Paypal, but not checked it out yet, just had a call from someone trying to use the paypal option and has said an error message came out so will post back when I have checked it out
            Darren Guppy
            Golf Tee Warehouse
            Golf Tees and Golf Accessories.

            Comment


              #7
              Seems it if effecting all card payment not just paypal

              Also MOTO payments are going through but when I download no payment confirmations are being downloaded
              Darren Guppy
              Golf Tee Warehouse
              Golf Tees and Golf Accessories.

              Comment


                #8
                Just tested the site myself you can proceed through checkout until you have selected the payment method i.e credit card, but clicking next just hangs

                this is displayed in the address bar
                http://www.golfteewarehouse.co.uk/cgi-bin/os000004.pl


                It also fails the TEST in advanced network settings
                Darren Guppy
                Golf Tee Warehouse
                Golf Tees and Golf Accessories.

                Comment


                  #9
                  Could it be related o the Perl Modules



                  Perl Environment
                  Perl Version 5.026003
                  Perl Modules
                  Digest::MD5 2.55
                  ActEncrypt1024 Not installed
                  Exporter 5.72
                  File::Temp 0.2306
                  LWP::UserAgent 6.34
                  Crypt::SSLeay Not installed
                  CGI Not installed
                  CGI::Carp Not installed
                  Archive::Zip 1.60
                  Net::SSL Not installed

                  Seems to be several modules not installed

                  Darren Guppy
                  Golf Tee Warehouse
                  Golf Tees and Golf Accessories.

                  Comment


                    #10
                    Could it be related o the Perl Modules?
                    I suspect it could be. Even V18.1 got hit by the Crypt::SSLeay and Net::SSL modules not being installed as part of the latest perl updates.

                    https://community.sellerdeck.com/for...-v18-1-warning

                    Sellerdeck are supposed to be working on a fix and are looking for servers with the problem they can test the fix on.

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

                    First Tackle - Fly Fishing and Game Angling

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

                    Comment


                      #11
                      Do you think a helpful webhost would be likely to be happy to install those modules or is it considered a security risk

                      Any idea if ActEncrypt1024 is also needed
                      Darren Guppy
                      Golf Tee Warehouse
                      Golf Tees and Golf Accessories.

                      Comment


                        #12
                        A helpful webhost might be willing to install those modules. I can't think it will be any more of a risk than the older versions of perl that have them installed as standard.

                        I don't think ActEncrypt1024 is needed any more:

                        ActEncrypt1024
                        The binary version of the functions used for order blob encryption. It makes the order recording (last checkout phase) quicker on old servers. However it is not necessary and on the majority of servers will not improve the existing performance, however if already installed will not impede performance.
                        -----------------------------------------

                        First Tackle - Fly Fishing and Game Angling

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

                        Comment


                          #13
                          The webhost has said "I can confirm these are installed, so investigating further."

                          Then a little later "Unfortunately, I have verified there is an issue with some of the modules and the patch to fix this is pending with no ETA."


                          Darren Guppy
                          Golf Tee Warehouse
                          Golf Tees and Golf Accessories.

                          Comment


                            #14
                            Reply thos morning when trying to get an idea when something might be done

                            "Unfortunately not, in fact there are recommendations to use different modules instead so it's not clear the patches will make it to production."
                            Darren Guppy
                            Golf Tee Warehouse
                            Golf Tees and Golf Accessories.

                            Comment


                              #15
                              The host has now asked

                              "Are you sure you actually require these modules for the script to work as the underlying things such as LWP::UserAgent supports other methods of SSL/TLS."

                              I think I might have to wait for the fix on the other related post https://community.sellerdeck.com/for...-v18-1-warning


                              Originally posted by brucet View Post
                              Hi all.

                              With regard to the Crypt SSL and Net SSL issue, we believe we now have a fix for this that uses current Perl modules. However it really needs to be tested on some real-world hosting where the issue was encountered - rather than our own, or something we have configured artificially for the purpose, or even clean hosting from the same host that may not have the same setup.

                              If anyone here would like to test the fix, or could share some space on some affected hosting, please direct message me - thanks.
                              Darren Guppy
                              Golf Tee Warehouse
                              Golf Tees and Golf Accessories.

                              Comment

                              Working...
                              X