Leider gibt es immernoch Probleme mit der Seite... Heute werden die Haare wieder etwas grauer...
Frontend und Backend laufen - bis auf diesen PCT CustomCatalog. Alle Backend-Menüs und Module, die damit zu tun haben, verursachen Fehlermeldungen.
Wenn ich richtig informiert bin, muss die Website-URL wohl bei PCT hinterlegt sein, damit das Template funktioniert. Das wurde auch erledigt...
Könnte es sein, dass die Verbindung nicht funktioniert oder irgendwo noch eine "Erlaubnis" erforderlich ist? So würde ich jedenfalls (mal vorsichtig) den Stack trace interpretieren...
Stack Trace
Code:
Doctrine\DBAL\Exception\ConnectionException:
An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
at vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:112
at Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException('An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for user \'root\'@\'localhost\' (using password: NO)', object(Exception))
(vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:182)
at Doctrine\DBAL\DBALException::wrapException(object(Driver), object(Exception), 'An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for user \'root\'@\'localhost\' (using password: NO)')
(vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:169)
at Doctrine\DBAL\DBALException::driverException(object(Driver), object(Exception))
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php:31)
at Doctrine\DBAL\Driver\PDOMySql\Driver->connect(array('driver' => 'pdo_mysql', 'url' => 'pdo-mysql://localhost:3306', 'charset' => 'utf8mb4', 'host' => 'localhost', 'port' => 3306, 'user' => 'root', 'password' => null, 'driverOptions' => array(false), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci', 'engine' => 'InnoDB', 'row_format' => 'DYNAMIC')), 'root', null, array(false))
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:412)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:1952)
at Doctrine\DBAL\Connection->getWrappedConnection()
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:980)
at Doctrine\DBAL\Connection->quote('____________PATH____________')
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Database/Statement.php:319)
at Contao\Database\Statement->escapeParams(array('____________PATH____________'))
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Database/Statement.php:295)
at Contao\Database\Statement->replaceWildcards(array('____________PATH____________'))
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Database/Statement.php:246)
at Contao\Database\Statement->execute('____________PATH____________')
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Model.php:1077)
at Contao\Model::find(array('column' => array('(tl_page.type=\'root\' AND (tl_page.dns=? OR tl_page.dns=\'\'))'), 'value' => '____________PATH____________', 'return' => 'Collection', 'table' => 'tl_page', 'limit' => 0, 'offset' => 0))
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Model.php:948)
at Contao\Model::findBy(array('(tl_page.type=\'root\' AND (tl_page.dns=? OR tl_page.dns=\'\'))'), '____________PATH____________')
(vendor/contao/core-bundle/src/Framework/Adapter.php:44)
at Contao\CoreBundle\Framework\Adapter->__call('findBy', array(array('(tl_page.type=\'root\' AND (tl_page.dns=? OR tl_page.dns=\'\'))'), '____________PATH____________'))
(vendor/contao/core-bundle/src/Routing/RouteProvider.php:533)
at Contao\CoreBundle\Routing\RouteProvider->findRootPages('____________PATH____________')
(vendor/contao/core-bundle/src/Routing/RouteProvider.php:70)
at Contao\CoreBundle\Routing\RouteProvider->getRouteCollectionForRequest(object(Request))
(vendor/contao/core-bundle/src/Routing/LegacyRouteProvider.php:43)
at Contao\CoreBundle\Routing\LegacyRouteProvider->getRouteCollectionForRequest(object(Request))
(vendor/symfony-cmf/routing/src/NestedMatcher/NestedMatcher.php:140)
at Symfony\Cmf\Component\Routing\NestedMatcher\NestedMatcher->matchRequest(object(Request))
(vendor/contao/core-bundle/src/Routing/Matcher/LegacyMatcher.php:69)
at Contao\CoreBundle\Routing\Matcher\LegacyMatcher->matchRequest(object(Request))
(vendor/symfony-cmf/routing/src/DynamicRouter.php:272)
at Symfony\Cmf\Component\Routing\DynamicRouter->matchRequest(object(Request))
(vendor/symfony-cmf/routing/src/ChainRouter.php:188)
at Symfony\Cmf\Component\Routing\ChainRouter->doMatch('/', object(Request))
(vendor/symfony-cmf/routing/src/ChainRouter.php:158)
at Symfony\Cmf\Component\Routing\ChainRouter->matchRequest(object(Request))
(vendor/symfony/http-kernel/EventListener/RouterListener.php:112)
at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:126)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
(vendor/symfony/event-dispatcher/EventDispatcher.php:264)
at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent))
(vendor/symfony/event-dispatcher/EventDispatcher.php:239)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent))
(vendor/symfony/event-dispatcher/EventDispatcher.php:73)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:168)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(vendor/symfony/http-kernel/HttpKernel.php:145)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:81)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:201)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(web/index.php:31)
Code:
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
at vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
at Doctrine\DBAL\Driver\PDO\Exception::new(object(PDOException))
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:44)
at Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=localhost;port=3306;charset=utf8mb4;', 'root', null, array(false))
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php:25)
at Doctrine\DBAL\Driver\PDOMySql\Driver->connect(array('driver' => 'pdo_mysql', 'url' => 'pdo-mysql://localhost:3306', 'charset' => 'utf8mb4', 'host' => 'localhost', 'port' => 3306, 'user' => 'root', 'password' => null, 'driverOptions' => array(false), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci', 'engine' => 'InnoDB', 'row_format' => 'DYNAMIC')), 'root', null, array(false))
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:412)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:1952)
at Doctrine\DBAL\Connection->getWrappedConnection()
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:980)
at Doctrine\DBAL\Connection->quote('____________PATH____________')
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Database/Statement.php:319)
at Contao\Database\Statement->escapeParams(array('____________PATH____________'))
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Database/Statement.php:295)
at Contao\Database\Statement->replaceWildcards(array('____________PATH____________'))
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Database/Statement.php:246)
at Contao\Database\Statement->execute('____________PATH____________')
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Model.php:1077)
at Contao\Model::find(array('column' => array('(tl_page.type=\'root\' AND (tl_page.dns=? OR tl_page.dns=\'\'))'), 'value' => '____________PATH____________', 'return' => 'Collection', 'table' => 'tl_page', 'limit' => 0, 'offset' => 0))
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Model.php:948)
at Contao\Model::findBy(array('(tl_page.type=\'root\' AND (tl_page.dns=? OR tl_page.dns=\'\'))'), '____________PATH____________')
(vendor/contao/core-bundle/src/Framework/Adapter.php:44)
at Contao\CoreBundle\Framework\Adapter->__call('findBy', array(array('(tl_page.type=\'root\' AND (tl_page.dns=? OR tl_page.dns=\'\'))'), '____________PATH____________'))
(vendor/contao/core-bundle/src/Routing/RouteProvider.php:533)
at Contao\CoreBundle\Routing\RouteProvider->findRootPages('____________PATH____________')
(vendor/contao/core-bundle/src/Routing/RouteProvider.php:70)
at Contao\CoreBundle\Routing\RouteProvider->getRouteCollectionForRequest(object(Request))
(vendor/contao/core-bundle/src/Routing/LegacyRouteProvider.php:43)
at Contao\CoreBundle\Routing\LegacyRouteProvider->getRouteCollectionForRequest(object(Request))
(vendor/symfony-cmf/routing/src/NestedMatcher/NestedMatcher.php:140)
at Symfony\Cmf\Component\Routing\NestedMatcher\NestedMatcher->matchRequest(object(Request))
(vendor/contao/core-bundle/src/Routing/Matcher/LegacyMatcher.php:69)
at Contao\CoreBundle\Routing\Matcher\LegacyMatcher->matchRequest(object(Request))
(vendor/symfony-cmf/routing/src/DynamicRouter.php:272)
at Symfony\Cmf\Component\Routing\DynamicRouter->matchRequest(object(Request))
(vendor/symfony-cmf/routing/src/ChainRouter.php:188)
at Symfony\Cmf\Component\Routing\ChainRouter->doMatch('/', object(Request))
(vendor/symfony-cmf/routing/src/ChainRouter.php:158)
at Symfony\Cmf\Component\Routing\ChainRouter->matchRequest(object(Request))
(vendor/symfony/http-kernel/EventListener/RouterListener.php:112)
at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:126)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
(vendor/symfony/event-dispatcher/EventDispatcher.php:264)
at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent))
(vendor/symfony/event-dispatcher/EventDispatcher.php:239)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent))
(vendor/symfony/event-dispatcher/EventDispatcher.php:73)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:168)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(vendor/symfony/http-kernel/HttpKernel.php:145)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:81)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:201)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(web/index.php:31)
Code:
PDOException:
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
at vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40
at PDO->__construct('mysql:host=localhost;port=3306;charset=utf8mb4;', 'root', '', array(false))
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40)
at Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=localhost;port=3306;charset=utf8mb4;', 'root', null, array(false))
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php:25)
at Doctrine\DBAL\Driver\PDOMySql\Driver->connect(array('driver' => 'pdo_mysql', 'url' => 'pdo-mysql://localhost:3306', 'charset' => 'utf8mb4', 'host' => 'localhost', 'port' => 3306, 'user' => 'root', 'password' => null, 'driverOptions' => array(false), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci', 'engine' => 'InnoDB', 'row_format' => 'DYNAMIC')), 'root', null, array(false))
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:412)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:1952)
at Doctrine\DBAL\Connection->getWrappedConnection()
(vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:980)
at Doctrine\DBAL\Connection->quote('____________PATH____________')
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Database/Statement.php:319)
at Contao\Database\Statement->escapeParams(array('____________PATH____________'))
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Database/Statement.php:295)
at Contao\Database\Statement->replaceWildcards(array('____________PATH____________'))
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Database/Statement.php:246)
at Contao\Database\Statement->execute('____________PATH____________')
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Model.php:1077)
at Contao\Model::find(array('column' => array('(tl_page.type=\'root\' AND (tl_page.dns=? OR tl_page.dns=\'\'))'), 'value' => '____________PATH____________', 'return' => 'Collection', 'table' => 'tl_page', 'limit' => 0, 'offset' => 0))
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Model.php:948)
at Contao\Model::findBy(array('(tl_page.type=\'root\' AND (tl_page.dns=? OR tl_page.dns=\'\'))'), '____________PATH____________')
(vendor/contao/core-bundle/src/Framework/Adapter.php:44)
at Contao\CoreBundle\Framework\Adapter->__call('findBy', array(array('(tl_page.type=\'root\' AND (tl_page.dns=? OR tl_page.dns=\'\'))'), '____________PATH____________'))
(vendor/contao/core-bundle/src/Routing/RouteProvider.php:533)
at Contao\CoreBundle\Routing\RouteProvider->findRootPages('____________PATH____________')
(vendor/contao/core-bundle/src/Routing/RouteProvider.php:70)
at Contao\CoreBundle\Routing\RouteProvider->getRouteCollectionForRequest(object(Request))
(vendor/contao/core-bundle/src/Routing/LegacyRouteProvider.php:43)
at Contao\CoreBundle\Routing\LegacyRouteProvider->getRouteCollectionForRequest(object(Request))
(vendor/symfony-cmf/routing/src/NestedMatcher/NestedMatcher.php:140)
at Symfony\Cmf\Component\Routing\NestedMatcher\NestedMatcher->matchRequest(object(Request))
(vendor/contao/core-bundle/src/Routing/Matcher/LegacyMatcher.php:69)
at Contao\CoreBundle\Routing\Matcher\LegacyMatcher->matchRequest(object(Request))
(vendor/symfony-cmf/routing/src/DynamicRouter.php:272)
at Symfony\Cmf\Component\Routing\DynamicRouter->matchRequest(object(Request))
(vendor/symfony-cmf/routing/src/ChainRouter.php:188)
at Symfony\Cmf\Component\Routing\ChainRouter->doMatch('/', object(Request))
(vendor/symfony-cmf/routing/src/ChainRouter.php:158)
at Symfony\Cmf\Component\Routing\ChainRouter->matchRequest(object(Request))
(vendor/symfony/http-kernel/EventListener/RouterListener.php:112)
at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:126)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
(vendor/symfony/event-dispatcher/EventDispatcher.php:264)
at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent))
(vendor/symfony/event-dispatcher/EventDispatcher.php:239)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent))
(vendor/symfony/event-dispatcher/EventDispatcher.php:73)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:168)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(vendor/symfony/http-kernel/HttpKernel.php:145)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:81)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:201)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(web/index.php:31)