Database error: Invalid SQL: SELECT P.id, P.active, product_title, P.leader, P.pagelink, P.leader2, product_code, product_inf, product_description, image_middle, price_1, price_2, price_3,price_4, category_id, PC.title as catname, PC.linkcategory, currency, product_availability, ptype_name, PT.id as ptype_link, PT.ptype_name FROM rm_rus_catalog_products AS P LEFT JOIN rm_rus_catalog_ptypes AS PT ON P.ptype_id = PT.id LEFT JOIN rm_rus_catalog_categories AS PC ON P.category_id = PC.id WHERE ORDER BY RAND() LIMIT 4
MySQL Error: 1064 (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 'ORDER BY RAND() LIMIT 4' at line 10)
Session halted.