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 '' at line 14

SELECT a.*, c.path AS collection_path, a.path AS album_path, c.name AS collection_name, a.name AS album_name FROM plogger_albums AS a LEFT JOIN plogger_collections AS c ON a.parent_id=c.id LEFT JOIN plogger_pictures AS i ON a.thumbnail_id=i.id WHERE a.id =

Du fichier : http://liguenavalederepentigny.com/album/index.php

Ligne : 926