Fatal error: Uncaught exception 'Exception' with message 'Ошибка получения максимального количества страниц' in /home/d/didaya/com/public_html/scripto2012/modules/paginator.class.php:313
Stack trace:
#0 /home/d/didaya/com/public_html/scripto2012/modules/paginator.class.php(128): Paginator->findPagesAndRecordsCount()
#1 /home/d/didaya/com/public_html/scripto2012/modules/structure.class.php(1): Paginator->__construct(Object(Smarty), 'select *,`vote`...', 'id_stat')
#2 /home/d/didaya/com/public_html/scripto2012/index.php(2332): structure->getAllStatsByCat('45', 1, 0, '7', true, true, 'otsenka', true, ' or id_cat=50 o...')
#3 {main}
thrown in /home/d/didaya/com/public_html/scripto2012/modules/paginator.class.php on line 313