( ! ) 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
10.48629002968Symfony\Component\Debug\ErrorHandler->handleException( )../classes.php:0
20.54629027960call_user_func:{/srv/kodovik.ru/releases/20160721200711/app/cache/prod/classes.php:1992} ( )../classes.php:1992
30.54629028128Symfony\Component\HttpKernel\HttpKernel->terminateWithException( )../classes.php:1992
40.54629028176Symfony\Component\HttpKernel\HttpKernel->handleException( )../bootstrap.php.cache:3073
50.54629028632Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch( )../bootstrap.php.cache:3125
60.54629028632Symfony\Component\EventDispatcher\EventDispatcher->dispatch( )../classes.php:2358
70.54629028536Symfony\Component\EventDispatcher\EventDispatcher->doDispatch( )../classes.php:2197
80.54639028976call_user_func:{/srv/kodovik.ru/releases/20160721200711/app/cache/prod/classes.php:2264} ( )../classes.php:2264
90.54639029016Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException( )../classes.php:2264
100.57379697008Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle( )../ExceptionListener.php:50
110.57389697512Symfony\Component\HttpKernel\HttpKernel->handle( )../bootstrap.php.cache:3206
120.57389699176Symfony\Component\HttpKernel\HttpKernel->handleRaw( )../bootstrap.php.cache:3055
130.57479700624call_user_func_array:{/srv/kodovik.ru/releases/20160721200711/app/bootstrap.php.cache:3093} ( )../bootstrap.php.cache:3093
140.57479701144Symfony\Bundle\TwigBundle\Controller\ExceptionController->showAction( )../bootstrap.php.cache:3093
150.60499705848Twig_Environment->render( )../ExceptionController.php:74
160.60499705848Twig_Template->render( )../classes.php:3594
170.60499722472Twig_Template->display( )../classes.php:5199
180.60499724112Twig_Template->displayWithErrorHandling( )../classes.php:5192
190.60499724112__TwigTemplate_1d318be57a092588f94b62e39b3fa6828b75394ee42e75e1bbcfcbb81b7e39e7->doDisplay( )../classes.php:5211
200.60499724424Twig_Template->display( )../1d318be57a092588f94b62e39b3fa6828b75394ee42e75e1bbcfcbb81b7e39e7.php:24
210.60499725448Twig_Template->displayWithErrorHandling( )../classes.php:5192
220.60499725448__TwigTemplate_aaf49833aceae7611a1b388c1bf5a439fc585f589cc6842e1405932124067ef3->doDisplay( )../classes.php:5211
230.60529725528Twig_Template->displayBlock( )../aaf49833aceae7611a1b388c1bf5a439fc585f589cc6842e1405932124067ef3.php:114
240.60549725656__TwigTemplate_aaf49833aceae7611a1b388c1bf5a439fc585f589cc6842e1405932124067ef3->block_header( )../classes.php:5131
250.60549725656Twig_Template->display( )../aaf49833aceae7611a1b388c1bf5a439fc585f589cc6842e1405932124067ef3.php:497
260.60549725928Twig_Template->displayWithErrorHandling( )../classes.php:5192
270.60549725928__TwigTemplate_f87585b8ace64357c3d6c3df0fdff7ec0db971d9fd32b53b316d3c94ff9517f1->doDisplay( )../classes.php:5211
280.60559725928MIH\GeoBundle\Twig\Geo->currentCity( )../f87585b8ace64357c3d6c3df0fdff7ec0db971d9fd32b53b316d3c94ff9517f1.php:48
290.60559725928MIH\GeoBundle\Service\User->getCurrentCity( )../Geo.php:45
300.60569725976Doctrine\ORM\EntityRepository->find( )../User.php:52
310.60569726072Doctrine\ORM\EntityManager->find( )../EntityRepository.php:154
320.60569726744Doctrine\ORM\Persisters\BasicEntityPersister->load( )../EntityManager.php:411
330.60579727968Doctrine\DBAL\Connection->executeQuery( )../BasicEntityPersister.php:748
340.60579728016Doctrine\DBAL\Connection->connect( )../Connection.php:680
350.60579728016Doctrine\DBAL\Driver\PDOMySql\Driver->connect( )../Connection.php:356
360.60579728496Doctrine\DBAL\Driver\PDOConnection->__construct( )../Driver.php:41
370.60579728544__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
10.48629002968Symfony\Component\Debug\ErrorHandler->handleException( )../classes.php:0
20.62349878184Symfony\Component\Debug\ErrorHandler->handleException( )../classes.php:1998