Forums / Upgrading from 1.2 to 1.3.x / Update database from 1.2.6 to 1.3.0.1

Update database from 1.2.6 to 1.3.0.1

Locked

Started by stoelk on 25 May 2006, 6:46 AM · Views: 2,267

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
25 May 2006, 6:46 AM
#1
stoelk avatar

stoelk

New Zenner

Join Date:
Mar 2005
Posts:
3
Plugin Contributions:
0

Update database from 1.2.6 to 1.3.0.1

While trying to update database from verison 1.2.6 to 1.3.01 I get an error:

1136 Column count doesn't match value count at row 1
in:
[INSERT INTO zen_configuration_group VALUES (30, 'EZ-Pages Settings', 'EZ-Pages Settings', 30, '1');]

Any suggestions how to solve this problem?

25 May 2006, 7:23 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,893
Plugin Contributions:
20

Re: Update database from 1.2.6 to 1.3.0.1

first question is "did you get the full 1.3.0.1 or just the upgrade?"

Sounds like you might have missed the database update in basic 1.3.

If you did not get the FULL 1.3.1, get it and do the database update through the zc_install.

HTH

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

26 May 2006, 8:39 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: Update database from 1.2.6 to 1.3.0.1

Actually, it sounds like you've altered the structure of the configuration_group table to have more or fewer fields than normal.

What mods have you installed on your old shop?

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

27 May 2006, 8:02 AM
#4
stoelk avatar

stoelk

New Zenner

Join Date:
Mar 2005
Posts:
3
Plugin Contributions:
0

Re: Update database from 1.2.6 to 1.3.0.1

DrByte:

Actually, it sounds like you've altered the structure of the configuration_group table to have more or fewer fields than normal.

What mods have you installed on your old shop?

In the meantime I figured out that configuration_group is containing additional column language_id. This is why it fails. Might be that this column results from installing a modification. Main reason for the bug is: Original update script is not explicitly defining the column names for insert statement. This is why it fails.

28 May 2006, 4:25 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: Update database from 1.2.6 to 1.3.0.1

Here's the complete insert content:```
INSERT INTO configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible) VALUES (30, 'EZ-Pages Settings', 'EZ-Pages Settings', 30, 1);

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

6 Jun 2006, 3:58 PM
#6
tassoman avatar

tassoman

New Zenner

Join Date:
Dec 2005
Posts:
9
Plugin Contributions:
0

Re: Update database from 1.2.6 to 1.3.0.1

This is a question: so finally upgrading from 1.2.6 to 1.3.0.1 needs following steps:

  1. backup old site and old db
  2. download 1.3.0.1 full pack fron sourceforge
  3. upload and overvrite all files (templates and langs overides will still your old)
  4. run zc_install/upgrade.php
  5. correct any error could be in the templates.

is this the procedure?

Moreover old plugins and old templates will work also with 1.3.x?

6 Jun 2006, 4:07 PM
#7
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,893
Plugin Contributions:
20

Re: Update database from 1.2.6 to 1.3.0.1

Tassoman,
There are instructions in the docs that you download and this thread from Ajeh is excellent advice when upgrading.

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

14 Jun 2006, 3:31 AM
#8
technicalvalues avatar

technicalvalues

New Zenner

Join Date:
Jan 2005
Location:
Virginia, USA
Posts:
6
Plugin Contributions:
0

Re: Update database from 1.2.6 to 1.3.0.1

My first two attempts at this upgrade failed miserably ;) Fortunately, I made backups immediately before each attempt. I think I'm going to wait a little longer so that more of the addon scripts are updated and available. I'd really like to see the SEFU, Froogle, and a few of the other really popular ones integrated into the core so that it's not such a pain to go through these upgrades. Thanks for the link DBLTOE, I'll have to visit that before I make my next attempt.

Technical Values
Get in on the Biggest launch of the year!
SEO Cash Cow
Offer will close when the limited number of available packages are sold out.