Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Upgrading from 1.2 to 1.3.x / Unknown Column on Database Upgrade

Unknown Column on Database Upgrade

Locked

Started by audradh on 6 Aug 2006, 11:59 AM · Views: 2,277

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
6 Aug 2006, 11:59 AM
#1
audradh avatar

audradh

Zen Follower

Join Date:
Oct 2005
Location:
Eastern US
Posts:
429
Plugin Contributions:
0

Unknown Column on Database Upgrade

I'm doing a partial upgrade/partial site rebuild from version 1.2.6 to 1.3.0.2 in that I will be upgrading my database but starting fresh with everything else.

I had done a little bit of customization to the new store when I decided I would like to load my current database into it. Here is the error I now receive when I try to access the new shop:

1054 Unknown column 'startdate' in 'field list'
in:
[select startdate, counter, session_counter from zen_counter_history where startdate='20060806']

The way that I upgraded the database was to
-do a backup of my current database via the admin panel
-ftp that backup to my local files
-open the new shop database in phpmyadmin
-choose "import" at the top
-browse to the backup taken in step one and click go

I think I did that right.

I don't why I am getting the error. It seems like it doesn't recognize the current date, but I just don't get it :blink:

Any ideas mucho grande apprecianado (I think I may have made that last word up:P )

Thanks!
Audra

6 Aug 2006, 12:26 PM
#2
audradh avatar

audradh

Zen Follower

Join Date:
Oct 2005
Location:
Eastern US
Posts:
429
Plugin Contributions:
0

Re: Unknown Column on Database Upgrade

Hmm, I editted that post, but I must not have hit save.

I found the table zen_counter_history. When I pull it up there is a warning: No index defined!

Also, under "field" the only things I see are "month" and "counter"

6 Aug 2006, 12:57 PM
#3
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Unknown Column on Database Upgrade

You need to run the installer and upgrade the database it sounds like....

When the world gets in my face I say Have A Nice Day.

6 Aug 2006, 1:04 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Unknown Column on Database Upgrade

As Tina noted, do a database backup and then run the upgrader, you have missed some things ...

As to the indexes, there are not indexes at this time ... but as we are re-doing them, they will be included in a future release ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Aug 2006, 6:27 PM
#5
audradh avatar

audradh

Zen Follower

Join Date:
Oct 2005
Location:
Eastern US
Posts:
429
Plugin Contributions:
0

Re: Unknown Column on Database Upgrade

Worked like a charm! thank you both :D