Zen Cart Logo
Forums / All Other Contributions/Addons / 1054 Unknown column 'products_id' in 'where clause'

1054 Unknown column 'products_id' in 'where clause'

Locked

Views: 2,742

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
15 Jun 2006, 2:03 PM
#1
darkwander avatar

darkwander

Zen Follower

Join Date:
May 2005
Location:
Australia
Posts:
321
Plugin Contributions:
0

1054 Unknown column 'products_id' in 'where clause'

I have been playing with a new type. Everything is fine until i get to "insert" then it comes up with the error

1054 Unknown column 'products_id' in 'where clause'

Any ideas on where the error might be ?

15 Jun 2006, 9:59 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: 1054 Unknown column 'products_id' in 'where clause'

this is typically a result of weak JOIN syntax on SQL queries running on MySQL5.

There are a number of threads discussing this issue in relation to Zen Cart v1.2.x (mostly 1.2.6 and 1.2.7)

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