Chyba pocas behu aplikacie: 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 'WHERE product_recordactive = 1 and product_mandant_id=11 and product_language_id' at line 1 v select: SELECT product_id,catalogue_id,catalogue_parent_id FROM product_grid JOIN catalogue on (catalogue_product_id=product_id or catalogue_product_id=product_parent) and catalogue_recordactive=1 and catalogue_parent_id= WHERE product_recordactive = 1 and product_mandant_id=11 and product_language_id=6 and product_lcurrency_id=11 ORDER BY catalogue_order ASC LIMIT 0, 24