( ! ) 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.50179002944Symfony\Component\Debug\ErrorHandler->handleException( )../classes.php:0
20.55989027936call_user_func:{/srv/kodovik.ru/releases/20160721200711/app/cache/prod/classes.php:1992} ( )../classes.php:1992
30.55989028104Symfony\Component\HttpKernel\HttpKernel->terminateWithException( )../classes.php:1992
40.55989028152Symfony\Component\HttpKernel\HttpKernel->handleException( )../bootstrap.php.cache:3073
50.55989028608Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch( )../bootstrap.php.cache:3125
60.55999028608Symfony\Component\EventDispatcher\EventDispatcher->dispatch( )../classes.php:2358
70.55999028512Symfony\Component\EventDispatcher\EventDispatcher->doDispatch( )../classes.php:2197
80.55999028952call_user_func:{/srv/kodovik.ru/releases/20160721200711/app/cache/prod/classes.php:2264} ( )../classes.php:2264
90.55999028992Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException( )../classes.php:2264
100.59089697024Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle( )../ExceptionListener.php:50
110.59089697528Symfony\Component\HttpKernel\HttpKernel->handle( )../bootstrap.php.cache:3206
120.59089699192Symfony\Component\HttpKernel\HttpKernel->handleRaw( )../bootstrap.php.cache:3055
130.59199700640call_user_func_array:{/srv/kodovik.ru/releases/20160721200711/app/bootstrap.php.cache:3093} ( )../bootstrap.php.cache:3093
140.59209701160Symfony\Bundle\TwigBundle\Controller\ExceptionController->showAction( )../bootstrap.php.cache:3093
150.62319705864Twig_Environment->render( )../ExceptionController.php:74
160.62329705864Twig_Template->render( )../classes.php:3594
170.62329722488Twig_Template->display( )../classes.php:5199
180.62329724128Twig_Template->displayWithErrorHandling( )../classes.php:5192
190.62329724128__TwigTemplate_1d318be57a092588f94b62e39b3fa6828b75394ee42e75e1bbcfcbb81b7e39e7->doDisplay( )../classes.php:5211
200.62329724440Twig_Template->display( )../1d318be57a092588f94b62e39b3fa6828b75394ee42e75e1bbcfcbb81b7e39e7.php:24
210.62329725464Twig_Template->displayWithErrorHandling( )../classes.php:5192
220.62329725464__TwigTemplate_aaf49833aceae7611a1b388c1bf5a439fc585f589cc6842e1405932124067ef3->doDisplay( )../classes.php:5211
230.62359725544Twig_Template->displayBlock( )../aaf49833aceae7611a1b388c1bf5a439fc585f589cc6842e1405932124067ef3.php:114
240.62359725672__TwigTemplate_aaf49833aceae7611a1b388c1bf5a439fc585f589cc6842e1405932124067ef3->block_header( )../classes.php:5131
250.62359725672Twig_Template->display( )../aaf49833aceae7611a1b388c1bf5a439fc585f589cc6842e1405932124067ef3.php:497
260.62359725944Twig_Template->displayWithErrorHandling( )../classes.php:5192
270.62359725944__TwigTemplate_f87585b8ace64357c3d6c3df0fdff7ec0db971d9fd32b53b316d3c94ff9517f1->doDisplay( )../classes.php:5211
280.62379725944MIH\GeoBundle\Twig\Geo->currentCity( )../f87585b8ace64357c3d6c3df0fdff7ec0db971d9fd32b53b316d3c94ff9517f1.php:48
290.62379725944MIH\GeoBundle\Service\User->getCurrentCity( )../Geo.php:45
300.62379725992Doctrine\ORM\EntityRepository->find( )../User.php:52
310.62379726088Doctrine\ORM\EntityManager->find( )../EntityRepository.php:154
320.62379726760Doctrine\ORM\Persisters\BasicEntityPersister->load( )../EntityManager.php:411
330.62389727984Doctrine\DBAL\Connection->executeQuery( )../BasicEntityPersister.php:748
340.62389728032Doctrine\DBAL\Connection->connect( )../Connection.php:680
350.62389728032Doctrine\DBAL\Driver\PDOMySql\Driver->connect( )../Connection.php:356
360.62389728512Doctrine\DBAL\Driver\PDOConnection->__construct( )../Driver.php:41
370.62389728560__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.50179002944Symfony\Component\Debug\ErrorHandler->handleException( )../classes.php:0
20.65959878200Symfony\Component\Debug\ErrorHandler->handleException( )../classes.php:1998