SELECT a.*, b.`nom` AS `genre`, c.`nom` AS `type`, d.`nom` AS `format`, e.`nom` AS `pays`, f.`commission` AS `commission`, f.`type` AS `commission_type` FROM `film` a LEFT JOIN `film_genres` b ON (a.`no_film_genre` = b.`no`) LEFT JOIN `film_types` c ON (a.`no_film_type` = c.`no`) LEFT JOIN `film_formats` d ON (a.`no_film_format` = d.`no`) LEFT JOIN `pays` e ON (a.`no_pays` = e.`id`) LEFT JOIN `commission` f ON (a.`commission_id` = f.`id`) WHERE (a.`id` < 19714 OR a.`afficher` = 1) AND (a.`titre` LIKE '%alaka%' OR a.`resume` LIKE '%alaka%' OR a.`realisateur` LIKE '%alaka%' OR b.`nom` LIKE '%alaka%' OR c.`nom` LIKE '%alaka%' OR d.`nom` LIKE '%alaka%' OR e.`nom` LIKE '%alaka%') ORDER BY a.`annee_realisation` DESC, `id` DESC LIMIT -12, 12
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 '-12, 12' at line 1
/srv/data/web/vhosts/www.imagesfrancophones.org/htdocs/index.php
/srv/data/web/vhosts/www.imagesfrancophones.org/application/front/index.php
/srv/data/web/vhosts/www.imagesfrancophones.org/application/config/config.php
/srv/data/web/vhosts/www.imagesfrancophones.org/application/config/front.php
/srv/data/web/vhosts/www.imagesfrancophones.org/application/lomitko/functions.php
/srv/data/web/vhosts/www.imagesfrancophones.org/application/front/default/php/catalogue.php