Top.Mail.Ru

Авторы

Лев Хайкин

Родился в Минске, учился в Израиле, работал в Нью-Йорке – в общем, всё стандартно. Сейчас живу в самолёте. Пишу и считаю, складываю и вычитаю, а результатами – делюсь с вами!


Материалы автора

An exception occurred while executing 'SELECT Articles.Number, Articles.IdLanguage FROM Articles , ArticleAuthors WHERE Articles.IdPublication = '1' AND Articles.IdLanguage = '15' AND Articles.Published = 'Y' AND ArticleAuthors.fk_author_id IN () AND Articles.Number = ArticleAuthors.fk_article_number AND Articles.IdLanguage = ArticleAuthors.fk_language_id AND Articles.Type <> 'author' ORDER BY Articles.PublishDate desc, Articles.IdPublication ASC, Articles.NrIssue DESC, Articles.NrSection ASC, Articles.ArticleOrder ASC LIMIT 0, 8': 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 Articles.Number = ArticleAuthors.fk_article_number AND Articles.Id' at line 9#0 /var/www/jewish/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(702): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(PDOException), 'SELECT Articles...', Array) #1 /var/www/jewish/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(630): Doctrine\DBAL\Connection->executeQuery('SELECT Articles...', Array, Array) #2 /var/www/jewish/library/Newscoop/Doctrine/AdoDbAdapter.php(156): Doctrine\DBAL\Connection->fetchAll('SELECT Articles...', Array) #3 /var/www/jewish/classes/Article.php(2856): Newscoop\Doctrine\AdoDbAdapter->getAll('SELECT Articles...') #4 /var/www/jewish/template_engine/classes/ArticlesList.php(95): Article::GetList(Array, Array, 0, 8, NULL, false, false) #5 /var/www/jewish/template_engine/classes/ListObject.php(194): ArticlesList->CreateList(0, 8, Array, NULL) #6 /var/www/jewish/include/smarty/campsite_plugins/block.list_articles.php(32): ListObject->__construct(NULL, Array) #7 /var/www/jewish/cache/7a0bfec5df3fd755f7573800fa43256750672c19.file.author-cont.tpl.php(35): smarty_block_list_articles(Array, NULL, Object(Smarty_Internal_Template), true) #8 /var/www/jewish/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(188): content_5935c7e9b85390_92445843(Object(Smarty_Internal_Template)) #9 /var/www/jewish/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(303): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL, false, false, true) #10 /var/www/jewish/cache/700bd14424b8ea8510bf82a5ff3ae2ab1308898c.file.authors.tpl.php(83): Smarty_Internal_Template->getSubTemplate('_tpl/author-con...', NULL, NULL, 0, NULL, Array, 0) #11 /var/www/jewish/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(188): content_5935c7e9a4b006_01156904(Object(Smarty_Internal_Template)) #12 /var/www/jewish/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(394): Smarty_Internal_TemplateBase->fetch('authors.tpl', NULL, NULL, NULL, true) #13 /var/www/jewish/template_engine/classes/CampHTMLDocument.php(322): Smarty_Internal_TemplateBase->display('authors.tpl') #14 /var/www/jewish/template_engine/classes/CampSite.php(154): CampHTMLDocument->render(Array) #15 /var/www/jewish/application/controllers/LegacyController.php(60): CampSite->render() #16 /var/www/jewish/vendor/bombayworks/zendframework1/library/Zend/Controller/Action.php(516): LegacyController->indexAction() #17 /var/www/jewish/vendor/bombayworks/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction') #18 /var/www/jewish/vendor/bombayworks/zendframework1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #19 /var/www/jewish/src/Newscoop/ZendBridgeBundle/Controller/BridgeController.php(65): Zend_Controller_Front->dispatch() #20 [internal function]: Newscoop\ZendBridgeBundle\Controller\BridgeController->indexAction(Object(Symfony\Component\HttpFoundation\Request)) #21 /var/www/jewish/application/bootstrap.php.cache(3008): call_user_func_array(Array, Array) #22 /var/www/jewish/application/bootstrap.php.cache(2970): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #23 /var/www/jewish/application/bootstrap.php.cache(3119): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #24 /var/www/jewish/application/bootstrap.php.cache(2368): Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #25 /var/www/jewish/public/index.php(70): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #26 /var/www/jewish/index.php(19): require_once('/var/www/jewish...') #27 {main}