Post by comiclair » Tue Jul 21, 2009 9:02 am

I did a new install for 1.30 and that worked fine until I tried to restore my backup. I get an error and I am clueless to this stuff.

Error: Unknown column 'keyword' in 'field list'
Error No: 1054
INSERT INTO `category` (`category_id`, `keyword`, `image`, `parent_id`, `sort_order`, `date_added`, `date_modified`) VALUES ('46', '', 'lostS3_pw11.JPG', '38', '3', '2009-06-07 01:16:43', '2009-06-26 15:16:26')

Active Member

Posts

Joined
Sun Jun 07, 2009 5:08 am
Location - Trenton, NJ

Post by toranaga8181 » Wed Jul 22, 2009 12:18 am

I think your new database have another prefix and when you restore old database they cant find column check it.

Newbie

Posts

Joined
Sat Jul 18, 2009 6:10 pm

Post by comiclair » Wed Jul 22, 2009 2:57 am

I did not use a prefix on either data bases when I did the installs. So I don't really understand how there could be a different prefix unless one was designated when I installed 1.29.

Active Member

Posts

Joined
Sun Jun 07, 2009 5:08 am
Location - Trenton, NJ

Post by Daniel » Wed Jul 22, 2009 3:45 am

download 1.3.0 and try again.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by comiclair » Wed Jul 22, 2009 9:34 am

I did a fresh install which works but when I tried the restore again my backup gets the error still

Error: Unknown column 'keyword' in 'field list'
Error No: 1054
INSERT INTO `category` (`category_id`, `keyword`, `image`, `parent_id`, `sort_order`, `date_added`, `date_modified`) VALUES ('46', '', 'lostS3_pw11.JPG', '38', '3', '2009-06-07 01:16:43', '2009-06-26 15:16:26')

Active Member

Posts

Joined
Sun Jun 07, 2009 5:08 am
Location - Trenton, NJ

Post by comiclair » Wed Jul 22, 2009 10:10 am

I think I figured it out...the problem is some of this stuff intimidates me with altering the database and such. I will see if it works

Active Member

Posts

Joined
Sun Jun 07, 2009 5:08 am
Location - Trenton, NJ

Post by comiclair » Wed Jul 22, 2009 11:16 am

I have it working now but can get the theme to work

Active Member

Posts

Joined
Sun Jun 07, 2009 5:08 am
Location - Trenton, NJ

Post by onelouder » Wed Jul 22, 2009 11:06 pm

I Have the same error from when restoring

Error: Unknown column 'keyword' in 'field list'
Error No: 1054
INSERT INTO `category` (`category_id`, `keyword`, `image`, `parent_id`, `sort_order`, `date_added`, `date_modified`) VALUES ('44', 'dynamic', 'dynamic.jpg', '43', '0', '2009-07-07 10:32:00', '2009-07-10 11:28:47')

I upgraded from 1.2.9 and followed the instructions carefully (i hope). everything goes okay cept when i try to restore the database through the admin.

Would it be possible just to delete the phpmyadmin database and create a new one then restore the database through the admin or would that not work?

Also what was the solution to your problem comiclair?

New member

Posts

Joined
Tue May 26, 2009 10:15 pm

Post by Daniel » Wed Jul 22, 2009 11:10 pm

do a fresh install.

bfore restoting your db remove all create and trunicate parts of code.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by onelouder » Wed Jul 22, 2009 11:29 pm

remove all create and trunicate parts of code.
Hi Daniel im not quite sure what this means? Could you explain it a bit further for me?

New member

Posts

Joined
Tue May 26, 2009 10:15 pm

Post by comiclair » Thu Jul 23, 2009 1:30 am

I fixed my database by actually following the upgrade instructions (that where included in the download) on my backup :
ALTER TABLE `oc_category` DROP `keyword`;
ALTER TABLE `oc_product` DROP `keyword`;
ALTER TABLE `oc_manufacturer` DROP `keyword`;
ALTER TABLE `oc_information` DROP `keyword`;
DROP TABLE `oc_url_alias`;

Active Member

Posts

Joined
Sun Jun 07, 2009 5:08 am
Location - Trenton, NJ

Post by onelouder » Fri Jul 24, 2009 8:48 pm

Thanks, i wont be editing tables after ive backed up my database next time :) Problem fixed.

New member

Posts

Joined
Tue May 26, 2009 10:15 pm
Who is online

Users browsing this forum: No registered users and 22 guests