errore 1054
Inviato: 02/09/2007, 3:11
Ciao a tutti, ho inserito il catalogo in la stampa del catalogo pdf e dal lato admin mi dà il seguente errore
1054 - Unknown column 'p.products_id' in 'on clause'
select p.products_id, pd.products_name, pd.products_description, p.products_image, p.products_model, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, p.products_date_added, m.manufacturers_name from products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_description pd left join specials s on p.products_id = s.products_id, categories c, products_to_categories p2c where 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 p2c.categories_id='21' order by pd.products_name, p.products_date_added DESC
Come risolvo?
Guido
gpnabel@tin.it
1054 - Unknown column 'p.products_id' in 'on clause'
select p.products_id, pd.products_name, pd.products_description, p.products_image, p.products_model, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, p.products_date_added, m.manufacturers_name from products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_description pd left join specials s on p.products_id = s.products_id, categories c, products_to_categories p2c where 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 p2c.categories_id='21' order by pd.products_name, p.products_date_added DESC
Come risolvo?
Guido
gpnabel@tin.it