1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND b.id != 9890 AND ( c.params LIKE '%,-2' or c.params ...' at line 7 SQL=SELECT b.*, authors_name as authors, bc.catid FROM #__booklibrary AS b LEFT JOIN #__booklibrary_categories AS bc ON bc.bookid=b.id LEFT JOIN #__booklibrary_main_categories AS c ON c.id=bc.catid LEFT JOIN #__booklibrary_authors_connect AS ac ON ac.fk_bookid=b.id LEFT JOIN #__booklibrary_authors AS ba ON ba.id=ac.fk_authorid WHERE ac.fk_authorid = AND b.id != 9890 AND ( c.params LIKE '%,-2' or c.params = '-2' or c.params LIKE '-2,%' or c.params LIKE '%,-2,%' ) GROUP BY b.id ORDER BY hits DESC LIMIT 0, 5;

Veuillez essayer l'une des pages suivantes :

Page d'accueil