in /var/www/typo3/typo3_src-11.5.19/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 112
case '1370':
case '1429':
case '2002':
case '2005':
return new ConnectionException($message, $exception);
case '2006':
return new ConnectionLost($message, $exception);
at Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException()
in /var/www/typo3/typo3_src-11.5.19/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 182
return $driverEx;
}
if ($driver instanceof ExceptionConverterDriver && $driverEx instanceof DeprecatedDriverException) {
return $driver->convertException($msg, $driverEx);
}
return new Exception($msg, 0, $driverEx);
}
at Doctrine\DBAL\DBALException::wrapException()
in /var/www/typo3/typo3_src-11.5.19/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 169
* @return Exception
*/
public static function driverException(Driver $driver, Throwable $driverEx)
{
return self::wrapException($driver, $driverEx, 'An exception occurred in driver: ' . $driverEx->getMessage());
}
/**
* @return Exception
at Doctrine\DBAL\DBALException::driverException()
in /var/www/typo3/typo3_src-11.5.19/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/Driver.php line 19
{
try {
return new Connection($params, (string) $username, (string) $password, $driverOptions);
} catch (MysqliException $e) {
throw Exception::driverException($this, $e);
}
}
/**
at Doctrine\DBAL\Driver\Mysqli\Driver->connect()
in /var/www/typo3/typo3_src-11.5.19/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 412
$driverOptions = $this->params['driverOptions'] ?? [];
$user = $this->params['user'] ?? null;
$password = $this->params['password'] ?? null;
$this->_conn = $this->_driver->connect($this->params, $user, $password, $driverOptions);
$this->transactionNestingLevel = 0;
if ($this->autoCommit === false) {
at Doctrine\DBAL\Connection->connect()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Database/Connection.php line 103
*/
public function connect(): bool
{
// Early return if the connection is already open and custom setup has been done.
if (!parent::connect()) {
return false;
}
foreach ($this->prepareConnectionCommands as $command) {
at TYPO3\CMS\Core\Database\Connection->connect()
in /var/www/typo3/typo3_src-11.5.19/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 475
// If not connected, we need to connect now to determine the platform version.
if ($this->_conn === null) {
try {
$this->connect();
} catch (Throwable $originalException) {
if (empty($this->params['dbname'])) {
throw $originalException;
}
at Doctrine\DBAL\Connection->getDatabasePlatformVersion()
in /var/www/typo3/typo3_src-11.5.19/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 437
* @throws Exception If an invalid platform was specified for this connection.
*/
private function detectDatabasePlatform(): AbstractPlatform
{
$version = $this->getDatabasePlatformVersion();
if ($version !== null) {
assert($this->_driver instanceof VersionAwarePlatformDriver);
at Doctrine\DBAL\Connection->detectDatabasePlatform()
in /var/www/typo3/typo3_src-11.5.19/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 379
*/
public function getDatabasePlatform()
{
if ($this->platform === null) {
$this->platform = $this->detectDatabasePlatform();
$this->platform->setEventManager($this->_eventManager);
}
return $this->platform;
at Doctrine\DBAL\Connection->getDatabasePlatform()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Database/ConnectionPool.php line 211
}
// Register all custom data types in the type mapping
foreach ($this->customDoctrineTypes as $type => $className) {
$conn->getDatabasePlatform()->registerDoctrineTypeMapping($type, $type);
}
// Handler for building custom data type column definitions
// in the SchemaManager
at TYPO3\CMS\Core\Database\ConnectionPool->getDatabaseConnection()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Database/ConnectionPool.php line 161
);
unset($connectionParams['tableoptions']);
}
static::$connections[$connectionName] = $this->getDatabaseConnection($connectionParams);
return static::$connections[$connectionName];
}
at TYPO3\CMS\Core\Database\ConnectionPool->getConnectionByName()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Database/ConnectionPool.php line 103
if (!empty($GLOBALS['TYPO3_CONF_VARS']['DB']['TableMapping'][$tableName])) {
$connectionName = (string)$GLOBALS['TYPO3_CONF_VARS']['DB']['TableMapping'][$tableName];
}
return $this->getConnectionByName($connectionName);
}
/**
* Creates a connection object based on the specified identifier.
at TYPO3\CMS\Core\Database\ConnectionPool->getConnectionForTable()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Database/ConnectionPool.php line 253
1459423448
);
}
return $this->getConnectionForTable($tableName)->createQueryBuilder();
}
/**
* Returns an array containing the names of all currently configured connections.
at TYPO3\CMS\Core\Database\ConnectionPool->getQueryBuilderForTable()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php line 1230
* @internal
*/
public function getAuthInfoArray()
{
$queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable($this->user_table);
$expressionBuilder = $queryBuilder->expr();
$authInfo = [];
$authInfo['loginType'] = $this->loginType;
$authInfo['refInfo'] = parse_url(GeneralUtility::getIndpEnv('HTTP_REFERER'));
at TYPO3\CMS\Core\Authentication\AbstractUserAuthentication->getAuthInfoArray()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php line 444
// User want to login with passed login data (name/password)
$activeLogin = false;
$this->logger->debug('Login type: {type}', ['type' => $this->loginType]);
// The info array provide additional information for auth services
$authInfo = $this->getAuthInfoArray();
// Get Login/Logout data submitted by a form or params
$loginData = $this->getLoginFormData();
$this->logger->debug('Login data', $this->removeSensitiveLoginDataForLoggingInfo($loginData));
// Active logout (eg. with "logout" button)
at TYPO3\CMS\Core\Authentication\AbstractUserAuthentication->checkAuthentication()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php line 271
// Load user session, check to see if anyone has submitted login-information and if so authenticate
// the user with the session. $this->user[uid] may be used to write log...
try {
$this->checkAuthentication($request);
} catch (MfaRequiredException $mfaRequiredException) {
// Ensure the cookie is still set to keep the user session available
if (!$this->dontSetCookie || $this->isRefreshTimeBasedCookie()) {
$this->setSessionCookie();
at TYPO3\CMS\Core\Authentication\AbstractUserAuthentication->start()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/frontend/Classes/Middleware/FrontendUserAuthenticator.php line 76
// Rate Limiting
$rateLimiter = $this->ensureLoginRateLimit($frontendUser, $request);
// Authenticate now
$frontendUser->start($request);
$frontendUser->unpack_uc();
// no matter if we have an active user we try to fetch matching groups which can
// be set without an user (simulation for instance!)
$frontendUser->fetchGroupData($request);
at TYPO3\CMS\Frontend\Middleware\FrontendUserAuthenticator->process()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$75->handle()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/frontend/Classes/Middleware/BackendUserAuthenticator.php line 78
Bootstrap::loadExtTables();
$this->setBackendUserAspect($GLOBALS['BE_USER']);
}
$response = $handler->handle($request);
// If, when building the response, the user is still available, then ensure that the headers are sent properly
if ($this->context->getAspect('backend.user')->isLoggedIn()) {
return $this->applyHeadersToResponse($response);
at TYPO3\CMS\Frontend\Middleware\BackendUserAuthenticator->process()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$75->handle()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/frontend/Classes/Middleware/MaintenanceMode.php line 55
) {
return GeneralUtility::makeInstance(ErrorController::class)->unavailableAction($request, 'This page is temporarily unavailable.');
}
// Continue the regular stack if no maintenance mode is active
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\MaintenanceMode->process()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$75->handle()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/frontend/Classes/Middleware/SiteResolver.php line 65
$request = $request->withAttribute('routing', $routeResult);
if ($routeResult->getLanguage() instanceof SiteLanguage) {
Locales::setSystemLocaleFromSiteLanguage($routeResult->getLanguage());
}
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\SiteResolver->process()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$75->handle()
in /var/cg/vhosts/dev-riegg/typo3conf/ext/solr/Classes/Middleware/SolrRoutingMiddleware.php line 111
$site = $routeResult->getSite();
if ($site instanceof NullSite) {
return $handler->handle($request);
}
$this->language = $routeResult->getLanguage();
at ApacheSolrForTypo3\Solr\Middleware\SolrRoutingMiddleware->process()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$75->handle()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/frontend/Classes/Middleware/EidHandler.php line 64
{
$eID = $request->getParsedBody()['eID'] ?? $request->getQueryParams()['eID'] ?? null;
if ($eID === null) {
return $handler->handle($request);
}
// Remove any output produced until now
ob_clean();
at TYPO3\CMS\Frontend\Middleware\EidHandler->process()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$75->handle()
in /var/cg/vhosts/dev-riegg/typo3conf/ext/fal_securedownload/Classes/Middleware/EidFrontendAuthentication.php line 41
{
$eID = $request->getParsedBody()['eID'] ?? $request->getQueryParams()['eID'] ?? null;
if ($eID === null || !in_array($eID, ['dumpFile', 'FalSecuredownloadFileTreeState'])) {
return $handler->handle($request);
}
$GLOBALS['TYPO3_REQUEST'] = $request;
at BeechIt\FalSecuredownload\Middleware\EidFrontendAuthentication->process()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$75->handle()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Middleware/NormalizedParamsAttribute.php line 45
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$request = $request->withAttribute('normalizedParams', NormalizedParams::createFromRequest($request));
return $handler->handle($request);
}
}
at TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute->process()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$75->handle()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Middleware/VerifyHostHeader.php line 55
1396795884
);
}
return $handler->handle($request);
}
/**
* Checks if the provided host header value matches the trusted hosts pattern.
at TYPO3\CMS\Core\Middleware\VerifyHostHeader->process()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$75->handle()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/frontend/Classes/Middleware/TimeTrackerInitialization.php line 58
$this->timeTracker->setEnabled($timeTrackingEnabled);
$this->timeTracker->start(microtime(true));
$this->timeTracker->push('');
$response = $handler->handle($request);
// Finish time tracking
$this->timeTracker->pull();
$this->timeTracker->finish();
at TYPO3\CMS\Frontend\Middleware\TimeTrackerInitialization->process()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$75->handle()
in /var/cg/vhosts/dev-riegg/typo3conf/ext/staticfilecache/Classes/Middleware/FallbackMiddleware.php line 53
} catch (Exception $exception) {
// Not handled
}
return $handler->handle($request);
}
/**
* Handle the fallback.
at SFC\Staticfilecache\Middleware\FallbackMiddleware->process()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$75->handle()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 78
* @return ResponseInterface
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
return $this->tip->handle($request);
}
/**
* Seed the middleware stack with the inner request handler
at TYPO3\CMS\Core\Http\MiddlewareDispatcher->handle()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/AbstractApplication.php line 86
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
try {
$response = $this->requestHandler->handle($request);
} catch (ImmediateResponseException $exception) {
$response = $exception->getResponse();
}
return $response;
at TYPO3\CMS\Core\Http\AbstractApplication->handle()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/frontend/Classes/Http/Application.php line 69
// Create new request object having applicationType "I am a frontend request" attribute.
$request = $request->withAttribute('applicationType', SystemEnvironmentBuilder::REQUESTTYPE_FE);
$this->initializeContext();
return parent::handle($request);
}
/**
* Create a PSR-7 Response that redirects to the install tool
at TYPO3\CMS\Frontend\Http\Application->handle()
in /var/www/typo3/typo3_src-11.5.19/typo3/sysext/core/Classes/Http/AbstractApplication.php line 100
* @param callable $execute Deprecated, will be removed in TYPO3 v12.0
*/
final public function run(callable $execute = null)
{
$response = $this->handle(ServerRequestFactory::fromGlobals());
if ($execute !== null) {
trigger_error('Custom execution of Application code will be removed in TYPO3 v12.0, use PSR-15 Middlewares instead.', E_USER_DEPRECATED);
$execute();
}
at TYPO3\CMS\Core\Http\AbstractApplication->run()
in /var/www/typo3/typo3_src-11.5.19/index.php line 20
// Set up the application for the frontend
call_user_func(static function () {
$classLoader = require __DIR__.'/vendor/autoload.php';
\TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE);
\TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Frontend\Http\Application::class)->run();
});
at {closure}()
in /var/www/typo3/typo3_src-11.5.19/index.php line 21
call_user_func(static function () {
$classLoader = require __DIR__.'/vendor/autoload.php';
\TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE);
\TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Frontend\Http\Application::class)->run();
});