warren64c Posted October 26, 2008 Posted October 26, 2008 Hello- I have had several lines of code that needed to be changed when I upgraded MYSL and I have been successful with all but the following. 1054 - Unknown column 'p.products_id' in 'on clause' select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id, pmi.products_msrp from products p, products_description pd left join products_misc_info pmi on pmi.products_id = p.products_id where p.products_status = '1' and p.products_id = '53958' and pd.products_id = p.products_id and pd.language_id = '1' Does any one have an idea how to fix the offendig line? Thanks Warren
Jan Zonjee Posted October 26, 2008 Posted October 26, 2008 from products p, products_description pd left join products_misc_info pmi on pmi.products_id = p.products_id Probably the error will go away when you change it to: from products p left join products_misc_info pmi on pmi.products_id = p.products_id, products_description pd
Recommended Posts
Archived
This topic is now archived and is closed to further replies.