[db_error_heading]

Error Number: 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 '-24, 24' at line 1

select distinct art.id, p.precio, art.ordenart from vc_ec_articulos art, vc_ec_articulos_precios p where p.articulo_id = art.id and p.lista_precios_id =1 and art.habilitado=1 and art.id in (select distinct a.articulo_id from vc_ec_articulos_atributos a where a.atributo_id = 60006) and art.id in (select distinct a.articulo_id from vc_ec_articulos_atributos a where a.atributo_id = 30001) and art.id in (select distinct a.articulo_id from vc_ec_articulos_atributos a where a.atributo_id = 120000) order by art.ordenart asc, p.precio desc, art.id limit -24, 24