Hi, I have a 1054 error on advanced search as per below and I have tried all the suggestions with regards to fixing the error however obviously I am missing something. These are 2 old carts 2.0.4 . I fixed the 1054 error on the index page but the advanced search is doing my head inThe Server has just upgraded mysql to 5 hence the error on the old carts
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 = '13') and (gz.zone_id is null or gz.zone_id = '0' or gz.zone_id = '182') where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id 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) ) >= 1)
[TEP STOP]
Have changed the advanced_search_results.tpl.php in the main and template without success
Any help would be greatly appreciated. Even if I could disable the advanced search would be great but attempted this and still got the 1054 error
Thank you in advance.
Regards
Giga



LinkBack URL
About LinkBacks
The Server has just upgraded mysql to 5 hence the error on the old carts








Bookmarks