Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) in /var/www/ on line 11Notice: Undefined variable: product_id in /var/www/ on line 73Notice: Undefined variable: category_id in /var/www/ on line 205Notice: Error: 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 15' at line 1
Error No: 1064
SELECT product_id FROM product_to_category WHERE product_id !=1687 AND `category_id` IN() ORDER BY RAND() LIMIT 15 in /var/www/ on line 27