An exception occurred while executing 'SELECT t0.id AS id1, t0.nom AS nom2, t0.id_enseignant AS id_enseignant3 FROM AxeRecherche t0':
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'cittech.AxeRecherche' doesn't exist
500 Internal Server Error -
DBALException
[2/2]
DBALException: An exception occurred while executing 'SELECT t0.id AS id1, t0.nom AS nom2, t0.id_enseignant AS id_enseignant3 FROM AxeRecherche t0':
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'cittech.AxeRecherche' doesn't exist
-
in /home/cittech/www/CITtech-ENIS/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php at line 47
}
$msg .= ":\n\n".$driverEx->getMessage();
return new self($msg, 0, $driverEx);
}
public static function invalidWrapperClass($wrapperClass)
-
at
DBALException
::driverExceptionDuringQuery
(object(PDOException), 'SELECT t0.id AS id1, t0.nom AS nom2, t0.id_enseignant AS id_enseignant3 FROM AxeRecherche t0', array())
in /home/cittech/www/CITtech-ENIS/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php at line 649
$stmt = $this->_conn->query($query);
}
} catch (\Exception $ex) {
throw DBALException::driverExceptionDuringQuery($ex, $query, $this->resolveParams($params, $types));
}
$stmt->setFetchMode($this->_defaultFetchMode);
-
at
Connection
->executeQuery
('SELECT t0.id AS id1, t0.nom AS nom2, t0.id_enseignant AS id_enseignant3 FROM AxeRecherche t0', array(), array())
in /home/cittech/www/CITtech-ENIS/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php at line 844
{
$sql = $this->_getSelectEntitiesSQL($criteria, null, 0, $limit, $offset, $orderBy);
list($params, $types) = $this->expandParameters($criteria);
$stmt = $this->_conn->executeQuery($sql, $params, $types);
$hydrator = $this->_em->newHydrator(($this->_selectJoinSql) ? Query::HYDRATE_OBJECT : Query::HYDRATE_SIMPLEOBJECT);
-
at
BasicEntityPersister
->loadAll
(array(), null, null, null)
in /home/cittech/www/CITtech-ENIS/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php at line 157
{
$persister = $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName);
return $persister->loadAll($criteria, $orderBy, $limit, $offset);
}
/**
-
at
EntityRepository
->findBy
(array())
in /home/cittech/www/CITtech-ENIS/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php at line 141
*/
public function findAll()
{
return $this->findBy(array());
}
/**
-
at
EntityRepository
->findAll
()
in /home/cittech/www/CITtech-ENIS/src/Acme/PublicBundle/Controller/ProductionController.php at line 43
{
$em = $this->getDoctrine()->getEntityManager();
$axeRecherches = $em->getRepository('AcmeModelBundle:AxeRecherche')
->findAll();
if (!$axeRecherches) {
throw $this->createNotFoundException('No product found for id '.$id);
}
-
at
ProductionController
->axes_recherchesAction
()
-
at
call_user_func_array
(array(object(ProductionController), 'axes_recherchesAction'), array())
in kernel.root_dir/bootstrap.php.cache at line 1001
$this->dispatcher->dispatch(KernelEvents::CONTROLLER, $event);
$controller = $event->getController();
$arguments = $this->resolver->getArguments($request, $controller);
$response = call_user_func_array($controller, $arguments);
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
$this->dispatcher->dispatch(KernelEvents::VIEW, $event);
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/bootstrap.php.cache at line 975
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if (false === $catch) {
throw $e;
-
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 1101
$this->container->enterScope('request');
$this->container->set('request', $request,'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->leaveScope('request');
throw $e;
-
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 411
if (false === $this->booted) {
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
protected function getHttpKernel()
{
-
at
Kernel
->handle
(object(Request))
in /home/cittech/www/CITtech-ENIS/web/app.php at line 24
//$kernel = new AppCache($kernel);
Request::enableHttpMethodParameterOverride();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
[1/2]
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'cittech.AxeRecherche' doesn't exist
-
in /home/cittech/www/CITtech-ENIS/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php at line 646
$stmt->execute($params);
}
} else {
$stmt = $this->_conn->query($query);
}
} catch (\Exception $ex) {
throw DBALException::driverExceptionDuringQuery($ex, $query, $this->resolveParams($params, $types));
-
at
PDO
->query
('SELECT t0.id AS id1, t0.nom AS nom2, t0.id_enseignant AS id_enseignant3 FROM AxeRecherche t0')
in /home/cittech/www/CITtech-ENIS/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php at line 646
$stmt->execute($params);
}
} else {
$stmt = $this->_conn->query($query);
}
} catch (\Exception $ex) {
throw DBALException::driverExceptionDuringQuery($ex, $query, $this->resolveParams($params, $types));
-
at
Connection
->executeQuery
('SELECT t0.id AS id1, t0.nom AS nom2, t0.id_enseignant AS id_enseignant3 FROM AxeRecherche t0', array(), array())
in /home/cittech/www/CITtech-ENIS/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php at line 844
{
$sql = $this->_getSelectEntitiesSQL($criteria, null, 0, $limit, $offset, $orderBy);
list($params, $types) = $this->expandParameters($criteria);
$stmt = $this->_conn->executeQuery($sql, $params, $types);
$hydrator = $this->_em->newHydrator(($this->_selectJoinSql) ? Query::HYDRATE_OBJECT : Query::HYDRATE_SIMPLEOBJECT);
-
at
BasicEntityPersister
->loadAll
(array(), null, null, null)
in /home/cittech/www/CITtech-ENIS/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php at line 157
{
$persister = $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName);
return $persister->loadAll($criteria, $orderBy, $limit, $offset);
}
/**
-
at
EntityRepository
->findBy
(array())
in /home/cittech/www/CITtech-ENIS/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php at line 141
*/
public function findAll()
{
return $this->findBy(array());
}
/**
-
at
EntityRepository
->findAll
()
in /home/cittech/www/CITtech-ENIS/src/Acme/PublicBundle/Controller/ProductionController.php at line 43
{
$em = $this->getDoctrine()->getEntityManager();
$axeRecherches = $em->getRepository('AcmeModelBundle:AxeRecherche')
->findAll();
if (!$axeRecherches) {
throw $this->createNotFoundException('No product found for id '.$id);
}
-
at
ProductionController
->axes_recherchesAction
()
-
at
call_user_func_array
(array(object(ProductionController), 'axes_recherchesAction'), array())
in kernel.root_dir/bootstrap.php.cache at line 1001
$this->dispatcher->dispatch(KernelEvents::CONTROLLER, $event);
$controller = $event->getController();
$arguments = $this->resolver->getArguments($request, $controller);
$response = call_user_func_array($controller, $arguments);
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
$this->dispatcher->dispatch(KernelEvents::VIEW, $event);
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/bootstrap.php.cache at line 975
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if (false === $catch) {
throw $e;
-
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 1101
$this->container->enterScope('request');
$this->container->set('request', $request,'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->leaveScope('request');
throw $e;
-
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 411
if (false === $this->booted) {
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
protected function getHttpKernel()
{
-
at
Kernel
->handle
(object(Request))
in /home/cittech/www/CITtech-ENIS/web/app.php at line 24
//$kernel = new AppCache($kernel);
Request::enableHttpMethodParameterOverride();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
Logs
1 error
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest".
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest".
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
-
INFO - Matched route "PublicBundle_axes_recherches" (parameters: "_controller": "Acme\PublicBundle\Controller\ProductionController::axes_recherchesAction", "_route": "PublicBundle_axes_recherches")
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest".
-
INFO - Populated SecurityContext with an anonymous Token
-
INFO - No expression found; abstaining from voting.
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\Fragment\FragmentHandler::onKernelRequest".
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DeprecationLoggerListener::injectLogger".
-
DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
-
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
-
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
-
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
-
DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
-
WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
-
DEBUG - SELECT t0.id AS id1, t0.nom AS nom2, t0.id_enseignant AS id_enseignant3 FROM AxeRecherche t0
-
DEBUG - Notified event "kernel.exception" to listener "Symfony\Component\Security\Http\Firewall\ExceptionListener::onKernelException".
-
DEBUG - Notified event "kernel.exception" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelException".
-
DEBUG - Notified event "kernel.exception" to listener "Symfony\Component\HttpKernel\EventListener\ExceptionListener::onKernelException".
-
CRITICAL - Uncaught PHP Exception Doctrine\DBAL\DBALException: "An exception occurred while executing 'SELECT t0.id AS id1, t0.nom AS nom2, t0.id_enseignant AS id_enseignant3 FROM AxeRecherche t0':
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'cittech.AxeRecherche' doesn't exist" at /home/cittech/www/CITtech-ENIS/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 47
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest".
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest".
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest".
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\Fragment\FragmentHandler::onKernelRequest".
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DeprecationLoggerListener::injectLogger".
-
DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
-
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
-
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
-
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
-
DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".