giofriscia Posted January 18, 2007 Share Posted January 18, 2007 Hi OSCusers... I'm using a template monster oscommerce that gives me a 1054 error.. When a use the search query this message comes out: 1054 - Unknown column 'p.products_id' in 'on clause' select count(distinct p.products_id) as total from products p left join manufacturers m using(manufacturers_id), products_description pd left join specials s on p.products_id = s.products_id, categories c, products_to_categories p2c left join tax_rates tr on p.products_tax_class_id = tr.tax_class_id left join zones_to_geo_zones gz on tr.tax_zone_id = gz.geo_zone_id and (gz.zone_country_id is null or gz.zone_country_id = '0' or gz.zone_country_id = '105') and (gz.zone_id is null or gz.zone_id = '0' or gz.zone_id = '0') where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '4' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and p.products_date_added >= '20070116' and p.products_date_added <= '20070116' and (IF(s.status, s.specials_new_products_price, p.products_price) * if(gz.geo_zone_id is null, 1, 1 + (tr.tax_rate / 100) ) >= 9) and (IF(s.status, s.specials_new_products_price, p.products_price) * if(gz.geo_zone_id is null, 1, 1 + (tr.tax_rate / 100) ) <= 10) Well... i Tried many fixes that this forum has...but without risolving the problem. Can someone help me?? Grazie Giò Link to comment Share on other sites More sharing options...
jasonabc Posted January 19, 2007 Share Posted January 19, 2007 http://www.oscommerce.com/community/bugs,3171 scroll down to the 9 Jan 2006 05:25:14 post for the correct fix. Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix Link to comment Share on other sites More sharing options...
giofriscia Posted January 19, 2007 Author Share Posted January 19, 2007 http://www.oscommerce.com/community/bugs,3171 scroll down to the 9 Jan 2006 05:25:14 post for the correct fix. Thanks... I'll try that fix... Giò Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.