MYSQL ERROR REPORT
- 14/12/2017 19:12:31
---------------------------------------
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 '274,275,276,273,266,267,290,291,292,293,294,295,296,297,298,299,300,301,302,303,' at line 16

select distinct
p.products_id,
pd.products_name,
p.products_image,
p.products_tax_class_id,
p.products_vpe,
p.products_vpe_status,
p.products_vpe_value,
p.products_price
from products p, products_description pd, products_to_categories p2c, categories c
where p.products_status=1
and p.products_id = p2c.products_id
and pd.products_id = p.products_id
and p.products_id !='6534'
and c.categories_id = p2c.categories_id
and c.categories_id in(,274,275,276,273,266,267,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,309,310,311,312,313,314,268,284,280,285,277,272,270,281,282,286,287,289,317,318)

and c.categories_status=1
order by RAND() limit 10
---------------------------------------
Server Name : vapeonly.ru
Remote Address: 54.82.79.109
Referer :
Requested : /product/Stilnaya-flesh-pamyat-M1-79-pod-nanesenie-logotipa.html
Trace Back : redirector.php:318(includearray(1) {; [0]=>; string(43) "product_info.php"; }; ) => product_info.php:44(requirearray(1) {; [0]=>; string(51) "includes/boxes/boxes.php"; }; ) => includes/boxes/boxes.php:80(requirearray(1) {; [0]=>; string(74) "includes/boxes/source/whats_new_in_cat_list.php"; }; ) => includes/boxes/source/whats_new_in_cat_list.php:102(getBoxWhats_new_in_cat_listarray(0) {; }; ) => includes/boxes/source/whats_new_in_cat_list.php:80(vam_db_queryarray(1) {; [0]=>; &string(1694) "select distinct; p.products_id,; pd.products_name,; p.products_image,; p.products_tax_class_id,; p.products_vpe,; p.products_vpe_status,; p.products_vpe_value,; p.products_price; from products p, products_description pd, products_to_categories p2c, categories c; where p.products_status=1; and p.products_id = p2c.products_id; and pd.products_id = p.products_id; and p.products_id !='6534'; and c.categories_id = p2c.categories_id; and c.categories_id in(,274,275,276,273,266,267,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,309,310,311,312,313,314,268,284,280,285,277,272,270,281,282,286,287,289,317,318) ; ; and c.categories_status=1 ; order by RAND() limit 10"; }; ) => inc/vam_db_query.inc.php:38(vam_db_errorarray(3) {; [0]=>; &string(1694) "select distinct; p.products_id,; pd.products_name,; p.products_image,; p.products_tax_class_id,; p.products_vpe,; p.products_vpe_status,; p.products_vpe_value,; p.products_price; from products p, products_description pd, products_to_categories p2c, categories c; where p.products_status=1; and p.products_id = p2c.products_id; and pd.products_id = p.products_id; and p.products_id !='6534'; and c.categories_id = p2c.categories_id; and c.categories_id in(,274,275,276,273,266,267,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,309,310,311,312,313,314,268,284,280,285,277,272,270,281,282,286,287,289,317,318) ; ; and c.categories_status=1 ; order by RAND() limit 10"; [1]=>; &int(1064); [2]=>; &string(227) "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 '274,275,276,273,266,267,290,291,292,293,294,295,296,297,298,299,300,301,302,303,' at line 16"; }; )
==========================================================================