Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / 138A to 139H Slowhand Upgrade

138A to 139H Slowhand Upgrade

Views: 3,260

Results 1 to 14 of 14
22 Nov 2010, 4:09 AM
#1
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

138A to 139H Slowhand Upgrade

I plan to upgrade to 139H over the Turkey Day weekend. Bad weekend to do this anyway.

What Directories can I upgrade without adversely affecting the whole system and forcing a restore before doing the full upgrade say on the 29th when business slows down for the day? :book:

OR is the best way to install a fresh 139H to a new directory and then try to tweak the store from there before taking that live? Are there directions to upgrade the DB as well so the 2 directories can share the same DB?

Thanks in advance.

22 Nov 2010, 8:19 AM
#2
kobra avatar

kobra

Black Belt

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

Re: 138A to 139H Slowhand Upgrade

OR is the best way to install a fresh 139H to a new directory and then try to tweak the store from there before taking that live? Are there directions to upgrade the DB as well so the 2 directories can share the same DB?
Do not share the same DB....create a new db for the upgrade and follow the tutorial
https://www.zen-cart.com/tutorials/index.php?article=108

When satisfied with the temp install, place your live site down for maint
Pull another proper DB backup and import into the new db and re-run zc_install and upgrade db only
Move all live site files to a folder
Move all new install files to your present shop location and edit the configure.php files to reflect the move
Enter the admin and remove from maint
https://www.zen-cart.com/tutorials/index.php?article=103

22 Nov 2010, 2:33 PM
#3
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

Re: 138A to 139H Slowhand Upgrade

Thanks cobra. Looking forward to it.

26 Nov 2010, 10:06 PM
#4
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

Re: 138A to 139H Slowhand Upgrade

I have to admit.

Uploading a fresh install of 139H is really making the upgrade easier than expected. Many of the extra modules already installed in the current shop seem to be in place and I can decide which additional ones really need to be added later.

So the new site should load faster.

26 Nov 2010, 10:12 PM
#5
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,841
Plugin Contributions:
0

Re: 138A to 139H Slowhand Upgrade

Many of the extra modules already installed in the current shop seem to be in place

Something about that statement bothers me......are you seeing some of your add-on modules in the admin menus? if you are this would be because you upgraded a copy of your database from the live store, which is fine......but that only means the configs are set for them, the files for those mods will be missing from the fileset.

12 Dec 2010, 9:25 PM
#6
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

Re: 138A to 139H Slowhand Upgrade

No. It has been years since doing a fresh install on my own server so it just "seemed" as if there are some cool changes/addons that have been added.

I just want to import my Products from the old "Store" to the New 139v so do I just import all the Product tables or just Product Desription? Will that populate the inventory with pics, quantities, weights, etc?

LOCK TABLES products_description WRITE;

13 Dec 2010, 1:05 AM
#7
kobra avatar

kobra

Black Belt

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

Re: 138A to 139H Slowhand Upgrade

I just want to import my Products from the old "Store" to the New 139v so do I just import all the Product tables or just Product Desription?
Not recommended
Import the full DB and re-run zc_install to upgrade it

16 Feb 2011, 12:03 AM
#8
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

Re: 138A to 139H Slowhand Upgrade

Due to new higher costs and terrible customer service I decided to start fresh on another host.

Since the copy of 139H is fresh on the server can't import the old database into the new one so that the products are there, customers, and orders continue from here?

I backed up the old site according to the recommendations.

16 Feb 2011, 1:23 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: 138A to 139H Slowhand Upgrade

If you look at the published upgrade instructions, one of the steps is a clean install of the latest version. Since your new host has a clean install of that version, that's the only step you'll skip in the rest of the instructions.

16 Feb 2011, 2:00 AM
#10
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

Re: 138A to 139H Slowhand Upgrade

Ooops what I meant was... can't I import the old database into the new one so that the products are there, customers, and orders can continue from here?

16 Feb 2011, 3:15 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: 138A to 139H Slowhand Upgrade

Insomuch as there is a database-import requirement for doing an upgrade, yes: you'll import your data the same way you would in preparing an upgrade. Later on in the upgrade steps you'll run zc_install to upgrade its structure, in addition to dealing with all your php file customizations etc.

18 Feb 2011, 7:03 PM
#12
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

Re: 138A to 139H Slowhand Upgrade

Got it. Thanks Doc.

Found this when function testing the Email and send Newsletter send:

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE email_format != 'NONE' and confirmed = 1 and (customers_id IS NULL or cust' at line 1
in:
[SELECT email_address as customers_email_address FROM WHERE email_format != 'NONE' and confirmed = 1 and (customers_id IS NULL or customers_id = 0) order by email_address ]

Any hints?

Do you have a tool to sniff out the other sql errors IF they exist on my site?

18 Feb 2011, 9:23 PM
#13
drbyte avatar

drbyte

Sensei

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

Re: 138A to 139H Slowhand Upgrade

That's a result of having had the Newsletter Subscribe addon installed but not fully uninstalling all the changes it made to your database.
You'll need to manually hack out (delete) all entries in the query_builder table that make any mention of TABLE_SUBSCRIBERS in order to prevent that error.

25 Feb 2011, 3:31 PM
#14
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

Re: 138A to 139H Slowhand Upgrade

Okay I'm ready for a site function test.

Please do not complete the order in paypal. If you do then I will refund your money.