Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / How do I know what the "new" version files are?

How do I know what the "new" version files are?

Locked

Views: 4,701

Results 1 to 20 of 37
This thread is locked. New replies are disabled.
21 Aug 2010, 6:23 PM
#1
Join Date:
Sep 2009
Posts:
40
Plugin Contributions:
0

How do I know what the "new" version files are?

How do I find out what the new version files are??

Is this a process where I need to sit there and compare files, or how does this work?

I am upgrading from 1.3.8a to .9f the latest version..

Thanks,
Brian

21 Aug 2010, 6:28 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I know what the "new" version files are?

If you have used the template override system there should be only a handfull of files that might require comparing/merging
Check the changelogs in the distribution /docs folder against your list of overridden files

Other than that follow the tutorials

https://www.zen-cart.com/tutorials/index.php?article=98
https://www.zen-cart.com/tutorials/index.php?article=108

21 Aug 2010, 10:00 PM
#3
swguy avatar

swguy

Administrator

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

Re: How do I know what the "new" version files are?

Going from a to f though you can just review the changes in b, c, d, e and f - they are in the docs folder - what's new in <version>. You don't have to compare every file and figure it out yourself.

22 Aug 2010, 12:07 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: How do I know what the "new" version files are?

Jeffries Productions:

Is this a process where I need to sit there and compare files, or how does this work?

I am upgrading from 1.3.8a to .9f the latest version..
If you're going from v1.3.8a to v1.3.9f, then yes, you should be comparing everything, following the instructions included in the /docs/ folder of every Zen Cart release zip.

a) compare all your CURRENT files against CLEAN files for THAT version. Note your customizations.
b) reproduce those customizations into the NEW version's files
c) test them all on a new test copy of your site+database
d) when all testing is ready, move the files to your live site and upgrade the database.

Of course, test again on the live site for peace of mind.

And always make backups of files and database before doing anything.

The published upgrade docs go into more detail.

22 Aug 2010, 12:56 AM
#5
Join Date:
Sep 2009
Posts:
40
Plugin Contributions:
0

Re: How do I know what the "new" version files are?

DrByte:

If you're going from v1.3.8a to v1.3.9f, then yes, you should be comparing everything, following the instructions included in the /docs/ folder of every Zen Cart release zip.

a) compare all your CURRENT files against CLEAN files for THAT version. Note your customizations.
b) reproduce those customizations into the NEW version's files
c) test them all on a new test copy of your site+database
d) when all testing is ready, move the files to your live site and upgrade the database.
.

wow, this is going to be time consuming. Is there a way to just install a new one and import all the old users and user info?

22 Aug 2010, 1:53 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I know what the "new" version files are?

Is there a way to just install a new one and import all the old users and user info?
Yes but you loose all your custom look

23 Aug 2010, 12:21 AM
#7
Join Date:
Sep 2009
Posts:
40
Plugin Contributions:
0

Re: How do I know what the "new" version files are?

hmm, I am still thinking about how I want to go about this.. I cannot remember how long it took me to stylize my store.

Well I am going to put some thought into this and make a decision from there. Thanks for all the responses, I will post if I have and questions.

Thanks

23 Aug 2010, 12:23 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I know what the "new" version files are?

Well I am going to put some thought into this and make a decision from there
Backup - Backup - Backup
Before doing anything - -both filkes and DB

23 Aug 2010, 7:01 PM
#9
llynix avatar

llynix

Zen Follower

Join Date:
Jul 2009
Location:
Texas
Posts:
210
Plugin Contributions:
0

Re: How do I know what the "new" version files are?

I do a diff -rbq between the two releases
then for each file that's modified do a diff -b between the old version and my core files

then I merge these modifications into the new file.

Then I use a cpdir shell script I stole somewhere to copy the file with preserved directory structure.

I've gotten the patching process down to an hour or so.. if I knew a little more *nix scripting I'd automate most all of it.

23 Aug 2010, 9:44 PM
#10
Join Date:
Sep 2009
Posts:
40
Plugin Contributions:
0

Re: How do I know what the "new" version files are?

So I decided to just do it the way that was said the first time. To go through all the updates and pick out the new files and upload them and so on..

The problem I am having is creating my new store in a new directory. I got all the new information and database setup. I told zen-cart to use my custom template but most of my homepage is missing. All I see is this:
"HEADER_TITLE_CATALOG
Welcome Guest! Would you like to log yourself in?

THE 2011 CALENDARS ARE AVAILABLE FOR PRE-ORDER!"

The link to my test store:
http://flyteusa.com/flyteusa/store/

the link to my currently live store:
http://shop.flyteusa.com/

What did I do wrong?

23 Aug 2010, 9:53 PM
#11
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I know what the "new" version files are?

All I see is this:
"HEADER_TITLE_CATALOG
When you see a constant - you most likely omitted the pair of single quote around your desired text

23 Aug 2010, 11:18 PM
#12
Join Date:
Sep 2009
Posts:
40
Plugin Contributions:
0

Re: How do I know what the "new" version files are?

My rollover buttons do not work now because I updated them to the new text. The reason is the onload statement in the <body> tag in the html.

What file is that in?

23 Aug 2010, 11:20 PM
#13
drbyte avatar

drbyte

Sensei

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

Re: How do I know what the "new" version files are?

When you compare your old custom 1.3.8 template folder against the 1.3.8 template_default folder, what differences do you note?
Have you recreated those same customizations into all the equivalent files in your new custom template?

That comparison process is the fastest way to finding the old changes that might be missing in your new setup.

23 Aug 2010, 11:28 PM
#14
Join Date:
Sep 2009
Posts:
40
Plugin Contributions:
0

Re: How do I know what the "new" version files are?

All I am doing right now is getting the template updated with the new navbar images. And I went through all my custom template files and didnt see one with the opening body tag. Which leads me to believe I must have accidentally saved the default one with my onload statement in it.

Can you tell me which file it so I can remove it and add that file to my custom template folder and then update the statement?

Thanks,
Brian

23 Aug 2010, 11:31 PM
#15
Join Date:
Sep 2009
Posts:
40
Plugin Contributions:
0

Re: How do I know what the "new" version files are?

Sorry, I found it. tpl_main_page

:)

24 Aug 2010, 2:24 AM
#16
Join Date:
Sep 2009
Posts:
40
Plugin Contributions:
0

Re: How do I know what the "new" version files are?

So I finnaly have everything up and working and want to go through and download all the past versions so I can update my store and I cannot find:
.3.8b, .8c, .... so on.
This site only has the .8a and then goes to .9a, b, c, ... and so on. Is this correct, just download everything for .9?

http://sourceforge.net/projects/zencart/files/

Thanks!!

24 Aug 2010, 3:12 AM
#17
drbyte avatar

drbyte

Sensei

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

Re: How do I know what the "new" version files are?

Jeffries Productions:

So I finnaly have everything up and working and want to go through and download all the past versions so I can update my store and I cannot find:
.3.8b, .8c, .... so on.
This site only has the .8a and then goes to .9a, b, c, ... and so on. Is this correct, just download everything for .9?

http://sourceforge.net/projects/zencart/files/

Thanks!!
Um ... Why?

What version do you have now?

Didn't you upgrade from 1.3.8a to 1.3.9f directly?

24 Aug 2010, 5:10 AM
#18
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: How do I know what the "new" version files are?

Just to point out an error in your live site, the videos link contains a zenid, which may cause cart issues for some customers, you need to remove that

24 Aug 2010, 5:18 AM
#19
Join Date:
Sep 2009
Posts:
40
Plugin Contributions:
0

Re: How do I know what the "new" version files are?

I currently have 1.3.8a, So you are saying I can just download and install 1.3.9f and run upgrade?

I was getting the impression that I had to run all the updates from 1.3.9a to 1.3.9f because I have such an old version...

As for the zenid thing... What the heck is that?! I am not sure if the videos are going to be sold any longer but please fill me in on what that is..

Thanks!

24 Aug 2010, 6:11 AM
#20
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: How do I know what the "new" version files are?

Jeffries Productions:

As for the zenid thing... What the heck is that?! I am not sure if the videos are going to be sold any longer but please fill me in on what that is..

Thanks!

AS i understand the zenid identifies your session or cart (there was a good explanation of this somewhere, but can't find the blasted thing)

the link on your videos link says this (I have added spaces to stop it being shortened by the forum)
http :// flyteusa.com /flyteusa/ zen-cart-v1.3.8a-full-fileset-12112007 /index.php?main_page=product_info&cPath=69 &products_id=185 &zenid=ee4c48940cc3197457d937aa3a5989d9

so if multiple people have the same id its not good

you just need to remove the "&zenid=ee4c48940cc3197457d937aa3a5989d9"

or you could just use the below link which is a bit cleaner (click on it)

http://shop.flyteusa.com/index.php?main_page=index&cPath=69

also, when you get your site updated, add image handler, because your site is phenomenally slow for me about 30 second to load the main page, and it can all be trace back to the images which way in at about a megabyte all up, optimising them will make your site load in about 5 or 6 seconds

Sorry i can't help with your upgrade, I recently upgraded from 1.3.7 to 1.3.9b, I did a complete new install and then imported the database, the actual upgrade itself was easy, it was just getting my customisations back on the store that took a little time