ÚLTIMAS NOTICIAS SOBRE HTTPS: EN FRS
SELECT SQL_CALC_FOUND_ROWS
a.id_articulo,
a.titulo,
a.entradilla,
a.id_categoria,
a.friendly_url_categoria,
a.friendly_url,
e1.nombre AS edicion,
e2.nombre AS categoria_2,
b1.nombre AS autor,
b2.nombre AS autor_2,
a.supervisado
FROM cms_articulos a
LEFT JOIN cms_portadas_edicionv2 e1 ON e1.id_portada_edicion = a.id_categoria
LEFT JOIN cms_portadas_edicionv2 e2 ON e2.id_portada_edicion = a.id_categoria_2
LEFT JOIN cms_portadas_edicionv2 e3 ON e2.id_portada_edicion = a.id_categoria_3
LEFT JOIN cms_portadas_edicionv2 e4 ON e2.id_portada_edicion = a.id_categoria_4
LEFT JOIN cms_blogs b1 ON b1.id_blog = a.firma_como_ai
LEFT JOIN cms_blogs b2 ON b2.id_blog = a.firma_como_ai_2
WHERE a.supervisado = 1
AND a.id_periodico = 2 AND 1=2 ORDER BY a.fecha DESC LIMIT -50, 50 - 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 '-50, 50' at line 21