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 '-24, 24' at line 1 -> select product_id, product_related_id from product join pricelist on pricelist_product_id=product_id and pricelist_price1<>0 join lib_vat on lvat_id = product_lvat_id join catalogue on catalogue_product_id = product_id and catalogue_index like '%|26285|%' and catalogue_recordactive=1 left join producer on product_producer_id=producer_id and producer_recordactive=1 left join product_related on product_related_type=0 and product_related_recordactive=1 and product_related_product_id=product_id where (product_name like '%L-boxx%' or product_description like '%L-boxx%' or product_ean like '%L-boxx%' or product_order_our like '%L-boxx%' or producer_name like '%L-boxx%') and product_recordactive=1 and product_parent=0 and catalogue_index like '%|26285|%' and product_mandant like '%11%' and catalogue_index like '%|0|%' group by product_id order by product_name ASC limit -24, 24