Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading Your Zen Cart / Upgrading from 1.3.x to 1.3.9 / What is the easiest way to upgrade from 1.3.9b to 1.3.9c ?

What is the easiest way to upgrade from 1.3.9b to 1.3.9c ?

Locked
This thread is locked. New replies are disabled.
24 May 2010, 7:38 PM
#1
airsoftoutfitter avatar

airsoftoutfitter

Zen Follower

Join Date:
Dec 2009
Posts:
244
Plugin Contributions:
0

Post #1 by airsoftoutfitter

What is the easiest way to upgrade from 1.3.9b to 1.3.9c?

It is my first upgrade. Thank you for the help!

24 May 2010, 10:52 PM
#2
sunflowertami avatar

sunflowertami

Zen Follower

Join Date:
Jun 2008
Posts:
267
Plugin Contributions:
0

Post #2 by sunflowertami

I just upgraded from 1.3.9b to c. What I did is just isolate the files that are new on 1.3.9c which means looking at the changelog and cherry picking only those files that are new on 1.3.9c.

Once I had only the new files, I used winmerge to check for any changes that may affect my custom files, if none then I would just overwrite it.

Once that is done. I just uploaded only the new files and overwrite it on 1.3.9b.

I think in total it was something like 39 files.

24 May 2010, 11:01 PM
#3
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,194
Plugin Contributions:
0

Post #3 by haredo

AirsoftOutfitter:

What is the easiest way to upgrade from 1.3.9b to 1.3.9c?

It is my first upgrade. Thank you for the help!

PM I can send you a zip file with the correct structure for you just to drop in with filezilla or any ftp program..

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.

25 May 2010, 12:20 AM
#4
airsoftoutfitter avatar

airsoftoutfitter

Zen Follower

Join Date:
Dec 2009
Posts:
244
Plugin Contributions:
0

Post #4 by airsoftoutfitter

Where do you find the channel log to compare files, and what is winmerge? does it make everything easier, where do I find it.

25 May 2010, 12:24 AM
#5
g1smd avatar

g1smd

Zen Follower

Join Date:
Mar 2010
Location:
UK
Posts:
449
Plugin Contributions:
0

Post #5 by g1smd

WinMerge is free software for Windows to help compare and merge files.

Do a Google search for it.

The changelog for ZenCart is contained in the ZIP file you downloaded.

Online since 1995.

25 May 2010, 12:25 AM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,194
Plugin Contributions:
0

Post #6 by haredo

Google the word: Winmerge

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.

25 May 2010, 7:29 PM
#7
airsoftoutfitter avatar

airsoftoutfitter

Zen Follower

Join Date:
Dec 2009
Posts:
244
Plugin Contributions:
0

Post #7 by airsoftoutfitter

Ok, I downloaded and installed Winmerge, but am not sure how to use it. I have downloaded and unzipped the 1.3.9c update on to my desk top.

Is there an easy way to isolate the files that have been changed from 1.3.9b to 1.3.9c? Or do I just go through and copy and paste them into a new folder on my desktop (or strait to my desk top)

After I have the updated filed isolated, how to I compare to 1.3.9b? I have 1.3.9b on my server, but not on my desktop. Therefore it is going to take a long time to fine all files and pull them off the server. But if that is how I need to do it then I'll have to do it.

After I have files that are specified as being different from the 1.3.9b to 1.3.9c how do I get those files into winmerge to compare? and then upload to the proper directories. Does it all need to be manually done one by one.

All insight and guidance is appreciated

26 May 2010, 12:50 AM
#8
airsoftoutfitter avatar

airsoftoutfitter

Zen Follower

Join Date:
Dec 2009
Posts:
244
Plugin Contributions:
0

Post #8 by airsoftoutfitter

Anybody.. Help

26 May 2010, 1:08 AM
#9
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Post #9 by frank18

Did you read this post: http://www.zen-cart.com/forum/showthread.php?p=885531#post885531

It says:

Upgrade Notes:
If you're upgrading from v1.3.9a, you can simply update the files listed in the "Changelog for v1.3.9b" in the /docs/ folder of the download zip.....

This also applies when upgrading from 1.3.9b to c

Read the documentation contained in the docs folder of the 1.3.9c fileset

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

26 May 2010, 4:29 PM
#10
airsoftoutfitter avatar

airsoftoutfitter

Zen Follower

Join Date:
Dec 2009
Posts:
244
Plugin Contributions:
0

Post #10 by airsoftoutfitter

Frank,

I already read this and that is what I was attempting to do, however I am not sure what the easiest way of doing this is. I tried copying and pasting files from 1.3.9c which have been changed per the channel log into a separate folder before uploading but the problem I ran into was that some files had the same names and thus wanted to overwrite eachother when I placed them into the separate folder.

Just looking for help on how to easily do the upgrade, so if anyone can give me a step by step or detailed directions I would greatly appreciate.

Furthermore, I know also that with in merge you can compare files for differences, but not sure how to use that file and wanted help on that if anyone could offer it.

26 May 2010, 6:55 PM
#11
drbyte avatar

drbyte

Sensei

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

Post #11 by drbyte

VERY SIMPLE:

  1. You installed v1.3.9b as your first version.
  2. You made some customizations to some files. Which ones?
  3. Did you change ANY of the filenames mentioned in the list of files updated in v1.3.9c? If not, JUST UPLOAD THOSE NEWER VERSIONS OF FILES over the ones on the server.
  4. If you DID change any of the files listed, simply redo the changes you did by repeating those changes into the new v1.3.9c version of those files, and upload the updated files to your server.

That's the upgrade process in a nutshell. Nothing to fret over.
(NOTE: Since v1.3.9b-to-v1.3.9c had no database changes, I didn't talk about database updates above.)

NOTE: If you have installed several addons that have touched original files, you'll need to carefully handle those files, carefully merging the addon's changes into the new version of the files.

ALSO ...
If any of the files updated in the new version (in this case v1.3.9c) are files for which you created overrides for your own custom template/language, then you'll have to redo any custom changes for those files by repeating those customizations into the v1.3.9c version of those files and uploading those files to the applicable override folder on your site.

That's the official upgrade documentation stuff in a nutshell. The official docs tell you how to do it by staging all your upgrade steps in a TEST COPY of your site so that your changes don't take down your LIVE site because of a typo made or a customization you foofed or missed, etc. It's ALWAYS recommended to do ALL upgrades in a test environment first ... unless you don't care if you mistakenly take your live site offline for several hours until you sort out whatever you goofed up.

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

26 May 2010, 9:30 PM
#12
airsoftoutfitter avatar

airsoftoutfitter

Zen Follower

Join Date:
Dec 2009
Posts:
244
Plugin Contributions:
0

Post #12 by airsoftoutfitter

I will do what you stated and see how it turns out. Although if I want to do a test site, how would I do that? Is it difficult? I also want to back up my site, is there an easy way of creating a backup just incase a screw something up.

26 May 2010, 9:50 PM
#13
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Post #13 by frank18

A test site is simply a duplication of a live site properly installed in a different directory.

Backing up:

I use cPanel to backup my database to my HDD and I also have a copy of a full file set on my HDD.

Both, DB and files, are then zipped/copied again and that copy is placed on an external drive just in case my HDD fouls up.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

26 May 2010, 10:15 PM
#14
drbyte avatar

drbyte

Sensei

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

Post #14 by drbyte

Airsoft, answers to those questions are in the Tutorials/FAQ area. See the link at the top of this page.

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