User Error
PDOException Object
(
[message:protected] => 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 '-20' at line 1
[string:Exception:private] =>
[code:protected] => 42000
[file:protected] => /home/nzu06k3omgif/public_html/vendor/vinades/nukeviet/Core/Database.php
[line:protected] => 528
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/nzu06k3omgif/public_html/vendor/vinades/nukeviet/Core/Database.php
[line] => 528
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => SELECT id, catid, title, alias, introtext , uploadtime, author_name, filesize, fileimage, view_hits, download_hits, comment_hits FROM nv4_vi_download WHERE catid IN (13) AND status=1 ORDER BY uploadtime DESC LIMIT 20 OFFSET -20
)
)
[1] => Array
(
[file] => /home/nzu06k3omgif/public_html/modules/download/funcs/viewcat.php
[line] => 165
[function] => query
[class] => NukeViet\Core\Database
[type] => ->
[args] => Array
(
[0] => SELECT id, catid, title, alias, introtext , uploadtime, author_name, filesize, fileimage, view_hits, download_hits, comment_hits FROM nv4_vi_download WHERE catid IN (13) AND status=1 ORDER BY uploadtime DESC LIMIT 20 OFFSET -20
)
)
[2] => Array
(
[file] => /home/nzu06k3omgif/public_html/index.php
[line] => 359
[args] => Array
(
[0] => /home/nzu06k3omgif/public_html/modules/download/funcs/viewcat.php
)
[function] => require
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => 42000
[1] => 1064
[2] => 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 '-20' at line 1
)
)
(Code: 1196e1792928bb1f3c523f092308a66d)
If you have any questions about this site,
please
contact the site administrator for more information