Forums / Upgrading to 1.5.x / Questions about upgrading from 139h to 151 ?

Questions about upgrading from 139h to 151 ?

Views: 3,509

Results 1 to 17 of 17
2 Feb 2014, 10:14 AM
#1
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Questions about upgrading from 139h to 151 ?

i have so many modules installed

how i can upgrade without problems ?

thanks

2 Feb 2014, 12:35 PM
#2
lat9 avatar

lat9

Administrator

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

Re: Questions about upgrading from 139h to 151 ?

Start by making a list of all the plugins you've currently got installed. Look in the Zen Cart Plugins area and see if each plugin has been updated for Zen Cart v1.5.0 or later. If not, check the plugin's support forum since it might run on v1.5.0 without change. If you have any plugins that haven't been updated or have been reported with problems, do you absolutely need them for your store's operation?

For a store with extensive customization, like you indicate you have, my suggestion is to perform a *rebuild * rather than an upgrade. To rebuild, you'll create a fresh install of Zen Cart (using your current database to pull in your products, customers and orders) and then re-add each updated plugin one-at-a-time, making a good backup of your file structure and database between each new plugin. That way, you've got the fresh plugin code going into the fresh Zen Cart base and your problems with plugin incompatibility should be lessened.

2 Feb 2014, 1:41 PM
#3
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Questions about upgrading from 139h to 151 ?

If you do it yourself, you will learn and be the wiser.

If you hire someone, they need to have the experience and ability to get it working in a reasonable amount of time.

There's pros and cons to both... and the forum has answers ;)

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

7 Feb 2014, 6:20 PM
#4
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Questions about upgrading from 139h to 151 ?

lat9:

For a store with extensive customization, like you indicate you have, my suggestion is to perform a *rebuild * rather than an upgrade. To rebuild, you'll create a fresh install of Zen Cart (using your current database to pull in your products, customers and orders) and then re-add each updated plugin one-at-a-time, making a good backup of your file structure and database between each new plugin. That way, you've got the fresh plugin code going into the fresh Zen Cart base and your problems with plugin incompatibility should be lessened. nods in agreement :yes: and THIS is how I've approached all of my "upgrades" for THIS reason..

lat9:

If you have any plugins that haven't been updated or have been reported with problems, do you absolutely need them for your store's operation?

Plus it makes clean starts easy peezy.. (like the site where I was no longer using a drop menu add-on)

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

20 Mar 2014, 9:35 AM
#5
rizla avatar

rizla

Zen Follower

Join Date:
Sep 2010
Posts:
449
Plugin Contributions:
0

Re: Questions about upgrading from 139h to 151 ?

lat9:

Start by making a list of all the plugins you've currently got installed. Look in the Zen Cart Plugins area and see if each plugin has been updated for Zen Cart v1.5.0 or later. If not, check the plugin's support forum since it might run on v1.5.0 without change. If you have any plugins that haven't been updated or have been reported with problems, do you absolutely need them for your store's operation?

For a store with extensive customization, like you indicate you have, my suggestion is to perform a *rebuild * rather than an upgrade. To rebuild, you'll create a fresh install of Zen Cart (using your current database to pull in your products, customers and orders) and then re-add each updated plugin one-at-a-time, making a good backup of your file structure and database between each new plugin. That way, you've got the fresh plugin code going into the fresh Zen Cart base and your problems with plugin incompatibility should be lessened.

Hi, I'm at the same stage... Need to now upgrade from 1.3.9h and I've only got 4 weeks to complete before the server upgrade.
Regarding the second paragraph:

I have created a 'demo' directory on the server and uploaded the install files to it. Now, before I go any further, and reading your post, do I now simply install Zen and point it to my EXISTING DB??? during the install, OR, do I create a NEW DB and then merge with the db tool?

I'm totally confused as if I used the existing db would that not work with 5.1?

Any advice

20 Mar 2014, 12:39 PM
#6
lat9 avatar

lat9

Administrator

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

Re: Questions about upgrading from 139h to 151 ?

Rizla:

Hi, I'm at the same stage... Need to now upgrade from 1.3.9h and I've only got 4 weeks to complete before the server upgrade.
Regarding the second paragraph:

I have created a 'demo' directory on the server and uploaded the install files to it. Now, before I go any further, and reading your post, do I now simply install Zen and point it to my EXISTING DB??? during the install, OR, do I create a NEW DB and then merge with the db tool?

I'm totally confused as if I used the existing db would that not work with 5.1?

Any advice
Start by making a **new **database as a ***copy ***of your current store's database. That way, you've got your current products and a snapshot of the customers and orders at the point in time where you made the copy. Point your "demo" directory to the new database and start your upgrade process.

20 Mar 2014, 1:37 PM
#7
frank18 avatar

frank18

Deceased

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

Re: Questions about upgrading from 139h to 151 ?

And adding to lat9's advice..

lat9:

Start by making a **new **database as a ***copy ***of your current store's database. That way, you've got your current products and a snapshot of the customers and orders at the point in time where you made the copy. Point your "demo" directory to the new database and start your upgrade process.

Do your upgrade on a local copy of the lot - files and DB. This way you can merge/delete/update whatever at your own pace and leisure. Just take detailed notes of what mods needed upgrading/reinstalling so you can apply that later on the live site. This is also a good time to weed out installed mods you have never or very rarely used. The less mods on a site the easier future upgrades.

That's just how I have been dealing with upgrades in the past - never had a hiccup on a live site apart from a few minor errors reported in the logs.

Cheers / Frank

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

25 Mar 2014, 10:52 AM
#8
rizla avatar

rizla

Zen Follower

Join Date:
Sep 2010
Posts:
449
Plugin Contributions:
0

Re: Questions about upgrading from 139h to 151 ?

lat9:

Start by making a **new **database as a ***copy ***of your current store's database. That way, you've got your current products and a snapshot of the customers and orders at the point in time where you made the copy. Point your "demo" directory to the new database and start your upgrade process.

Hi lat9
Sorry for being a pain. I have so far installed the new Zen in a 'demo' directory on my server. I made a new db and installed using that :(
I missed the part where you said 'a copy of the original db' I gather all is not YET lost as I could create another db that IS a copy of my main existing db and alter the config files??

What I don't understand is HOW I make a COPY of my existing db to a new db. I have shaking hands and beads of sweat on my forehead.

25 Mar 2014, 11:07 AM
#9
frank18 avatar

frank18

Deceased

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

Re: Questions about upgrading from 139h to 151 ?

Rizla:

....What I don't understand is HOW I make a COPY of my existing db to a new db. I have shaking hands and beads of sweat on my forehead.

In short: using phpMyAdmin export your live DB to your local HD. Then, using phpMyAdmin, import that copy into your demo DB. Next you run zc_install on your demo site and only choose DB upgrade.

Don't worry, if you muck it up then only your demo site is affected. Your live site is still humming along.

Edit:

Add lat9's last para to this post

Edit your /YOUR_ADMIN/includes/configure.php and /includes/configure.php files to reflect the newly-copied database credentials and follow the instructions posted in the FAQ section about "Upgrading your Zen Cart".

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

25 Mar 2014, 11:08 AM
#10
lat9 avatar

lat9

Administrator

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

Re: Questions about upgrading from 139h to 151 ?

Go to your webhost's cPanel, there's usually a link to "Manage Databases" or "phpMyAdmin". What you're looking for is phpMyAdmin.

At the lefthand side of the screen, there's a database-selection area. Select your current (v1.3.9h) database. The buttons at the top of the main portion of the screen will change based on your selection of a database. One of the selections is "Operations", click there. One of the options is "Copy Database to:"; enter a new database name (like xxxxx_v151), choose 'Structure and data' and press "Go". That will make a copy of your v1.3.9h database into the database you've named. Depending on your webhost, you might have an option to identify (or they might just tell you) the username, hostname and password for the newly-copied database.

Edit your /YOUR_ADMIN/includes/configure.php and /includes/configure.php files to reflect the newly-copied database credentials and follow the instructions posted in the FAQ section about "Upgrading your Zen Cart".

26 Mar 2014, 11:02 PM
#11
missinglife avatar

missinglife

Zen Follower

Join Date:
Apr 2009
Location:
Portland, OR
Posts:
104
Plugin Contributions:
0

Re: Questions about upgrading from 139h to 151 ?

lat9:

Edit your /YOUR_ADMIN/includes/configure.php and /includes/configure.php files to reflect the newly-copied database credentials and follow the instructions posted in the FAQ section about "Upgrading your Zen Cart".

Hi there,

I been following your instructions on how to copy database, no problem on these part.
however when you said above configure.php files, both of these configure.php in my demo section are empty!!!
did I done something wrong?

thank you for your time
Arwen

27 Mar 2014, 1:47 AM
#12
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Questions about upgrading from 139h to 151 ?

Have you run zc_install yet to install the new copy of Zen Cart? The installation process creates brand new configure.php files customized with your current information. After that, you can replace the new database content with your existing content and "upgrade" the db.

27 Mar 2014, 2:48 AM
#13
missinglife avatar

missinglife

Zen Follower

Join Date:
Apr 2009
Location:
Portland, OR
Posts:
104
Plugin Contributions:
0

Re: Questions about upgrading from 139h to 151 ?

gjh42:

Have you run zc_install yet to install the new copy of Zen Cart? The installation process creates brand new configure.php files customized with your current information. After that, you can replace the new database content with your existing content and "upgrade" the db.

You mean install the new copy of Zen Cart on my live site?
I currently has Zen Cart 1.3.8a on my live site, and planing to install 1.5.0 to my demo site.
I went through all the file comparison and update the differences, template Override system, and make a copy live site db to demo site,
and someone said that if I install the new version of Zen Cart on my demo site after done all above, it will be a "Upgrade" not "Install" and Yet, when I try to install it on my demo site, it says "Ready to Install? (This will wipe any existing data. You are NOT in Upgrade mode!!!"

so my process is incorrect?

27 Mar 2014, 4:17 PM
#14
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Questions about upgrading from 139h to 151 ?

As long as you point your demo site to the demo database, it will not affect your live site. The demo db can be empty before you run zc_install; after installation is complete, then wipe the demo db, import your real db content into the demo db, run zc_install and "upgrade".

Remember that this will reset admin usernames and passwords to match your live site. It will be easiest if you set up the demo site with matching user/pw. After all upgrading is complete, then go into the demo admin and change the admin user/pw so you won't accidentally log into one site thinking that it is the other.

27 Mar 2014, 6:39 PM
#15
paul_h avatar

paul_h

New Zenner

Join Date:
May 2010
Posts:
18
Plugin Contributions:
0

Re: Questions about upgrading from 139h to 151 ?

How do I find out what additional modules are installed?

Thanks

Paul

28 Mar 2014, 1:02 AM
#16
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Questions about upgrading from 139h to 151 ?

There is not a central repository for that information; you will need to compare your fileset with a fresh fileset of the same ZC version, note the files thare different, and investigate each of them to see if they belong to your current template or to a separate mod. Some files will note the mod they relate to in the comments at the top. If you don't find any identification for some files, you can look in Plugins for mods that affect the same area as your file.

Did you build the site, or inherit it?

28 Mar 2014, 2:05 PM
#17
frank18 avatar

frank18

Deceased

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

Re: Questions about upgrading from 139h to 151 ?

paul-h:

How do I find out what additional modules are installed?

Thanks

Paul

I usually forget what I have installed - what's new?? (Senior's mental blanks.....)

So, to find what mods have been added I check my admin for anything that is not stock, be that in admin > configuration, admin > tools, admin > extras, wherever.

I take note of the additions (compared to a stock ZC install) and then refer to my (local) downloaded modules and read the instructions re version / compatability / upgrading. Then I am making changes accordingly - or kick them out if I have never or rarely used the mods.

This method never let me down.

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