rsva-astr.ru


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 'where site_id=212 AND num=1' at line 1' in /var/www/eiprd.ru/web/class/mypdo.class.php:63 Stack trace: #0 /var/www/eiprd.ru/web/class/mypdo.class.php(63): PDO->query('select * from ...', 2) #1 /var/www/eiprd.ru/web/class/carousel.class.php(19): MyPDO->MySqlQueryFetch('select * from ...') #2 /var/www/eiprd.ru/web/class/carousel.class.php(54): Carousel->getCarouselParams() #3 /var/www/eiprd.ru/web/class/carousel.class.php(12): Carousel->htmlCarousel() #4 /var/www/eiprd.ru/web/tpl/index_header_tpl.php(1261): Carousel->renderCarousel() #5 /var/www/eiprd.ru/web/file.php(175): include('/var/www/eiprd....') #6 {main} thrown in /var/www/eiprd.ru/web/class/mypdo.class.php on line 63