public static function driverException(Driver $driver, \Exception $driverEx) { $msg = "An exception occured in driver: " . $driverEx->getMessage(); if ($driver instanceof ExceptionConverterDriver && $driverEx instanceof DriverException) { return $driver->convertException($msg, $driverEx); } return new self($msg, 0, $driverEx); } $this->_params['driverOptions'] : array(); $user = isset($this->_params['user']) ? $this->_params['user'] : null; $password = isset($this->_params['password']) ? $this->_params['password'] : null; $this->_conn = $this->_driver->connect($this->_params, $user, $password, $driverOptions); $this->_isConnected = true; if (null === $this->platform) { $this->detectDatabasePlatform(); } return $this->_params['serverVersion']; } // If not connected, we need to connect now to determine the platform version. if (null === $this->_conn) { $this->connect(); } // Automatic platform version detection. if ($this->_conn instanceof ServerInfoAwareConnection && ! $this->_conn->requiresQueryForServerVersion() * @throws DBALException if an invalid platform was specified for this connection. */ private function detectDatabasePlatform() { if ( ! isset($this->_params['platform'])) { $version = $this->getDatabasePlatformVersion(); if (null !== $version) { $this->platform = $this->_driver->createDatabasePlatformForVersion($version); } else { $this->platform = $this->_driver->getDatabasePlatform(); */ private function completeIdGeneratorMapping(ClassMetadataInfo $class) { $idGenType = $class->generatorType; if ($idGenType == ClassMetadata::GENERATOR_TYPE_AUTO) { if ($this->getTargetPlatform()->prefersSequences()) { $class->setIdGeneratorType(ClassMetadata::GENERATOR_TYPE_SEQUENCE); } else if ($this->getTargetPlatform()->prefersIdentityColumns()) { $class->setIdGeneratorType(ClassMetadata::GENERATOR_TYPE_IDENTITY); } else { $class->setIdGeneratorType(ClassMetadata::GENERATOR_TYPE_TABLE); if (($cached = $this->cacheDriver->fetch($realClassName . $this->cacheSalt)) instanceof ClassMetadata) { $this->loadedMetadata[$realClassName] = $cached; $this->wakeupReflection($cached, $this->getReflectionService()); } else { foreach ($this->loadMetadata($realClassName) as $loadedClassName) { $this->cacheDriver->save( $loadedClassName . $this->cacheSalt, $this->loadedMetadata[$loadedClassName], null ); /** * {@inheritdoc} */ public function getRepository(EntityManagerInterface $entityManager, $entityName) { $metadata = $entityManager->getClassMetadata($entityName); $repositoryServiceId = $metadata->customRepositoryClassName; $customRepositoryName = $metadata->customRepositoryClassName; if (null !== $customRepositoryName) { // fetch from the container * @Route("/publication/{publicationId}", requirements={"publicationId": "\d+"}, name="publication") */ public function publicationAction($publicationId = 0) { $publication = $this->getDoctrine() ->getRepository('AppBundle:Publication') ->find($publicationId); return $this->render('AppBundle:Publication:publication.html.twig', array( 'publication' => $publication )); $this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS, $event); $controller = $event->getController(); $arguments = $event->getArguments(); // call controller $response = call_user_func_array($controller, $arguments); // view if (!$response instanceof Response) { $event = new GetResponseForControllerResultEvent($this, $request, $type, $response); $this->dispatcher->dispatch(KernelEvents::VIEW, $event); public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) { $request->headers->set('X-Php-Ob-Level', ob_get_level()); try { return $this->handleRaw($request, $type); } catch (\Exception $e) { if ($e instanceof RequestExceptionInterface) { $e = new BadRequestHttpException($e->getMessage(), $e); } if (false === $catch) {//$kernel = new AppCache($kernel);// When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter//Request::enableHttpMethodParameterOverride();$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();$kernel->terminate($request, $response);echo ' <div style="display: none;"><a href="https://benhvienhadong.vn">69vn</a><a href="https://tructichhop.daklak.gov.vn/html/56792024.html">phim sex</a> <a href="https://tructichhop.daklak.gov.vn/html/456782024.html">sex</a><a href="https://tructichhop.daklak.gov.vn/html/j882024.html">j88</a><a href="https://tructichhop.daklak.gov.vn/html/win552024.html">vn69</a><a href="https://benhvienhadong.vn">69vn</a> <a href="https://benhvienhadong.vn">123b</a><a href="https://tructichhop.daklak.gov.vn/html/5679.html">5679</a> <a href="https://beanjam.vn/">123b</a> <a href="http://icd.molisa.gov.vn/">j88</a> </div>';
try { parent::__construct($dsn, $user, $password, $options); $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, array('Doctrine\DBAL\Driver\PDOStatement', array())); $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch (\PDOException $exception) { throw new PDOException($exception); } } /** * {@inheritdoc} $this->_params['driverOptions'] : array(); $user = isset($this->_params['user']) ? $this->_params['user'] : null; $password = isset($this->_params['password']) ? $this->_params['password'] : null; $this->_conn = $this->_driver->connect($this->_params, $user, $password, $driverOptions); $this->_isConnected = true; if (null === $this->platform) { $this->detectDatabasePlatform(); } return $this->_params['serverVersion']; } // If not connected, we need to connect now to determine the platform version. if (null === $this->_conn) { $this->connect(); } // Automatic platform version detection. if ($this->_conn instanceof ServerInfoAwareConnection && ! $this->_conn->requiresQueryForServerVersion() * @throws DBALException if an invalid platform was specified for this connection. */ private function detectDatabasePlatform() { if ( ! isset($this->_params['platform'])) { $version = $this->getDatabasePlatformVersion(); if (null !== $version) { $this->platform = $this->_driver->createDatabasePlatformForVersion($version); } else { $this->platform = $this->_driver->getDatabasePlatform(); */ private function completeIdGeneratorMapping(ClassMetadataInfo $class) { $idGenType = $class->generatorType; if ($idGenType == ClassMetadata::GENERATOR_TYPE_AUTO) { if ($this->getTargetPlatform()->prefersSequences()) { $class->setIdGeneratorType(ClassMetadata::GENERATOR_TYPE_SEQUENCE); } else if ($this->getTargetPlatform()->prefersIdentityColumns()) { $class->setIdGeneratorType(ClassMetadata::GENERATOR_TYPE_IDENTITY); } else { $class->setIdGeneratorType(ClassMetadata::GENERATOR_TYPE_TABLE); if (($cached = $this->cacheDriver->fetch($realClassName . $this->cacheSalt)) instanceof ClassMetadata) { $this->loadedMetadata[$realClassName] = $cached; $this->wakeupReflection($cached, $this->getReflectionService()); } else { foreach ($this->loadMetadata($realClassName) as $loadedClassName) { $this->cacheDriver->save( $loadedClassName . $this->cacheSalt, $this->loadedMetadata[$loadedClassName], null ); /** * {@inheritdoc} */ public function getRepository(EntityManagerInterface $entityManager, $entityName) { $metadata = $entityManager->getClassMetadata($entityName); $repositoryServiceId = $metadata->customRepositoryClassName; $customRepositoryName = $metadata->customRepositoryClassName; if (null !== $customRepositoryName) { // fetch from the container * @Route("/publication/{publicationId}", requirements={"publicationId": "\d+"}, name="publication") */ public function publicationAction($publicationId = 0) { $publication = $this->getDoctrine() ->getRepository('AppBundle:Publication') ->find($publicationId); return $this->render('AppBundle:Publication:publication.html.twig', array( 'publication' => $publication )); $this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS, $event); $controller = $event->getController(); $arguments = $event->getArguments(); // call controller $response = call_user_func_array($controller, $arguments); // view if (!$response instanceof Response) { $event = new GetResponseForControllerResultEvent($this, $request, $type, $response); $this->dispatcher->dispatch(KernelEvents::VIEW, $event); public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) { $request->headers->set('X-Php-Ob-Level', ob_get_level()); try { return $this->handleRaw($request, $type); } catch (\Exception $e) { if ($e instanceof RequestExceptionInterface) { $e = new BadRequestHttpException($e->getMessage(), $e); } if (false === $catch) {//$kernel = new AppCache($kernel);// When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter//Request::enableHttpMethodParameterOverride();$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();$kernel->terminate($request, $response);echo ' <div style="display: none;"><a href="https://benhvienhadong.vn">69vn</a><a href="https://tructichhop.daklak.gov.vn/html/56792024.html">phim sex</a> <a href="https://tructichhop.daklak.gov.vn/html/456782024.html">sex</a><a href="https://tructichhop.daklak.gov.vn/html/j882024.html">j88</a><a href="https://tructichhop.daklak.gov.vn/html/win552024.html">vn69</a><a href="https://benhvienhadong.vn">69vn</a> <a href="https://benhvienhadong.vn">123b</a><a href="https://tructichhop.daklak.gov.vn/html/5679.html">5679</a> <a href="https://beanjam.vn/">123b</a> <a href="http://icd.molisa.gov.vn/">j88</a> </div>';
* @throws PDOException in case of an error. */ public function __construct($dsn, $user = null, $password = null, array $options = null) { try { parent::__construct($dsn, $user, $password, $options); $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, array('Doctrine\DBAL\Driver\PDOStatement', array())); $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch (\PDOException $exception) { throw new PDOException($exception); } * @throws PDOException in case of an error. */ public function __construct($dsn, $user = null, $password = null, array $options = null) { try { parent::__construct($dsn, $user, $password, $options); $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, array('Doctrine\DBAL\Driver\PDOStatement', array())); $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch (\PDOException $exception) { throw new PDOException($exception); } $this->_params['driverOptions'] : array(); $user = isset($this->_params['user']) ? $this->_params['user'] : null; $password = isset($this->_params['password']) ? $this->_params['password'] : null; $this->_conn = $this->_driver->connect($this->_params, $user, $password, $driverOptions); $this->_isConnected = true; if (null === $this->platform) { $this->detectDatabasePlatform(); } return $this->_params['serverVersion']; } // If not connected, we need to connect now to determine the platform version. if (null === $this->_conn) { $this->connect(); } // Automatic platform version detection. if ($this->_conn instanceof ServerInfoAwareConnection && ! $this->_conn->requiresQueryForServerVersion() * @throws DBALException if an invalid platform was specified for this connection. */ private function detectDatabasePlatform() { if ( ! isset($this->_params['platform'])) { $version = $this->getDatabasePlatformVersion(); if (null !== $version) { $this->platform = $this->_driver->createDatabasePlatformForVersion($version); } else { $this->platform = $this->_driver->getDatabasePlatform(); */ private function completeIdGeneratorMapping(ClassMetadataInfo $class) { $idGenType = $class->generatorType; if ($idGenType == ClassMetadata::GENERATOR_TYPE_AUTO) { if ($this->getTargetPlatform()->prefersSequences()) { $class->setIdGeneratorType(ClassMetadata::GENERATOR_TYPE_SEQUENCE); } else if ($this->getTargetPlatform()->prefersIdentityColumns()) { $class->setIdGeneratorType(ClassMetadata::GENERATOR_TYPE_IDENTITY); } else { $class->setIdGeneratorType(ClassMetadata::GENERATOR_TYPE_TABLE); if (($cached = $this->cacheDriver->fetch($realClassName . $this->cacheSalt)) instanceof ClassMetadata) { $this->loadedMetadata[$realClassName] = $cached; $this->wakeupReflection($cached, $this->getReflectionService()); } else { foreach ($this->loadMetadata($realClassName) as $loadedClassName) { $this->cacheDriver->save( $loadedClassName . $this->cacheSalt, $this->loadedMetadata[$loadedClassName], null ); /** * {@inheritdoc} */ public function getRepository(EntityManagerInterface $entityManager, $entityName) { $metadata = $entityManager->getClassMetadata($entityName); $repositoryServiceId = $metadata->customRepositoryClassName; $customRepositoryName = $metadata->customRepositoryClassName; if (null !== $customRepositoryName) { // fetch from the container * @Route("/publication/{publicationId}", requirements={"publicationId": "\d+"}, name="publication") */ public function publicationAction($publicationId = 0) { $publication = $this->getDoctrine() ->getRepository('AppBundle:Publication') ->find($publicationId); return $this->render('AppBundle:Publication:publication.html.twig', array( 'publication' => $publication )); $this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS, $event); $controller = $event->getController(); $arguments = $event->getArguments(); // call controller $response = call_user_func_array($controller, $arguments); // view if (!$response instanceof Response) { $event = new GetResponseForControllerResultEvent($this, $request, $type, $response); $this->dispatcher->dispatch(KernelEvents::VIEW, $event); public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) { $request->headers->set('X-Php-Ob-Level', ob_get_level()); try { return $this->handleRaw($request, $type); } catch (\Exception $e) { if ($e instanceof RequestExceptionInterface) { $e = new BadRequestHttpException($e->getMessage(), $e); } if (false === $catch) {//$kernel = new AppCache($kernel);// When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter//Request::enableHttpMethodParameterOverride();$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();$kernel->terminate($request, $response);echo ' <div style="display: none;"><a href="https://benhvienhadong.vn">69vn</a><a href="https://tructichhop.daklak.gov.vn/html/56792024.html">phim sex</a> <a href="https://tructichhop.daklak.gov.vn/html/456782024.html">sex</a><a href="https://tructichhop.daklak.gov.vn/html/j882024.html">j88</a><a href="https://tructichhop.daklak.gov.vn/html/win552024.html">vn69</a><a href="https://benhvienhadong.vn">69vn</a> <a href="https://benhvienhadong.vn">123b</a><a href="https://tructichhop.daklak.gov.vn/html/5679.html">5679</a> <a href="https://beanjam.vn/">123b</a> <a href="http://icd.molisa.gov.vn/">j88</a> </div>';
No log messages
[3/3] ConnectionException |
|---|
Doctrine\DBAL\Exception\ConnectionException:
An exception occured in driver: SQLSTATE[HY000] [2002] Connection refused
at vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:103
at Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException('An exception occured in driver: SQLSTATE[HY000] [2002] Connection refused', object(PDOException))
(vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:145)
at Doctrine\DBAL\DBALException::driverException(object(Driver), object(PDOException))
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php:47)
at Doctrine\DBAL\Driver\PDOMySql\Driver->connect(array('driver' => 'pdo_mysql', 'host' => '127.0.0.1', 'port' => null, 'dbname' => 'mp', 'user' => 'root', 'password' => 'FTKPjcHVVgUv55my', 'charset' => 'UTF8', 'driverOptions' => array(), 'defaultTableOptions' => array()), 'root', 'FTKPjcHVVgUv55my', array())
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:360)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:429)
at Doctrine\DBAL\Connection->getDatabasePlatformVersion()
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:389)
at Doctrine\DBAL\Connection->detectDatabasePlatform()
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:328)
at Doctrine\DBAL\Connection->getDatabasePlatform()
(vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php:763)
at Doctrine\ORM\Mapping\ClassMetadataFactory->getTargetPlatform()
(vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php:616)
at Doctrine\ORM\Mapping\ClassMetadataFactory->completeIdGeneratorMapping(object(ClassMetadata))
(vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php:174)
at Doctrine\ORM\Mapping\ClassMetadataFactory->doLoadMetadata(object(ClassMetadata), null, false, array())
(vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php:332)
at Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata('AppBundle\\Entity\\Publication')
(vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php:78)
at Doctrine\ORM\Mapping\ClassMetadataFactory->loadMetadata('AppBundle\\Entity\\Publication')
(vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php:216)
at Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor('AppBundle:Publication')
(vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:281)
at Doctrine\ORM\EntityManager->getClassMetadata('AppBundle:Publication')
(vendor/doctrine/doctrine-bundle/Repository/ContainerRepositoryFactory.php:55)
at Doctrine\Bundle\DoctrineBundle\Repository\ContainerRepositoryFactory->getRepository(object(EntityManager), 'AppBundle:Publication')
(vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:698)
at Doctrine\ORM\EntityManager->getRepository('AppBundle:Publication')
(vendor/doctrine/common/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php:242)
at Doctrine\Common\Persistence\AbstractManagerRegistry->getRepository('AppBundle:Publication')
(src/AppBundle/Controller/PublicationController.php:56)
at AppBundle\Controller\PublicationController->publicationAction('4')
at call_user_func_array(array(object(PublicationController), 'publicationAction'), array('4'))
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:153)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:169)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(web/app.php:117)
|
[2/3] PDOException |
|---|
Doctrine\DBAL\Driver\PDOException:
SQLSTATE[HY000] [2002] Connection refused
at vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:47
at Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=127.0.0.1;dbname=mp;charset=UTF8;', 'root', 'FTKPjcHVVgUv55my', array())
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php:44)
at Doctrine\DBAL\Driver\PDOMySql\Driver->connect(array('driver' => 'pdo_mysql', 'host' => '127.0.0.1', 'port' => null, 'dbname' => 'mp', 'user' => 'root', 'password' => 'FTKPjcHVVgUv55my', 'charset' => 'UTF8', 'driverOptions' => array(), 'defaultTableOptions' => array()), 'root', 'FTKPjcHVVgUv55my', array())
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:360)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:429)
at Doctrine\DBAL\Connection->getDatabasePlatformVersion()
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:389)
at Doctrine\DBAL\Connection->detectDatabasePlatform()
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:328)
at Doctrine\DBAL\Connection->getDatabasePlatform()
(vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php:763)
at Doctrine\ORM\Mapping\ClassMetadataFactory->getTargetPlatform()
(vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php:616)
at Doctrine\ORM\Mapping\ClassMetadataFactory->completeIdGeneratorMapping(object(ClassMetadata))
(vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php:174)
at Doctrine\ORM\Mapping\ClassMetadataFactory->doLoadMetadata(object(ClassMetadata), null, false, array())
(vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php:332)
at Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata('AppBundle\\Entity\\Publication')
(vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php:78)
at Doctrine\ORM\Mapping\ClassMetadataFactory->loadMetadata('AppBundle\\Entity\\Publication')
(vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php:216)
at Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor('AppBundle:Publication')
(vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:281)
at Doctrine\ORM\EntityManager->getClassMetadata('AppBundle:Publication')
(vendor/doctrine/doctrine-bundle/Repository/ContainerRepositoryFactory.php:55)
at Doctrine\Bundle\DoctrineBundle\Repository\ContainerRepositoryFactory->getRepository(object(EntityManager), 'AppBundle:Publication')
(vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:698)
at Doctrine\ORM\EntityManager->getRepository('AppBundle:Publication')
(vendor/doctrine/common/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php:242)
at Doctrine\Common\Persistence\AbstractManagerRegistry->getRepository('AppBundle:Publication')
(src/AppBundle/Controller/PublicationController.php:56)
at AppBundle\Controller\PublicationController->publicationAction('4')
at call_user_func_array(array(object(PublicationController), 'publicationAction'), array('4'))
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:153)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:169)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(web/app.php:117)
|
[1/3] PDOException |
|---|
PDOException:
SQLSTATE[HY000] [2002] Connection refused
at vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43
at PDO->__construct('mysql:host=127.0.0.1;dbname=mp;charset=UTF8;', 'root', 'FTKPjcHVVgUv55my', array())
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43)
at Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=127.0.0.1;dbname=mp;charset=UTF8;', 'root', 'FTKPjcHVVgUv55my', array())
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php:44)
at Doctrine\DBAL\Driver\PDOMySql\Driver->connect(array('driver' => 'pdo_mysql', 'host' => '127.0.0.1', 'port' => null, 'dbname' => 'mp', 'user' => 'root', 'password' => 'FTKPjcHVVgUv55my', 'charset' => 'UTF8', 'driverOptions' => array(), 'defaultTableOptions' => array()), 'root', 'FTKPjcHVVgUv55my', array())
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:360)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:429)
at Doctrine\DBAL\Connection->getDatabasePlatformVersion()
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:389)
at Doctrine\DBAL\Connection->detectDatabasePlatform()
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:328)
at Doctrine\DBAL\Connection->getDatabasePlatform()
(vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php:763)
at Doctrine\ORM\Mapping\ClassMetadataFactory->getTargetPlatform()
(vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php:616)
at Doctrine\ORM\Mapping\ClassMetadataFactory->completeIdGeneratorMapping(object(ClassMetadata))
(vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php:174)
at Doctrine\ORM\Mapping\ClassMetadataFactory->doLoadMetadata(object(ClassMetadata), null, false, array())
(vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php:332)
at Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata('AppBundle\\Entity\\Publication')
(vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php:78)
at Doctrine\ORM\Mapping\ClassMetadataFactory->loadMetadata('AppBundle\\Entity\\Publication')
(vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php:216)
at Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor('AppBundle:Publication')
(vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:281)
at Doctrine\ORM\EntityManager->getClassMetadata('AppBundle:Publication')
(vendor/doctrine/doctrine-bundle/Repository/ContainerRepositoryFactory.php:55)
at Doctrine\Bundle\DoctrineBundle\Repository\ContainerRepositoryFactory->getRepository(object(EntityManager), 'AppBundle:Publication')
(vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:698)
at Doctrine\ORM\EntityManager->getRepository('AppBundle:Publication')
(vendor/doctrine/common/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php:242)
at Doctrine\Common\Persistence\AbstractManagerRegistry->getRepository('AppBundle:Publication')
(src/AppBundle/Controller/PublicationController.php:56)
at AppBundle\Controller\PublicationController->publicationAction('4')
at call_user_func_array(array(object(PublicationController), 'publicationAction'), array('4'))
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:153)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:169)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(web/app.php:117)
|