Zen Cart Logo
Forums / General Questions / 1054 Unknown column 'o.orders_id' in 'on clause'

1054 Unknown column 'o.orders_id' in 'on clause'

Locked

Views: 933

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
1 Jan 2009, 11:46 PM
#1
mumzie avatar

mumzie

Inactive

Join Date:
Feb 2007
Posts:
211
Plugin Contributions:
0

1054 Unknown column 'o.orders_id' in 'on clause'

When I try to search on a VALID model number, I get

1054 Unknown column 'o.orders_id' in 'on clause'
in:
[select count(distinct o.orders_id) as total from (zen_orders o, zen_orders_status s left join zen_orders_products op on (op.orders_id = o.orders_id) ) left join zen_orders_total ot on (o.orders_id = ot.orders_id) where (o.orders_status = s.orders_status_id and s.language_id = '1' and ot.class = 'ot_total') and (op.products_model like '%87017%' or op.products_name like '87017%')]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

2 Jan 2009, 1:08 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: 1054 Unknown column 'o.orders_id' in 'on clause'

I suggest copying and pasting your error message into the search field above to find previous instances of this question asked and answered.

Or look at the Similar Threads listed below.