Warning: preg_replace(): No ending delimiter ';' found in /usr/local/sites/zanella/accesorios/includes/db.class.php on line 126
Empresa : _Main_Empresa_
Fecha : 25/08/2024 12:18:00
Error en: /?q=BUSQUEDA&s_categorias=1p_categoria%3D-1p_categoria%3D-1p_categoria%3D-1p_categoria%3D-1p_categoria%3D-1&s_color=6&s_marcas=40&s_talles=5
Pais :
Servidor: 67.205.166.5
Descripcion Error: 1054: Unknown column '1p_categoria' in 'where clause'
Query:
SELECT p.id as id_producto, count(fecha_llegada) as cant_stock, m.denominacion as id_marca_txt, p.descripcion, acp.id, p.precio_efectivo,t.denominacion as nombre_talle,IF(co.denominacion is NOT NULL, co.denominacion,co2.denominacion) as nombre_color,s.id_moneda FROM acc_stock s LEFT JOIN acc_producto p on p.id = s.id_producto LEFT JOIN acc_categoria c on c.id = p.id_acc_categoria LEFT JOIN acc_marca m on m.id = p.id_acc_marca LEFT JOIN acc_talle t on t.id = s.id_acc_talle LEFT JOIN acc_color co on co.id = s.id_acc_color LEFT JOIN acc_color co2 on co2.id = s.id_acc_color2 LEFT JOIN acc_zona az on az.id = s.id_zona_acc LEFT JOIN acc_categoria_principal acp on acp.id = c.id_acc_categoria_principal WHERE s.id_acc_estado IN (1) and az.id_sucursal=1 and m.id NOT IN (115,164,113,121,82,67,148,119,63,96,112,108,120,135,70,165) AND p.id_acc_categoria IN (1p_categoria=-1p_categoria=-1p_categoria=-1p_categoria=-1p_categoria=-1) AND p.id_acc_marca= 40 AND (s.id_acc_color= 6 or s.id_acc_color2= 6) AND s.id_acc_talle= 5 and p.es_repuesto != 1 GROUP BY s.id_producto order by p.precio_efectivo DESC LIMIT 2000
Query completo:
SELECT p.id as id_producto, count(fecha_llegada) as cant_stock, m.denominacion as id_marca_txt, p.descripcion, acp.id, p.precio_efectivo,t.denominacion as nombre_talle,IF(co.denominacion is NOT NULL, co.denominacion,co2.denominacion) as nombre_color,s.id_moneda FROM acc_stock s LEFT JOIN acc_producto p on p.id = s.id_producto LEFT JOIN acc_categoria c on c.id = p.id_acc_categoria LEFT JOIN acc_marca m on m.id = p.id_acc_marca LEFT JOIN acc_talle t on t.id = s.id_acc_talle LEFT JOIN acc_color co on co.id = s.id_acc_color LEFT JOIN acc_color co2 on co2.id = s.id_acc_color2 LEFT JOIN acc_zona az on az.id = s.id_zona_acc LEFT JOIN acc_categoria_principal acp on acp.id = c.id_acc_categoria_principal WHERE s.id_acc_estado IN (1) and az.id_sucursal=1 and m.id NOT IN (115,164,113,121,82,67,148,119,63,96,112,108,120,135,70,165) AND p.id_acc_categoria IN (1p_categoria=-1p_categoria=-1p_categoria=-1p_categoria=-1p_categoria=-1) AND p.id_acc_marca= 40 AND (s.id_acc_color= 6 or s.id_acc_color2= 6) AND s.id_acc_talle= 5 and p.es_repuesto != 1 GROUP BY s.id_producto order by p.precio_efectivo DESC LIMIT 2000
Referer:
Session: