( ! ) Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Connection refused' in /srv/kodovik.ru/releases/20160721200711/app/cache/prod/classes.php on line 5222
( ! ) PDOException: SQLSTATE[HY000] [2002] Connection refused in /srv/kodovik.ru/releases/20160721200711/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 40
Call Stack
#TimeMemoryFunctionLocation
18.69999002960Symfony\Component\Debug\ErrorHandler->handleException( )../classes.php:0
28.70289027944call_user_func:{/srv/kodovik.ru/releases/20160721200711/app/cache/prod/classes.php:1992} ( )../classes.php:1992
38.70289028112Symfony\Component\HttpKernel\HttpKernel->terminateWithException( )../classes.php:1992
48.70289028160Symfony\Component\HttpKernel\HttpKernel->handleException( )../bootstrap.php.cache:3073
58.70289028616Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch( )../bootstrap.php.cache:3125
68.70289028616Symfony\Component\EventDispatcher\EventDispatcher->dispatch( )../classes.php:2358
78.70289028520Symfony\Component\EventDispatcher\EventDispatcher->doDispatch( )../classes.php:2197
88.70289028960call_user_func:{/srv/kodovik.ru/releases/20160721200711/app/cache/prod/classes.php:2264} ( )../classes.php:2264
98.70289029000Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException( )../classes.php:2264
108.70889697056Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle( )../ExceptionListener.php:50
118.70889697560Symfony\Component\HttpKernel\HttpKernel->handle( )../bootstrap.php.cache:3206
128.70889699224Symfony\Component\HttpKernel\HttpKernel->handleRaw( )../bootstrap.php.cache:3055
138.70979700672call_user_func_array:{/srv/kodovik.ru/releases/20160721200711/app/bootstrap.php.cache:3093} ( )../bootstrap.php.cache:3093
148.70979701192Symfony\Bundle\TwigBundle\Controller\ExceptionController->showAction( )../bootstrap.php.cache:3093
158.71079705896Twig_Environment->render( )../ExceptionController.php:74
168.71079705896Twig_Template->render( )../classes.php:3594
178.71079722520Twig_Template->display( )../classes.php:5199
188.71079724160Twig_Template->displayWithErrorHandling( )../classes.php:5192
198.71079724160__TwigTemplate_1d318be57a092588f94b62e39b3fa6828b75394ee42e75e1bbcfcbb81b7e39e7->doDisplay( )../classes.php:5211
208.71079724472Twig_Template->display( )../1d318be57a092588f94b62e39b3fa6828b75394ee42e75e1bbcfcbb81b7e39e7.php:24
218.71079725496Twig_Template->displayWithErrorHandling( )../classes.php:5192
228.71079725496__TwigTemplate_aaf49833aceae7611a1b388c1bf5a439fc585f589cc6842e1405932124067ef3->doDisplay( )../classes.php:5211
238.71109725576Twig_Template->displayBlock( )../aaf49833aceae7611a1b388c1bf5a439fc585f589cc6842e1405932124067ef3.php:114
248.71109725704__TwigTemplate_aaf49833aceae7611a1b388c1bf5a439fc585f589cc6842e1405932124067ef3->block_header( )../classes.php:5131
258.71109725704Twig_Template->display( )../aaf49833aceae7611a1b388c1bf5a439fc585f589cc6842e1405932124067ef3.php:497
268.71109725976Twig_Template->displayWithErrorHandling( )../classes.php:5192
278.71109725976__TwigTemplate_f87585b8ace64357c3d6c3df0fdff7ec0db971d9fd32b53b316d3c94ff9517f1->doDisplay( )../classes.php:5211
288.71119725976MIH\GeoBundle\Twig\Geo->currentCity( )../f87585b8ace64357c3d6c3df0fdff7ec0db971d9fd32b53b316d3c94ff9517f1.php:48
298.71119725976MIH\GeoBundle\Service\User->getCurrentCity( )../Geo.php:45
308.71129726024Doctrine\ORM\EntityRepository->find( )../User.php:52
318.71129726120Doctrine\ORM\EntityManager->find( )../EntityRepository.php:154
328.71129726792Doctrine\ORM\Persisters\BasicEntityPersister->load( )../EntityManager.php:411
338.71129728016Doctrine\DBAL\Connection->executeQuery( )../BasicEntityPersister.php:748
348.71129728064Doctrine\DBAL\Connection->connect( )../Connection.php:680
358.71129728064Doctrine\DBAL\Driver\PDOMySql\Driver->connect( )../Connection.php:356
368.71129728544Doctrine\DBAL\Driver\PDOConnection->__construct( )../Driver.php:41
378.71129728592__construct ( )../PDOConnection.php:40
( ! ) Twig_Error_Runtime: An exception has been thrown during the rendering of a template ("SQLSTATE[HY000] [2002] Connection refused") in "KodovikSiteBundle:Template:header.html.twig" at line 40. in /srv/kodovik.ru/releases/20160721200711/app/cache/prod/classes.php on line 5222
Call Stack
#TimeMemoryFunctionLocation
18.69999002960Symfony\Component\Debug\ErrorHandler->handleException( )../classes.php:0
28.71909878232Symfony\Component\Debug\ErrorHandler->handleException( )../classes.php:1998