Forums / Upgrading to 1.5.x / Upgrade from v157 to v157b vs SBA

Upgrade from v157 to v157b vs SBA

Views: 2,166

Results 1 to 7 of 7
24 Nov 2020, 9:46 PM
#1
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Upgrade from v157 to v157b vs SBA

I am running v157 with only one plugin which adds code. It is the SBA plugin. Is it safe to upgrade to v157b and skipping v157a?

24 Nov 2020, 11:08 PM
#2
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: Upgrade from v157 to v157b vs SBA

jodean:

I am running v157 with only one plugin which adds code. It is the SBA plugin. Is it safe to upgrade to v157b and skipping v157a?

i am not familiar with the SBA plugin; if it does not modify core files, you should be fine.

running v157, and going straight to v157b should not be a problem. these letter releases do not change the database; they tend to fix code and so are just newer/better versions of existing scripts. so going straight to v157b would be fine.

best.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

24 Nov 2020, 11:32 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Upgrade from v157 to v157b vs SBA

I cannot speak authoritatively to that plugin,
but a cursory inspection suggests that you can probably safely keep the SBA's version of the following files instead of the new ones that are part of v157a/b because the SBA changes are the important ones:
SBA/1_5_7/admin/attributes_controller.php
SBA/1_5_7/admin/invoice.php
SBA/1_5_7/admin/orders.php
SBA/1_5_7/admin/packingslip.php
SBA/1_5_7/includes/templates/YOUR_TEMPLATE/templates/tpl_account_history_info_default.php (if any)
SBA/1_5_7/includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_confirmation_default.php
SBA/1_5_7/includes/templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php

Again, that's just by looking quickly at some files. I've not tested it so I can't promise any particular outcome.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Nov 2020, 12:39 PM
#4
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Re: Upgrade from v157 to v157b vs SBA

Can i upgrade from v157 to v157b without first upgrading to v157a?

27 Nov 2020, 12:48 PM
#5
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Upgrade from v157 to v157b vs SBA

jodean:

Can i upgrade from v157 to v157b without first upgrading to v157a?
You sure can!

27 Nov 2020, 8:16 PM
#6
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Re: Upgrade from v157 to v157b vs SBA

I got to step VIII run the http://www.yoursite.com/zc_install
I do not get the option to Upgrade Database option

Do you have any suggestions what I might have missed?

27 Nov 2020, 8:26 PM
#7
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Upgrade from v157 to v157b vs SBA

You don't need (or want) to run zc_install again. Just update the site's zc157 file-set with the updates provided by zc157b.