|
|
|
Whoops, looks like something went wrong.
|
|
(1/1) TYPO3Fluid\Fluid\Core\ViewHelper\Exception
|
|
|
|
Undeclared arguments passed to ViewHelper TYPO3\CMS\Fluid\ViewHelpers\Be\ContainerViewHelper: loadJQuery. Valid arguments are: pageTitle, includeCssFiles, includeJsFiles, addJsInlineLabels, includeRequireJsModules
|
|
in C:\inetpub\wwwroot\vendor\typo3fluid\fluid\src\Core\ViewHelper\AbstractViewHelper.php line 476
|
|
|
|
*/
|
|
public function validateAdditionalArguments(array $arguments)
|
|
{
|
|
if (!empty($arguments)) {
|
|
throw new Exception(
|
|
sprintf(
|
|
'Undeclared arguments passed to ViewHelper %s: %s. Valid arguments are: %s',
|
|
get_class($this),
|
|
implode(', ', array_keys($arguments)),
|
|
|
|
at TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper->validateAdditionalArguments(array('loadJQuery' => object(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\TextNode)))
|
|
in C:\inetpub\wwwroot\vendor\typo3fluid\fluid\src\Core\Parser\SyntaxTree\ViewHelperNode.php line 188
|
|
|
|
$additionalArguments[$argumentName] = $value;
|
|
}
|
|
}
|
|
$this->abortIfRequiredArgumentsAreMissing($argumentDefinitions, $argumentsObjectTree);
|
|
$this->uninitializedViewHelper->validateAdditionalArguments($additionalArguments);
|
|
}
|
|
|
|
/**
|
|
* Throw an exception if required arguments are missing
|
|
|
|
at TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ViewHelperNode->validateArguments(array('pageTitle' => object(TYPO3Fluid\Fluid\Core\ViewHelper\ArgumentDefinition), 'includeCssFiles' => object(TYPO3Fluid\Fluid\Core\ViewHelper\ArgumentDefinition), 'includeJsFiles' => object(TYPO3Fluid\Fluid\Core\ViewHelper\ArgumentDefinition), 'addJsInlineLabels' => object(TYPO3Fluid\Fluid\Core\ViewHelper\ArgumentDefinition), 'includeRequireJsModules' => object(TYPO3Fluid\Fluid\Core\ViewHelper\ArgumentDefinition)), array('loadJQuery' => object(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\TextNode), 'includeJsFiles' => object(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\RootNode)))
|
|
in C:\inetpub\wwwroot\vendor\typo3fluid\fluid\src\Core\Parser\SyntaxTree\ViewHelperNode.php line 66
|
|
|
|
// Note: RenderingContext required here though replaced later. See https://github.com/TYPO3Fluid/Fluid/pull/93
|
|
$this->uninitializedViewHelper->setRenderingContext($renderingContext);
|
|
$this->argumentDefinitions = $resolver->getArgumentDefinitionsForViewHelper($this->uninitializedViewHelper);
|
|
$this->rewriteBooleanNodesInArgumentsObjectTree($this->argumentDefinitions, $this->arguments);
|
|
$this->validateArguments($this->argumentDefinitions, $this->arguments);
|
|
}
|
|
|
|
/**
|
|
* @return ArgumentDefinition[]
|
|
|
|
at TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ViewHelperNode->__construct(object(TYPO3\CMS\Fluid\Core\Rendering\RenderingContext), 'f', 'be.container', array('loadJQuery' => object(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\TextNode), 'includeJsFiles' => object(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\RootNode)), object(TYPO3Fluid\Fluid\Core\Parser\ParsingState))
|
|
in C:\inetpub\wwwroot\vendor\typo3fluid\fluid\src\Core\Parser\TemplateParser.php line 366
|
|
|
|
throw new UnknownNamespaceException('Unknown Namespace: ' . $namespaceIdentifier);
|
|
}
|
|
try {
|
|
$currentViewHelperNode = new ViewHelperNode(
|
|
$this->renderingContext,
|
|
$namespaceIdentifier,
|
|
$methodIdentifier,
|
|
$argumentsObjectTree,
|
|
$state
|
|
|
|
at TYPO3Fluid\Fluid\Core\Parser\TemplateParser->initializeViewHelperAndAddItToStack(object(TYPO3Fluid\Fluid\Core\Parser\ParsingState), 'f', 'be.container', array('loadJQuery' => object(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\TextNode), 'includeJsFiles' => object(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\RootNode)))
|
|
in C:\inetpub\wwwroot\vendor\typo3fluid\fluid\src\Core\Parser\TemplateParser.php line 328
|
|
|
|
$viewHelperNode = $this->initializeViewHelperAndAddItToStack(
|
|
$state,
|
|
$namespaceIdentifier,
|
|
$methodIdentifier,
|
|
$this->parseArguments($arguments)
|
|
);
|
|
|
|
if ($viewHelperNode) {
|
|
$viewHelperNode->setPointerTemplateCode($templateElement);
|
|
|
|
at TYPO3Fluid\Fluid\Core\Parser\TemplateParser->openingViewHelperTagHandler(object(TYPO3Fluid\Fluid\Core\Parser\ParsingState), 'f', 'be.container', ' loadJQuery="true" includeJsFiles="{0: \'{f:uri.resource(path:\\\'Public/JavaScript/recipes.js\\\')}\'}"', false, '<f:be.container loadJQuery="true" includeJsFiles="{0: \'{f:uri.resource(path:\\\'Public/JavaScript/recipes.js\\\')}\'}">')
|
|
in C:\inetpub\wwwroot\vendor\typo3fluid\fluid\src\Core\Parser\TemplateParser.php line 282
|
|
|
|
$matchedVariables = [];
|
|
|
|
if (preg_match(Patterns::$SCAN_PATTERN_TEMPLATE_VIEWHELPERTAG, $templateElement, $matchedVariables) > 0) {
|
|
if ($this->openingViewHelperTagHandler(
|
|
$state,
|
|
$matchedVariables['NamespaceIdentifier'],
|
|
$matchedVariables['MethodIdentifier'],
|
|
$matchedVariables['Attributes'],
|
|
($matchedVariables['Selfclosing'] === '' ? false : true),
|
|
|
|
at TYPO3Fluid\Fluid\Core\Parser\TemplateParser->buildObjectTree(array(' <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" type="text/css" href="/typo3conf/ext/hgarecipes/Resources/Public/Css/recipes.css" media="all" /><script type="text/javascript" src="/typo3conf/ext/hgarecipes/Resources/Public/JavaScript/recipes.js"></script><script type="text/javascript">$(document).ready(function(){ alert("test");)};</script><!-- <script type="text/javascript">$(document).ready(function(){ $(\'.t3js-editform-delete-inline-record\').on(\'click\', function(){ document.getElementById("text").value = "text1"; alert(\'delete\'); });});</script> --> ', '<f:be.container loadJQuery="true" includeJsFiles="{0: \'{f:uri.resource(path:\\\'Public/JavaScript/recipes.js\\\')}\'}">', ' <div class="typo3-fullDoc"> <div id="typo3-docheader"> <div class="typo3-docheader-functions"> <div class="left"> ', '<f:be.buttons.csh />', ' ', '<f:be.menus.actionMenu>', ' ', '<f:be.menus.actionMenuItem label="Overview" controller="" action="list" />', ' ', '<f:be.menus.actionMenuItem label="Create new Recipe" action="new" controller="Recipe" />', ' ', '<f:be.menus.actionMenuItem label="Edit Recipe" action="edit" controller="Recipe" />', ' ', '<f:be.menus.actionMenuItem label="List Recipe" action="list" controller="Recipe" />', ' ', '</f:be.menus.actionMenu>', ' <div class="middle"> </div> </div> <div class="right"> ', '<f:be.pagePath />', ' ', '<f:be.pageInfo />', ' </div> </div> <div class="typo3-docheader-buttons"> <div class="left"> <a href="#" id="saveEdit" class="btn btn-default "> <span class="t3js-icon icon icon-size-small icon-state-default icon-actions-edit-delete" > <span class="icon-markup"> <img src="/typo3/sysext/core/Resources/Public/Icons/T3Icons/actions/actions-document-save.svg" width="16" height="16" /> </span> </span>save </a> </div> <div class="right"> ', '<f:be.buttons.shortcut />', ' </div> </div> </div> <div id="typo3-docbody"> <div id="typo3-inner-docbody"> ', '<f:flashMessages />', ' ', '<f:render section="content" />', ' </div> </div> </div> ', '</f:be.container>', ''), 2)
|
|
in C:\inetpub\wwwroot\vendor\typo3fluid\fluid\src\Core\Parser\TemplateParser.php line 141
|
|
|
|
|
|
$templateString = $this->preProcessTemplateSource($templateString);
|
|
|
|
$splitTemplate = $this->splitTemplateAtDynamicTags($templateString);
|
|
$parsingState = $this->buildObjectTree($splitTemplate, self::CONTEXT_OUTSIDE_VIEWHELPER_ARGUMENTS);
|
|
} catch (Exception $error) {
|
|
throw $this->createParsingRelatedExceptionWithContext($error, $templateIdentifier);
|
|
}
|
|
$this->parsedTemplates[$templateIdentifier] = $parsingState;
|
|
|
|
at TYPO3Fluid\Fluid\Core\Parser\TemplateParser->parse(' <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" type="text/css" href="/typo3conf/ext/hgarecipes/Resources/Public/Css/recipes.css" media="all" /><script type="text/javascript" src="/typo3conf/ext/hgarecipes/Resources/Public/JavaScript/recipes.js"></script><script type="text/javascript">$(document).ready(function(){ alert("test");)};</script><!-- <script type="text/javascript">$(document).ready(function(){ $(\'.t3js-editform-delete-inline-record\').on(\'click\', function(){ document.getElementById("text").value = "text1"; alert(\'delete\'); });});</script> --> <f:be.container loadJQuery="true" includeJsFiles="{0: \'{f:uri.resource(path:\\\'Public/JavaScript/recipes.js\\\')}\'}"> <div class="typo3-fullDoc"> <div id="typo3-docheader"> <div class="typo3-docheader-functions"> <div class="left"> <f:be.buttons.csh /> <f:be.menus.actionMenu> <f:be.menus.actionMenuItem label="Overview" controller="" action="list" /> <f:be.menus.actionMenuItem label="Create new Recipe" action="new" controller="Recipe" /> <f:be.menus.actionMenuItem label="Edit Recipe" action="edit" controller="Recipe" /> <f:be.menus.actionMenuItem label="List Recipe" action="list" controller="Recipe" /> </f:be.menus.actionMenu> <div class="middle"> </div> </div> <div class="right"> <f:be.pagePath /> <f:be.pageInfo /> </div> </div> <div class="typo3-docheader-buttons"> <div class="left"> <a href="#" id="saveEdit" class="btn btn-default "> <span class="t3js-icon icon icon-size-small icon-state-default icon-actions-edit-delete" > <span class="icon-markup"> <img src="/typo3/sysext/core/Resources/Public/Icons/T3Icons/actions/actions-document-save.svg" width="16" height="16" /> </span> </span>save </a> </div> <div class="right"> <f:be.buttons.shortcut /> </div> </div> </div> <div id="typo3-docbody"> <div id="typo3-inner-docbody"> <f:flashMessages /> <f:render section="content" /> </div> </div> </div> </f:be.container>', 'layout_Default_html_36de30bd6ceae830eef6112c8bd15460d40e7489')
|
|
in C:\inetpub\wwwroot\vendor\typo3fluid\fluid\src\Core\Parser\TemplateParser.php line 209
|
|
|
|
*/
|
|
protected function parseTemplateSource($templateIdentifier, $templateSourceClosure)
|
|
{
|
|
$parsedTemplate = $this->parse(
|
|
$templateSourceClosure($this, $this->renderingContext->getTemplatePaths()),
|
|
$templateIdentifier
|
|
);
|
|
$parsedTemplate->setIdentifier($templateIdentifier);
|
|
$this->parsedTemplates[$templateIdentifier] = $parsedTemplate;
|
|
|
|
at TYPO3Fluid\Fluid\Core\Parser\TemplateParser->parseTemplateSource('layout_Default_html_36de30bd6ceae830eef6112c8bd15460d40e7489', object(Closure))
|
|
in C:\inetpub\wwwroot\vendor\typo3fluid\fluid\src\Core\Parser\TemplateParser.php line 189
|
|
|
|
if ($parsedTemplate instanceof UncompilableTemplateInterface) {
|
|
$parsedTemplate = $this->parseTemplateSource($templateIdentifier, $templateSourceClosure);
|
|
}
|
|
} else {
|
|
$parsedTemplate = $this->parseTemplateSource($templateIdentifier, $templateSourceClosure);
|
|
try {
|
|
$compiler->store($templateIdentifier, $parsedTemplate);
|
|
} catch (StopCompilingException $stop) {
|
|
$this->renderingContext->getErrorHandler()->handleCompilerError($stop);
|
|
|
|
at TYPO3Fluid\Fluid\Core\Parser\TemplateParser->getOrParseAndStoreTemplate('layout_Default_html_36de30bd6ceae830eef6112c8bd15460d40e7489', object(Closure))
|
|
in C:\inetpub\wwwroot\vendor\typo3fluid\fluid\src\View\AbstractTemplateView.php line 195
|
|
|
|
$parsedLayout = $templateParser->getOrParseAndStoreTemplate(
|
|
$templatePaths->getLayoutIdentifier($layoutName),
|
|
function($parent, TemplatePaths $paths) use ($layoutName) {
|
|
return $paths->getLayoutSource($layoutName);
|
|
}
|
|
);
|
|
} catch (PassthroughSourceException $error) {
|
|
return $error->getSource();
|
|
}
|
|
|
|
at TYPO3Fluid\Fluid\View\AbstractTemplateView->render()
|
|
in C:\inetpub\wwwroot\typo3\sysext\extbase\Classes\Mvc\Controller\ActionController.php line 324
|
|
|
|
$actionResult = $this->{$this->errorMethodName}();
|
|
}
|
|
|
|
if ($actionResult === null && $this->view instanceof ViewInterface) {
|
|
$this->response->appendContent($this->view->render());
|
|
} elseif (is_string($actionResult) && $actionResult !== '') {
|
|
$this->response->appendContent($actionResult);
|
|
} elseif (is_object($actionResult) && method_exists($actionResult, '__toString')) {
|
|
$this->response->appendContent((string)$actionResult);
|
|
|
|
at TYPO3\CMS\Extbase\Mvc\Controller\ActionController->callActionMethod()
|
|
in C:\inetpub\wwwroot\typo3\sysext\extbase\Classes\Mvc\Controller\ActionController.php line 167
|
|
|
|
$this->view = $this->resolveView();
|
|
if ($this->view !== null) {
|
|
$this->initializeView($this->view);
|
|
}
|
|
$this->callActionMethod();
|
|
$this->renderAssetsForRequest($request);
|
|
}
|
|
|
|
/**
|
|
|
|
at TYPO3\CMS\Extbase\Mvc\Controller\ActionController->processRequest(object(TYPO3\CMS\Extbase\Mvc\Web\Request), object(TYPO3\CMS\Extbase\Mvc\Web\Response))
|
|
in C:\inetpub\wwwroot\typo3\sysext\extbase\Classes\Mvc\Dispatcher.php line 73
|
|
|
|
throw new \TYPO3\CMS\Extbase\Mvc\Exception\InfiniteLoopException('Could not ultimately dispatch the request after ' . $dispatchLoopCount . ' iterations. Most probably, a @' . \TYPO3\CMS\Extbase\Annotation\IgnoreValidation::class . ' annotation is missing on re-displaying a form with validation errors.', 1217839467);
|
|
}
|
|
$controller = $this->resolveController($request);
|
|
try {
|
|
$controller->processRequest($request, $response);
|
|
} catch (\TYPO3\CMS\Extbase\Mvc\Exception\StopActionException $ignoredException) {
|
|
}
|
|
}
|
|
$this->emitAfterRequestDispatchSignal($request, $response);
|
|
|
|
at TYPO3\CMS\Extbase\Mvc\Dispatcher->dispatch(object(TYPO3\CMS\Extbase\Mvc\Web\Request), object(TYPO3\CMS\Extbase\Mvc\Web\Response))
|
|
in C:\inetpub\wwwroot\typo3\sysext\extbase\Classes\Mvc\Web\BackendRequestHandler.php line 35
|
|
|
|
{
|
|
$request = $this->requestBuilder->build();
|
|
/** @var \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response */
|
|
$response = $this->objectManager->get(\TYPO3\CMS\Extbase\Mvc\Web\Response::class);
|
|
$this->dispatcher->dispatch($request, $response);
|
|
return $response;
|
|
}
|
|
|
|
/**
|
|
|
|
at TYPO3\CMS\Extbase\Mvc\Web\BackendRequestHandler->handleRequest()
|
|
in C:\inetpub\wwwroot\typo3\sysext\extbase\Classes\Core\Bootstrap.php line 217
|
|
|
|
/** @var \TYPO3\CMS\Extbase\Mvc\RequestHandlerResolver $requestHandlerResolver */
|
|
$requestHandlerResolver = $this->objectManager->get(\TYPO3\CMS\Extbase\Mvc\RequestHandlerResolver::class);
|
|
$requestHandler = $requestHandlerResolver->resolveRequestHandler();
|
|
/** @var WebResponse $extbaseResponse */
|
|
$extbaseResponse = $requestHandler->handleRequest();
|
|
|
|
// Convert to PSR-7 response and hand it back to TYPO3 Core
|
|
$response = $this->convertExtbaseResponseToPsr7Response($extbaseResponse);
|
|
$this->resetSingletons();
|
|
|
|
at TYPO3\CMS\Extbase\Core\Bootstrap->handleBackendRequest(object(TYPO3\CMS\Core\Http\ServerRequest))
|
|
at call_user_func_array(array(object(TYPO3\CMS\Extbase\Core\Bootstrap), 'handleBackendRequest'), array(object(TYPO3\CMS\Core\Http\ServerRequest)))
|
|
in C:\inetpub\wwwroot\typo3\sysext\backend\Classes\Http\RouteDispatcher.php line 93
|
|
|
|
$arguments[] = $response;
|
|
}
|
|
}
|
|
|
|
return call_user_func_array($target, $arguments);
|
|
}
|
|
|
|
/**
|
|
* Wrapper method for static form protection utility
|
|
|
|
at TYPO3\CMS\Backend\Http\RouteDispatcher->dispatch(object(TYPO3\CMS\Core\Http\ServerRequest), object(TYPO3\CMS\Core\Http\Response))
|
|
in C:\inetpub\wwwroot\typo3\sysext\backend\Classes\Http\RequestHandler.php line 73
|
|
|
|
}
|
|
try {
|
|
// Check if the router has the available route and dispatch.
|
|
$dispatcher = GeneralUtility::makeInstance(RouteDispatcher::class);
|
|
return $dispatcher->dispatch($request, $response);
|
|
} catch (InvalidRequestTokenException $e) {
|
|
// When token was invalid redirect to login
|
|
$url = GeneralUtility::getIndpEnv('TYPO3_SITE_URL') . TYPO3_mainDir;
|
|
return new RedirectResponse($url);
|
|
|
|
at TYPO3\CMS\Backend\Http\RequestHandler->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
|
|
in C:\inetpub\wwwroot\typo3\sysext\backend\Classes\Middleware\SiteResolver.php line 59
|
|
|
|
$site = GeneralUtility::makeInstance(SiteMatcher::class)->matchByPageId($pageId, $rootLine);
|
|
$request = $request->withAttribute('site', $site);
|
|
$GLOBALS['TYPO3_REQUEST'] = $request;
|
|
}
|
|
return $handler->handle($request);
|
|
}
|
|
}
|
|
|
|
at TYPO3\CMS\Backend\Middleware\SiteResolver->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(TYPO3\CMS\Backend\Http\RequestHandler))
|
|
in C:\inetpub\wwwroot\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@anonymousC:\inetpub\wwwroot\typo3\sysext\core\Classes\Http\MiddlewareDispatcher.php:121$3abe->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
|
|
in C:\inetpub\wwwroot\typo3\sysext\backend\Classes\Middleware\AdditionalResponseHeaders.php line 39
|
|
|
|
* @return ResponseInterface
|
|
*/
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
$response = $handler->handle($request);
|
|
foreach ($GLOBALS['TYPO3_CONF_VARS']['BE']['HTTP']['Response']['Headers'] ?? [] as $header) {
|
|
[$headerName, $value] = explode(':', $header, 2);
|
|
$response = $response->withAddedHeader($headerName, trim($value));
|
|
}
|
|
|
|
at TYPO3\CMS\Backend\Middleware\AdditionalResponseHeaders->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymousC:\inetpub\wwwroot\typo3\sysext\core\Classes\Http\MiddlewareDispatcher.php:121$3abe))
|
|
in C:\inetpub\wwwroot\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@anonymousC:\inetpub\wwwroot\typo3\sysext\core\Classes\Http\MiddlewareDispatcher.php:121$3abe->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
|
|
in C:\inetpub\wwwroot\typo3\sysext\backend\Classes\Middleware\OutputCompression.php line 45
|
|
|
|
ob_clean();
|
|
// Initialize output compression if configured
|
|
$this->initializeOutputCompression();
|
|
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
/**
|
|
* Initialize output compression if configured
|
|
|
|
at TYPO3\CMS\Backend\Middleware\OutputCompression->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymousC:\inetpub\wwwroot\typo3\sysext\core\Classes\Http\MiddlewareDispatcher.php:121$3abe))
|
|
in C:\inetpub\wwwroot\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@anonymousC:\inetpub\wwwroot\typo3\sysext\core\Classes\Http\MiddlewareDispatcher.php:121$3abe->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
|
|
in C:\inetpub\wwwroot\typo3\sysext\backend\Classes\Middleware\LegacyBackendTemplateInitialization.php line 42
|
|
|
|
*/
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
$GLOBALS['TBE_TEMPLATE'] = GeneralUtility::makeInstance(DocumentTemplate::class);
|
|
return $handler->handle($request);
|
|
}
|
|
}
|
|
|
|
at TYPO3\CMS\Backend\Middleware\LegacyBackendTemplateInitialization->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymousC:\inetpub\wwwroot\typo3\sysext\core\Classes\Http\MiddlewareDispatcher.php:121$3abe))
|
|
in C:\inetpub\wwwroot\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@anonymousC:\inetpub\wwwroot\typo3\sysext\core\Classes\Http\MiddlewareDispatcher.php:121$3abe->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
|
|
in C:\inetpub\wwwroot\typo3\sysext\backend\Classes\Middleware\BackendUserAuthenticator.php line 70
|
|
|
|
Bootstrap::initializeLanguageObject();
|
|
// Register the backend user as aspect
|
|
$this->setBackendUserAspect(GeneralUtility::makeInstance(Context::class), $GLOBALS['BE_USER']);
|
|
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
/**
|
|
* Check if the user is required for the request
|
|
|
|
at TYPO3\CMS\Backend\Middleware\BackendUserAuthenticator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymousC:\inetpub\wwwroot\typo3\sysext\core\Classes\Http\MiddlewareDispatcher.php:121$3abe))
|
|
in C:\inetpub\wwwroot\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@anonymousC:\inetpub\wwwroot\typo3\sysext\core\Classes\Http\MiddlewareDispatcher.php:121$3abe->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
|
|
in C:\inetpub\wwwroot\typo3\sysext\backend\Classes\Middleware\BackendRouteInitialization.php line 73
|
|
|
|
|
|
// Add the route path to the request
|
|
$request = $request->withAttribute('routePath', $pathToRoute);
|
|
|
|
return $handler->handle($request);
|
|
}
|
|
}
|
|
|
|
at TYPO3\CMS\Backend\Middleware\BackendRouteInitialization->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymousC:\inetpub\wwwroot\typo3\sysext\core\Classes\Http\MiddlewareDispatcher.php:121$3abe))
|
|
in C:\inetpub\wwwroot\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@anonymousC:\inetpub\wwwroot\typo3\sysext\core\Classes\Http\MiddlewareDispatcher.php:121$3abe->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
|
|
in C:\inetpub\wwwroot\typo3\sysext\backend\Classes\Middleware\ForcedHttpsBackendRedirector.php line 53
|
|
|
|
list($server, $address) = explode('/', $url, 2);
|
|
return new RedirectResponse('https://' . $server . $sslPortSuffix . '/' . $address);
|
|
}
|
|
|
|
return $handler->handle($request);
|
|
}
|
|
}
|
|
|
|
at TYPO3\CMS\Backend\Middleware\ForcedHttpsBackendRedirector->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymousC:\inetpub\wwwroot\typo3\sysext\core\Classes\Http\MiddlewareDispatcher.php:121$3abe))
|
|
in C:\inetpub\wwwroot\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@anonymousC:\inetpub\wwwroot\typo3\sysext\core\Classes\Http\MiddlewareDispatcher.php:121$3abe->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
|
|
in C:\inetpub\wwwroot\typo3\sysext\backend\Classes\Middleware\LockedBackendGuard.php line 71
|
|
|
|
$request->getAttribute('normalizedParams')->getRemoteAddress(),
|
|
trim((string)$GLOBALS['TYPO3_CONF_VARS']['BE']['IPmaskList'])
|
|
);
|
|
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
/**
|
|
* Check adminOnly configuration variable and redirects to an URL in file typo3conf/LOCK_BACKEND
|
|
|
|
at TYPO3\CMS\Backend\Middleware\LockedBackendGuard->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymousC:\inetpub\wwwroot\typo3\sysext\core\Classes\Http\MiddlewareDispatcher.php:121$3abe))
|
|
in C:\inetpub\wwwroot\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@anonymousC:\inetpub\wwwroot\typo3\sysext\core\Classes\Http\MiddlewareDispatcher.php:121$3abe->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
|
|
in C:\inetpub\wwwroot\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@anonymousC:\inetpub\wwwroot\typo3\sysext\core\Classes\Http\MiddlewareDispatcher.php:121$3abe))
|
|
in C:\inetpub\wwwroot\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@anonymousC:\inetpub\wwwroot\typo3\sysext\core\Classes\Http\MiddlewareDispatcher.php:121$3abe->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
|
|
in C:\inetpub\wwwroot\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 C:\inetpub\wwwroot\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 C:\inetpub\wwwroot\typo3\sysext\backend\Classes\Http\Application.php line 68
|
|
|
|
return $this->installToolRedirect();
|
|
}
|
|
// Set up the initial context
|
|
$this->initializeContext();
|
|
return parent::handle($request);
|
|
}
|
|
|
|
/**
|
|
* Check if LocalConfiguration.php and PackageStates.php exist
|
|
|
|
at TYPO3\CMS\Backend\Http\Application->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
|
|
in C:\inetpub\wwwroot\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 C:\inetpub\wwwroot\typo3\index.php line 24
|
|
|
|
// Set up the application for the backend
|
|
call_user_func(function () {
|
|
$classLoader = require dirname(__DIR__).'/vendor/autoload.php';
|
|
\TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(1, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_BE);
|
|
\TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Backend\Http\Application::class)->run();
|
|
});
|
|
|
|
at {closure}()
|
|
in C:\inetpub\wwwroot\typo3\index.php line 25
|
|
|
|
call_user_func(function () {
|
|
$classLoader = require dirname(__DIR__).'/vendor/autoload.php';
|
|
\TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(1, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_BE);
|
|
\TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Backend\Http\Application::class)->run();
|
|
});
|
|
|