Melloun Posted May 30, 2013 Share Posted May 30, 2013 Когда заходишь на любой из товаров выскакивает такая надпись: Unknown column 'a.id_attribute' in 'field list' SELECT ag.`id_attribute_group`, ag.`is_color_group`, agl.`name` AS group_name, agl.`public_name` AS public_group_name, a.`id_attribute`, al.`name` AS attribute_name, a.`color` AS attribute_color, pa.`id_product_attribute`, pa.`quantity`, pa.`price`, pa.`ecotax`, pa.`weight`, pa.`default_on`, pa.`reference`, pa.`unit_price_impact`, pa.`minimal_quantity` FROM `ps_product_attribute` pa LEFT JOIN `ps_product_attribute_combination` pac ON pac.`id_product_attribute` = pa.`id_product_attribute` LEFT JOIN `ps_attribute` a ON a.`id_attribute` = pac.`id_attribute` LEFT JOIN `ps_attribute_group` ag ON ag.`id_attribute_group` = a.`id_attribute_group` LEFT JOIN `ps_attribute_lang` al ON a.`id_attribute` = al.`id_attribute` LEFT JOIN `ps_attribute_group_lang` agl ON ag.`id_attribute_group` = agl.`id_attribute_group` WHERE pa.`id_product` = 803 AND al.`id_lang` = 2 AND agl.`id_lang` = 2 ORDER BY agl.`public_name`, al.`name` Что это может быть и как с этим бороться ??? Link to comment Share on other sites More sharing options...
Kerm Posted May 30, 2013 Share Posted May 30, 2013 В БД в таблице ps_product_attribute есть столбец id_attribute? Link to comment Share on other sites More sharing options...
absent Posted May 30, 2013 Share Posted May 30, 2013 Импортируйте ещё раз бд.и напишите сработало? Link to comment Share on other sites More sharing options...
Recommended Posts