Göflaner Marmorbruch

Fatal error: Uncaught exception 'Exception' with message '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 '-1000, 1000' at line 12 Error Nr.: 1064 Query: SELECT i.*, CONCAT(i.id, '_', f.id, '.', f.type) AS filename FROM `sys_gallery_image` AS i LEFT JOIN `sys_files` AS f ON f.module = 'gallery' AND i.id = f.record_id WHERE i.category_id = 167 AND i.trash = 0 AND i.active = 1 ORDER BY i.order ASC, i.id ASC LIMIT -1000, 1000' in /www/htdocs/w00e8f99/bikereldorado.com/sys/class.mysql.php:79 Stack trace: #0 /www/htdocs/w00e8f99/bikereldorado.com/sys/class.mysql.php(118): Mysql->query('\r\n\t\tSELECT\r\n\t\t\t...', NULL) #1 /www/htdocs/w00e8f99/bikereldorado.com/gallery.php(156): Mysql->getArray('\r\n\t\tSELECT\r\n\t\t\t...') #2 /www/htdocs/w00e8f99/bikereldorado.com/sys/template.inc.php(7): include('/www/htdocs/w00...') #3 /www/htdocs/w00e8f99/bikereldorado.com/index.php(87): include('/www/htdocs/w in /www/htdocs/w00e8f99/bikereldorado.com/sys/class.mysql.php on line 79