If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading Your Zen Cart / Upgrading to 1.5.x / using v1.5.6 and *have NOT customized or altered* any of the files ...

using v1.5.6 and *have NOT customized or altered* any of the files ...

Started by jpda on 9 Sep 2023, 12:02 AM · Views: 2,920

Results 1 to 13 of 13
9 Sep 2023, 12:02 AM
#1
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

using v1.5.6 and *have NOT customized or altered* any of the files ...

Hello,

I am using zc1.5.6c and want to upgrade to zc1.5.7d.
Current template Winchester_responsive which I want to replace with ZCA-Bootstrap-Template-3.6.0
(btw: what happened to Picaflor-Azul?).

Followed the instructions for quick upgrade on this page: https://www.zen-cart.com/docs/whatsnew_1.5.7.html

Replaced the files listed in https://www.zen-cart.com/docs/changed_files-v1-5-7.html.
Site seems to be running well. Still version 1.5.6c showing.

Question 1: no database upgrade needed? zc_install?
Question 2: do I need to copy/merge all other files from zc1.5.7d?

Thanks,

jpda

9 Sep 2023, 12:02 PM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: using v1.5.6 and *have NOT customized or altered* any of the files ...

Question 1: Yes, you need to do a zc_install.

The page you linked has no instructions for a quick install, so I'm not sure what you mean. But the way you did it is super error prone.
It's much better to start with the files from the version you're going to and THEN add your changes in.

Also, why are you going to 1.5.7d when 1.5.8a is out there?

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

10 Sep 2023, 5:14 PM
#3
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,906
Plugin Contributions:
23

Re: using v1.5.6 and *have NOT customized or altered* any of the files ...

swguy:

Also, why are you going to 1.5.7d when 1.5.8a is out there?

Hopefully you are not using a version on your host's cPanel. Get 1.5.8a from https://github.com/zencart/zencart/releases

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

15 Sep 2023, 7:05 PM
#4
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: using v1.5.6 and *have NOT customized or altered* any of the files ...

@swguy
Thanks for your answers and advice!

The page you linked has no instructions for a quick install, so I'm not sure what you mean.
Because of this line on the linked page:
"If you are already using v1.5.6 and have NOT customized or altered any of the files listed in the changed_files-v1.5.7.html document, then simply replace those files with the new files as listed. "

Also, why are you going to 1.5.7d when 1.5.8a is out there?
Just to see if and how it would work...not good nor easy at all!

So, I will upgrade to 1.5.8a.
Would PHP 8.2.4-0 work on zc1.5.8a?

Thanks,

jpda

15 Sep 2023, 7:15 PM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,906
Plugin Contributions:
23

Re: using v1.5.6 and *have NOT customized or altered* any of the files ...

The docs state that 1.5.8a will work with PHP through version 8.2. It's more than likely that any mods you add may not unless they specifically state they are PHP 8.2 compatible. https://docs.zen-cart.com/user/first_steps/server_requirements/#php-version

If it's available on your server, start with PHP 7.3 and, when you have loaded all your mods, gradually bring it up in PHP versions until something breaks are you get a warning display log. Trouble shoot from there to get to 8.2

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

15 Sep 2023, 7:19 PM
#6
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: using v1.5.6 and *have NOT customized or altered* any of the files ...

dbltoe:

Hopefully you are not using a version on your host's cPanel. Get 1.5.8a from https://github.com/zencart/zencart/releases

No, I have downloaded zc1.5.8a directly from https://www.zen-cart.com/

I am upgrading the site of a customer, I build and test on xampp and ftp to the customer's host.

Thank you for the warning!

jpda

15 Sep 2023, 8:07 PM
#7
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: using v1.5.6 and *have NOT customized or altered* any of the files ...

dbltoe:

The docs state that 1.5.8a will work with PHP through version 8.2. It's more than likely that any mods you add may not unless they specifically state they are PHP 8.2 compatible. https://docs.zen-cart.com/user/first_steps/server_requirements/#php-version

If it's available on your server, start with PHP 7.3 and, when you have loaded all your mods, gradually bring it up in PHP versions until something breaks are you get a warning display log. Trouble shoot from there to get to 8.2

Customer's site in zc156c has the original Winchester Responsive template with some mods added.

In the upgraded site I will install ZCA Bootstrap 3.6 and some mods.

I am able to remove (in PHP 7.3) all loaded mods, including db entries, and replace the Winchester template by the responsive_default template.

There will be no customizations anymore, so upgrading to zc158a will be easier I guess.

Any suggestions about that route?

Thanks,

jpda

15 Sep 2023, 8:08 PM
#8
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: using v1.5.6 and *have NOT customized or altered* any of the files ...

Remember that PHP 8.2 is the highest level currently supported, and will only work if all your plugins are upgraded to that level. As @dbltoe mentioned, going from a somewhat lower version, then verifying as you bump up the PHP version, will allow you to handle any issues in smaller bunches. If you go straight to PHP 8.2, the number of logs you get can be overwhelming.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

15 Sep 2023, 8:18 PM
#9
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,906
Plugin Contributions:
23

Re: using v1.5.6 and *have NOT customized or altered* any of the files ...

https://docs.zen-cart.com/user/upgrading/release_specific_upgrade_considerations/#zen-cart-158-and-zen-cart-158a

Personnaly, I use the instructions at https://docs.zen-cart.com/user/upgrading/db_only_upgrade/, install clone a template, install bootstrap, clone responsive_classic, clone bootstrap, add mod list, and proceed from there to use mod list to identify/rectify those things mentioned in the warning.

Admittedly, I'm probably more familiar with "where the dead bodies are buried" than most but, it's not rocket surgery. :P

Once all is working, I start adding mods knowing the missing or hanging on configurations are fixed.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

15 Sep 2023, 9:56 PM
#10
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: using v1.5.6 and *have NOT customized or altered* any of the files ...

... install clone a template, install bootstrap, clone responsive_classic, clone bootstrap, add mod list, and proceed from there to use mod list...
Indeed, I had been reading that article db-only-upgrade too. I used clone to remove Winchester Responsive, thank you @lat9!
I will follow your advice to start working in PHP 7.3 in zc158a gradually bring it up in PHP versions.
Which order would you suggest? PHP 7.4 -> 8.0 > 8.1 > 8.2.4?

Thanks a lot! :smile:

jpda

15 Sep 2023, 10:28 PM
#11
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: using v1.5.6 and *have NOT customized or altered* any of the files ...

Which order would you suggest? PHP 7.4 -> 8.0 > 8.1 > 8.2.4?

Correct. You could even start with PHP 7.4 if you're using Bootstrap, and probably not have many issues. Your big hurdle is going to be the PHP 8.x versions. The documentation will help, many common issues are discussed.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

15 Sep 2023, 10:43 PM
#12
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: using v1.5.6 and *have NOT customized or altered* any of the files ...

Thanks for your confirmation!

jpda

16 Sep 2023, 5:24 PM
#13
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,906
Plugin Contributions:
23

Re: using v1.5.6 and *have NOT customized or altered* any of the files ...

Not to muddy the waters but good info to know....

IF you start with 7.4 (I would do that myself), keep in mind that any code designed to run on 8.2 may use PHP code that will fail under 7.4. So, if the mod is strictly for newer versions of Zen Cart, it might contain PHP 8.2 code that will fail in a 7.4-run site. Array is an example of PHP changed in 8.2 that will not work with 7.4.

You have to look both directions when something fails.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com