Fatal error: Uncaught exception 'PDOException' with message '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 ') AND ver.id=prc.version_id
GROUP BY ver.id
ORDER BY ver.cdate DESC, ver.n' at line 4' in /usr/home/softdeluxe/softdeluxe.ru/htdocs/class/Pager.class.php:43
Stack trace:
#0 /usr/home/softdeluxe/softdeluxe.ru/htdocs/class/Pager.class.php(43): PDO->query('SELECT SQL_CALC...')
#1 /usr/home/softdeluxe/softdeluxe.ru/htdocs/index.php(122): Paging->get_results('SELECT ver.id, ...')
#2 /usr/home/softdeluxe/softdeluxe.ru/htdocs/index.php(33): Page->generatePage()
#3 /usr/home/softdeluxe/softdeluxe.ru/htdocs/index.php(506): Page->__construct()
#4 {main}
thrown in /usr/home/softdeluxe/softdeluxe.ru/htdocs/class/Pager.class.php on line 43