Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / Search by Product Name or ID:XX Error

Search by Product Name or ID:XX Error

Locked

Views: 1,311

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
05 Dec 2007, 09:12
#1
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Search by Product Name or ID:XX Error

I've just tested the new "Search by Product Name or ID:XX" feature in 1.3.8 and it didn't seem to work.

When entering either a product name, product id or any word/number the following error message is displayed.

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 '%my product%' or op.products_name like 'my product%')]
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.

Is this a know issue or have I missed something during the upgrade?

05 Dec 2007, 16:30
#2
drbyte avatar

drbyte

Sensei

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

Re: Search by Product Name or ID:XX Error

Did you upgrade your split_page_results.php class file?
You've mentioned elsewhere that turning off strict_mode seems to have helped a few things (which is puzzling since a lot of our testing has been done with strict_mode on), but does that also resolve the issue you're reporting?

FYI: http://www.zen-cart.com/forum/showthread.php?p=518384#post518384

05 Dec 2007, 18:48
#3
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Search by Product Name or ID:XX Error

Yes, this file (within admin/includes/classes) was updated.

My server is currently running with strict_mode disabled.