Announcement

Collapse
No announcement yet.

Upgrade to 9.0.4 Problems

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

    Upgrade to 9.0.4 Problems

    Is there any major changes to the OrderScript.pl and ActinicOrder.pm files under this new version 9.0.4?

    The reason I ask is my 9.0.3 versions were replaced with 9.0.4 versions and not migrated. I had made many changes to these files and now the site doesn't work as it should do.

    I've replaced the upgraded versions with my old versions but not sure if this was the right thing to do.

    #2
    ActinicOrder.pm is unchanged between 9.0.3 and 9.0.4.

    OrderScript.pl has only 2 single-line differences between 9.0.3 and 9.0.4.

    It thus may be easier to make the 2 line changes to your patched OrderScript.pl.

    Here are the relevant bits (I've shown some surrounding code so you'll know where to look).
    Code:
    OrderScript.pl
    
    903
    
    $::prog_name = $::prog_name;
    $::prog_ver = '$Revision: 21561 $ ';					# program version
    $::prog_ver = substr($::prog_ver, 11);				# strip the revision information
    
    904
    
    $::prog_name = $::prog_name;
    $::prog_ver = '$Revision: 22270 $ ';					# program version
    $::prog_ver = substr($::prog_ver, 11);				# strip the revision information
    
    
    903
    
    	if (!$bActuallyValidate ||							# if we are not validating, or
    		(!$bCheckReversed && !$::g_BillContact{'SEPARATE'}) ||
    		($bCheckReversed && $::g_BillContact{'SEPARATE'}))				# if the delivery address is ignored
    		{
    		return ($sError);									# don't do the validation
    		}
    
    904
    
    	if (!$bActuallyValidate ||							# if we are not validating, or
    		(!$bCheckReversed && !$::g_BillContact{'SEPARATE'}) ||
    		($bCheckReversed && $::g_BillContact{'SEPARATE'}))				# if the delivery address is ignored
    		{
    		return ("");										# don't do the validation
    		}
    PS I use WinMerge to compare files. You can even run it in a command line mode where it compares all matching .pl and .pm files between 2 different folders.

    I keep a set of the Original folders from every version of Actinic and use a command like the below to mass compare:
    Code:
    "C:\program files\winmerge\winmergeu.exe" /s /f "*.pl *.pm" "V903 IMMA Original" "V904 JFJA Original"
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks Norman....

      I've made the changes you describe

      Will this fix my Norprice V2 as this nolonger works?

      Wish i never upgraded but the upload process has improved under 9.0.4

      Comment


        #4
        upon upgrading the .pl scripts are set back to factory so any changes such as Normans stuff need to be reapplied


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment


          #5
          If you had NorPrice for 9.0.3, then just unzip its ActinicOrder.pm back into your Site folder.
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            Thanks Again Norman.

            All working fine now

            Comment

            Working...
            X