Zen Cart Logo
Forums / Installing on a Linux/Unix Server / 1054 Unknown column error when moving store

1054 Unknown column error when moving store

Locked

Views: 1,625

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
10 Oct 2007, 2:42 AM
#1
Join Date:
Mar 2006
Posts:
3
Plugin Contributions:
0

1054 Unknown column error when moving store

Hi,

I have moved a store to a new server following these instructions:
https://www.zen-cart.com/tutorials/index.php?article=100.

The new server has SQL 5. The old server was SQL 4.

On the new server I get an error when clicking on any product link:
1054 Unknown column 'p.products_id' in 'on clause'

Is my only option upgrading to 1.3.7?

Is there any other way to fix this problem?

Thank you very much.

10 Oct 2007, 3:00 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,607
Plugin Contributions:
0

Re: 1054 Unknown column error when moving store

What version are you using?

10 Oct 2007, 7:44 PM
#3
Join Date:
Mar 2006
Posts:
3
Plugin Contributions:
0

Re: 1054 Unknown column error when moving store

zen-cart-v1.2.6d-full-release-with-security-patch.zip

10 Oct 2007, 8:10 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: 1054 Unknown column error when moving store

The v1.2 series code was not written for MySQL 5.
There is some discussion and even some code referenced in the wiki about how to patch some sections of the code for compatibility, but they are far from complete.
v1.3.7 is the most compatible so far.

11 Oct 2007, 2:29 AM
#5
Join Date:
Mar 2006
Posts:
3
Plugin Contributions:
0

Re: 1054 Unknown column error when moving store

You lead me in the right direction.

This patch worked great!!!

"www.dataweb.no/dm/index.php/Downloads"

Thanks alot!

11 Oct 2007, 6:10 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: 1054 Unknown column error when moving store

YOU NEED TO NOTE: that patch is ONLY a weak bandage. There are MANY other parts of the v1.2.x code that are NOT compatible with MySQL 5 ... and you may end up with missing or invalid data in your store if you continue to use the old code on the newer database.

You should plan for an upgrade sooner than later