in /srv/www/scngmbh/typo3_src-11.5.36/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 51
public function convertException($message, DeprecatedDriverException $exception)
{
switch ($exception->getErrorCode()) {
case '1213':
return new DeadlockException($message, $exception);
case '1205':
return new LockWaitTimeoutException($message, $exception);
at Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException()
in /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 159
}
$msg .= ":\n\n" . $driverEx->getMessage();
return self::wrapException($driver, $driverEx, $msg);
}
/**
* @deprecated
at Doctrine\DBAL\DBALException::driverExceptionDuringQuery()
in /srv/www/scngmbh/typo3_src-11.5.36/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 2226
Exception::driverExceptionDuringQuery(
$this->_driver,
$e,
$sql,
$this->resolveParams($params, $types)
)
);
}
at Doctrine\DBAL\Connection->handleExceptionDuringQuery()
in /srv/www/scngmbh/typo3_src-11.5.36/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 1538
$result = $connection->exec($sql);
}
} catch (Throwable $e) {
$this->handleExceptionDuringQuery(
$e,
$sql,
$params,
$types
);
at Doctrine\DBAL\Connection->executeStatement()
in /srv/www/scngmbh/typo3_src-11.5.36/vendor/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php line 216
$this->connection->executeQuery($this->getSQL(), $this->params, $this->paramTypes)
);
}
return $this->connection->executeStatement($this->getSQL(), $this->params, $this->paramTypes);
}
/**
* Gets the complete SQL string formed by the current specifications of this QueryBuilder.
at Doctrine\DBAL\Query\QueryBuilder->execute()
in /srv/www/scngmbh/typo3_src-11.5.36/typo3/sysext/core/Classes/Database/Query/QueryBuilder.php line 329
public function executeStatement(): int
{
// @todo Call $this->concreteQueryBuilder->executeStatement()
// directly with doctrine/dbal:^3.2 raise in v12.
return $this->concreteQueryBuilder->execute();
}
/**
* Gets the complete SQL string formed by the current specifications of this QueryBuilder.
at TYPO3\CMS\Core\Database\Query\QueryBuilder->executeStatement()
in /srv/www/scngmbh/typo3_src-11.5.36/typo3/sysext/core/Classes/Session/Backend/DatabaseSessionBackend.php line 215
$query = $this->getQueryBuilder();
$query->delete($this->configuration['table'])
->where($query->expr()->lt('ses_tstamp', (int)($GLOBALS['EXEC_TIME'] - (int)$maximumAnonymousLifetime)))
->andWhere($query->expr()->eq('ses_userid', 0));
$query->executeStatement();
}
}
/**
at TYPO3\CMS\Core\Session\Backend\DatabaseSessionBackend->collectGarbage()
in /srv/www/scngmbh/typo3_src-11.5.36/typo3/sysext/core/Classes/Session/UserSessionManager.php line 288
// If we're lucky we'll get to clean up old sessions
if (random_int(0, mt_getrandmax()) % 100 <= $garbageCollectionProbability) {
$this->sessionBackend->collectGarbage(
$this->sessionLifetime > 0 ? $this->sessionLifetime : self::GARBAGE_COLLECTION_LIFETIME,
$this->garbageCollectionForAnonymousSessions
);
}
}
at TYPO3\CMS\Core\Session\UserSessionManager->collectGarbage()
in /srv/www/scngmbh/typo3_src-11.5.36/typo3/sysext/frontend/Classes/Middleware/FrontendUserAuthenticator.php line 117
* Garbage collection for fe_sessions (with a probability)
*/
protected function sessionGarbageCollection(): void
{
UserSessionManager::create('FE')->collectGarbage();
}
protected function ensureLoginRateLimit(FrontendUserAuthentication $user, ServerRequestInterface $request): ?LimiterInterface
{
at TYPO3\CMS\Frontend\Middleware\FrontendUserAuthenticator->sessionGarbageCollection()
in /srv/www/scngmbh/typo3_src-11.5.36/typo3/sysext/frontend/Classes/Middleware/FrontendUserAuthenticator.php line 105
$frontendUser->storeSessionData();
$response = $frontendUser->appendCookieToResponse($response);
// Collect garbage in Frontend requests, which aren't fully cacheable (e.g. with cookies)
if ($response->hasHeader('Set-Cookie')) {
$this->sessionGarbageCollection();
}
}
return $response;
at TYPO3\CMS\Frontend\Middleware\FrontendUserAuthenticator->process()
in /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$4a->handle()
in /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$4a->handle()
in /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$4a->handle()
in /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$4a->handle()
in /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$4a->handle()
in /srv/www/scngmbh/typo3conf/ext/zabbix_client/Classes/Middleware/ZabbixClient.php line 48
if (strpos($requestedUri->getPath(), '/zabbixclient/') === 0) {
return $this->processRequest($request);
}
return $handler->handle($request);
}
private function processRequest(ServerRequestInterface $request)
{
at WapplerSystems\ZabbixClient\Middleware\ZabbixClient->process()
in /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$4a->handle()
in /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$4a->handle()
in /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$4a->handle()
in /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$4a->handle()
in /srv/www/scngmbh/typo3conf/ext/staticfilecache/Classes/Middleware/FallbackMiddleware.php line 49
} catch (Exception $exception) {
// Not handled
}
return $handler->handle($request);
}
/**
* Handle the fallback.
at SFC\Staticfilecache\Middleware\FallbackMiddleware->process()
in /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$4a->handle()
in /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/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 /srv/www/scngmbh/typo3_src-11.5.36/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();
});