index.php

Błąd interpretera PDO #SQLSTATE: 42000

Syntax error or access violation: 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 '-11,11' at line 1

Zapytanie PDO

SELECT * FROM [comments] WHERE content_type = :type AND content_id = :item ORDER BY `id` DESC LIMIT -11,11

Ścieżka błędu

# W pliku Funkcja Linia
0 /index.php require 149
1 /pages/film-online.php CommentPageNav->create 114
2 /system/class/CommentPageNav.php CommentPageNav->parse 59
3 /system/class/CommentPageNav.php Comment->get 73
4 /system/class/Comment.php Comment->getData 34
5 /system/class/Comment.php Data->getData 127
6 /system/class/Data.php Data->build 157
7 /system/class/Data.php Data->tmpBuild 63
8 /system/class/Data.php PDOStatement->execute 58
Wróć