If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading to 1.5.x / upgrading 1.55a to 1.55b (locally): installer does not offer upgrade

upgrading 1.55a to 1.55b (locally): installer does not offer upgrade

Started by torvista on 8 Nov 2016, 6:04 PM · Views: 965

Results 1 to 4 of 4
8 Nov 2016, 6:04 PM
#1
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

upgrading 1.55a to 1.55b (locally): installer does not offer upgrade

Since the installer does not offer me an upgrade option, I took a working (locally) ZC155a vanilla install and overwrote the version.php and /zc_install with the ZC155b versions: no upgrade offered by the installer.

Is this correct/as per design, or I need to do something else to force its hand?

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

8 Nov 2016, 6:09 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: upgrading 1.55a to 1.55b (locally): installer does not offer upgrade

There were no required database changes between v155a and v155b.
Hence why the upgrade instructions simply say to update the listed changed files.

.
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.

8 Nov 2016, 6:51 PM
#3
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: upgrading 1.55a to 1.55b (locally): installer does not offer upgrade

the upgrade instructions simply say to update the listed changed files.
Just for once I did look for such information in the /docs before posting but did not find that nugget, and since the minor version IS stored in the database I thought that should have been updated.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

8 Nov 2016, 6:58 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: upgrading 1.55a to 1.55b (locally): installer does not offer upgrade

torvista:

Just for once I did look for such information in the /docs before posting but did not find that nugget
It's nice to know someone actually read them. And I see it doesn't say that explicitly in the "changed files" doc, but it does mention it in the release announcement: https://www.zen-cart.com/showthread.php?219730-Zen-Cart-v1-5-5b-released!&p=1321070#post1321070

torvista:

since the minor version IS stored in the database I thought that should have been updated.It's mentioned in the db for the sake of knowing what version was used to do the installation. The version-upgrade-alerter also compares that value to see if it's equal to or greater than the expected version as mentioned in vers ion.php

So, zc_install is operating exactly as it should: reporting when an upgrade is necessary, and when one is not, it says as much.

.
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.