JMPC Posted August 13, 2009 Share Posted August 13, 2009 Anyone Knows how to resolve this problem?If it where registed you can see, but if you´re not and if you want to see the store you can´t. version 1.2.10 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-16,16' at line 16 SELECT p.*, pl.`description`, pl.`description_short`, pl.`link_rewrite`, pl.`meta_description`, pl.`meta_keywords`, pl.`meta_title`, pl.`name`, i.`id_image`, il.`legend`, m.`name` AS manufacturer_name, tl.`name` AS tax_name, t.`rate` FROM `ps_product` p LEFT JOIN `ps_product_lang` pl ON (p.`id_product` = pl.`id_product` AND pl.`id_lang` = 9) LEFT JOIN `ps_image` i ON (i.`id_product` = p.`id_product` AND i.`cover` = 1) LEFT JOIN `ps_image_lang` il ON (i.`id_image` = il.`id_image` AND il.`id_lang` = 9) LEFT JOIN `ps_tax` t ON t.`id_tax` = p.`id_tax` LEFT JOIN `ps_tax_lang` tl ON (t.`id_tax` = tl.`id_tax` AND tl.`id_lang` = 9) LEFT JOIN `ps_manufacturer` m ON m.`id_manufacturer` = p.`id_manufacturer` LEFT JOIN `ps_category_product` cp ON (cp.`id_product` = p.`id_product`) INNER JOIN `ps_category_group` ctg ON (ctg.`id_category` = cp.`id_category`) WHERE p.`id_manufacturer` = 51 AND p.`active` = 1 AND ( ctg.`id_group` = 1) GROUP BY p.`id_product` ORDER BY `date_add` DESC LIMIT -16,16 Subquery returns more than 1 row INSERT INTO `ps_page` (`id_page_type`,`id_object`) VALUES ((SELECT pt.`id_page_type` FROM `ps_page_type` pt WHERE pt.`name` = 'category.php'), 3) slotarrabida.comslotarrabida.netslotarrabida.orgThanks a lot. Link to comment Share on other sites More sharing options...
Recommended Posts