in /html/typo3/typo3_src-9.5.45/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php line 1598
$this->getPageAccessFailureReasons(PageAccessFailureReasons::PAGE_NOT_FOUND)
);
throw new ImmediateResponseException($response, 1533931330);
} catch (PageNotFoundException $e) {
throw new PageNotFoundException($message, 1301648780);
}
}
}
// Spacer is not accessible in frontend
at TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->getPageAndRootline()
in /html/typo3/typo3_src-9.5.45/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php line 1962
* @internal
*/
public function getPageAndRootlineWithDomain($domainStartPage)
{
$this->getPageAndRootline();
// Checks if the $domain-startpage is in the rootLine. This is necessary so that references to page-id's from other domains are not possible.
if ($domainStartPage && is_array($this->rootLine) && $this->rootLine !== []) {
$idFound = false;
foreach ($this->rootLine as $key => $val) {
at TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->getPageAndRootlineWithDomain(0)
in /html/typo3/typo3_src-9.5.45/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php line 1455
$timeTracker->push('fetch_the_id rootLine/');
// We store the originally requested id
$this->requestedId = $this->id;
try {
$this->getPageAndRootlineWithDomain($this->domainStartPage);
} catch (ShortcutTargetPageNotFoundException $e) {
$this->pageNotFound = 1;
}
$timeTracker->pull();
at TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->fetch_the_id()
in /html/typo3/typo3_src-9.5.45/typo3/sysext/redirects/Classes/Service/RedirectService.php line 301
$site ? $site->getRootPageId() : $GLOBALS['TSFE']->id,
0
);
$controller->fe_user = $GLOBALS['TSFE']->fe_user ?? null;
$controller->fetch_the_id();
$controller->calculateLinkVars($queryParams);
$controller->getConfigArray();
$controller->settingLanguage();
$controller->settingLocale();
at TYPO3\CMS\Redirects\Service\RedirectService->bootFrontendController(object(TYPO3\CMS\Core\Site\Entity\Site), array('tx_news_pi1' => array('overwriteDemand' => array('categories' => '28')), 'cHash' => '0cf1c3cb4c2492bbbdc2ba9d4121cfa0'))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/redirects/Classes/Service/RedirectService.php line 243
{
if (!isset($linkDetails['type'], $GLOBALS['TYPO3_CONF_VARS']['FE']['typolinkBuilder'][$linkDetails['type']])) {
return null;
}
$controller = $this->bootFrontendController($site, $queryParams);
/** @var AbstractTypolinkBuilder $linkBuilder */
$linkBuilder = GeneralUtility::makeInstance(
$GLOBALS['TYPO3_CONF_VARS']['FE']['typolinkBuilder'][$linkDetails['type']],
$controller->cObj,
at TYPO3\CMS\Redirects\Service\RedirectService->getUriFromCustomLinkDetails(array('uid' => 296, 'pid' => 0, 'updatedon' => 1674800367, 'createdon' => 1674799680, 'createdby' => 3, 'deleted' => 0, 'disabled' => 0, 'starttime' => 0, 'endtime' => 0, 'source_host' => 'blog.ferienregion-nationalpark.de', 'source_path' => '#^/blog/([a-zA-Z0-9_/-]+)#', 'is_regexp' => 1, 'force_https' => 1, 'respect_query_parameters' => 0, 'keep_query_parameters' => 0, 'target' => 't3://page?uid=199', 'target_statuscode' => 301, 'hitcount' => 0, 'lasthiton' => 0, 'disable_hitcount' => 0), object(TYPO3\CMS\Core\Site\Entity\Site), array('pageuid' => '199', 'type' => 'page'), array('tx_news_pi1' => array('overwriteDemand' => array('categories' => '28')), 'cHash' => '0cf1c3cb4c2492bbbdc2ba9d4121cfa0'))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/redirects/Classes/Service/RedirectService.php line 203
}
return $url;
}
// If it's a record or page, then boot up TSFE and use typolink
return $this->getUriFromCustomLinkDetails($matchedRedirect, $site, $linkDetails, $queryParams);
}
/**
* Adds query parameters to a Uri object
at TYPO3\CMS\Redirects\Service\RedirectService->getTargetUrl(array('uid' => 296, 'pid' => 0, 'updatedon' => 1674800367, 'createdon' => 1674799680, 'createdby' => 3, 'deleted' => 0, 'disabled' => 0, 'starttime' => 0, 'endtime' => 0, 'source_host' => 'blog.ferienregion-nationalpark.de', 'source_path' => '#^/blog/([a-zA-Z0-9_/-]+)#', 'is_regexp' => 1, 'force_https' => 1, 'respect_query_parameters' => 0, 'keep_query_parameters' => 0, 'target' => 't3://page?uid=199', 'target_statuscode' => 301, 'hitcount' => 0, 'lasthiton' => 0, 'disable_hitcount' => 0), array('tx_news_pi1' => array('overwriteDemand' => array('categories' => '28')), 'cHash' => '0cf1c3cb4c2492bbbdc2ba9d4121cfa0'), object(TYPO3\CMS\Core\Http\Uri), object(TYPO3\CMS\Core\Site\Entity\Site))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/redirects/Classes/Http/Middleware/RedirectHandler.php line 60
);
// If the matched redirect is found, resolve it, and check further
if (is_array($matchedRedirect)) {
$url = $redirectService->getTargetUrl($matchedRedirect, $request->getQueryParams(), $request->getUri(), $request->getAttribute('site', null));
if ($url instanceof UriInterface) {
$this->logger->debug('Redirecting', ['record' => $matchedRedirect, 'uri' => $url]);
$response = $this->buildRedirectResponse($url, $matchedRedirect);
$this->incrementHitCount($matchedRedirect);
at TYPO3\CMS\Redirects\Http\Middleware\RedirectHandler->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/frontend/Classes/Middleware/StaticRouteResolver.php line 62
return new HtmlResponse($content, 200, ['Content-Type' => $contentType]);
}
}
return $handler->handle($request);
}
/**
* Find the proper configuration for the static route in the static route configuration. Mainly:
at TYPO3\CMS\Frontend\Middleware\StaticRouteResolver->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/frontend/Classes/Middleware/SiteBaseRedirectResolver.php line 86
$uri = $requestedUri->withPath(rtrim($requestedUri->getPath(), '/'));
return new RedirectResponse($uri, 307);
}
}
return $handler->handle($request);
}
/**
* Checks if the language is allowed in Frontend, if not, check if there is valid BE user
*
at TYPO3\CMS\Frontend\Middleware\SiteBaseRedirectResolver->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/frontend/Classes/Middleware/SiteResolver.php line 68
// At this point, we later get further route modifiers
// for bw-compat we update $GLOBALS[TYPO3_REQUEST] to be used later in TSFE.
$GLOBALS['TYPO3_REQUEST'] = $request;
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\SiteResolver->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/frontend/Classes/Middleware/BackendUserAuthenticator.php line 95
Bootstrap::loadExtTables();
$this->setBackendUserAspect(GeneralUtility::makeInstance(Context::class), $GLOBALS['BE_USER']);
}
return $handler->handle($request);
}
/**
* Creates the backend user object and returns it.
at TYPO3\CMS\Frontend\Middleware\BackendUserAuthenticator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/frontend/Classes/Middleware/FrontendUserAuthenticator.php line 85
// Register the frontend user as aspect
$this->setFrontendUserAspect(GeneralUtility::makeInstance(Context::class), $frontendUser);
return $handler->handle($request);
}
/**
* It's possible to transfer a frontend user session via a GET/POST parameter 'FE_SESSION_KEY'.
at TYPO3\CMS\Frontend\Middleware\FrontendUserAuthenticator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/frontend/Classes/Middleware/TypoScriptFrontendInitialization.php line 90
GeneralUtility::callUserFunction($_funcRef, $_params, $GLOBALS['TSFE']);
}
}
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/frontend/Classes/Middleware/EidHandler.php line 50
{
$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(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/frontend/Classes/Middleware/PreprocessRequestHook.php line 57
$hookParameters = [];
GeneralUtility::callUserFunction($hookFunction, $hookParameters, $hookParameters);
}
}
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\PreprocessRequestHook->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Middleware/NormalizedParamsAttribute.php line 58
// refactored to have ServerRequest object available where it is needed. This global will be
// deprecated then and removed.
$GLOBALS['TYPO3_REQUEST'] = $request;
return $handler->handle($request);
}
}
at TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/frontend/Classes/Middleware/TimeTrackerInitialization.php line 49
);
$timeTracker->start();
$timeTracker->push('');
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\TimeTrackerInitialization->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:121$177->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 67
* @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(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/AbstractApplication.php line 108
{
$requestHandler = GeneralUtility::makeInstance($this->requestHandler);
$dispatcher = $this->createMiddlewareDispatcher($requestHandler);
return $dispatcher->handle($request);
}
/**
* Set up the application and shut it down afterwards
at TYPO3\CMS\Core\Http\AbstractApplication->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/frontend/Classes/Http/Application.php line 69
if (!$this->checkIfEssentialConfigurationExists()) {
return $this->installToolRedirect();
}
$this->initializeContext();
return parent::handle($request);
}
/**
* Check if LocalConfiguration.php and PackageStates.php exist
at TYPO3\CMS\Frontend\Http\Application->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/typo3_src-9.5.45/typo3/sysext/core/Classes/Http/AbstractApplication.php line 120
final public function run(callable $execute = null)
{
try {
$response = $this->handle(
\TYPO3\CMS\Core\Http\ServerRequestFactory::fromGlobals()
);
if ($execute !== null) {
call_user_func($execute);
}
at TYPO3\CMS\Core\Http\AbstractApplication->run()
in /html/typo3/typo3_src-9.5.45/index.php line 24
// Set up the application for the frontend
call_user_func(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 /html/typo3/typo3_src-9.5.45/index.php line 25
call_user_func(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();
});