Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSFE initialisation fails #63

Open
askabaria opened this issue Jun 13, 2018 · 0 comments
Open

TSFE initialisation fails #63

askabaria opened this issue Jun 13, 2018 · 0 comments
Milestone

Comments

@askabaria
Copy link
Contributor

When using relative or t3:// links as target an Exception is thrown.
Extension: 3.4.1
Typo3: 8.7.10
RealUrl: 2.3.2

The Exception:

  'title' => 'Service Unavailable (503)',
  'message' => 'No TypoScript template found!',
  'code' => 1294587218,
  'file' => '/var/www/vhost/typo3-core/typo3_src/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php',
  'line' => 2537,

Trace:

#0 /var/www/vhost/web/typo3conf/ext/my_redirects/Classes/Utility/EidUtility.php(64): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->getConfigArray()
#1 /var/www/vhost/web/typo3conf/ext/my_redirects/Classes/Service/RedirectService.php(304): KoninklijkeCollective\MyRedirects\Utility\EidUtility::initializeTypoScriptFrontendController(2)
#2 /var/www/vhost/web/typo3conf/ext/my_redirects/Classes/Service/RedirectService.php(282): KoninklijkeCollective\MyRedirects\Service\RedirectService->getTypoScriptFrontendController(2)
#3 /var/www/vhost/web/typo3conf/ext/my_redirects/Classes/Service/RedirectService.php(214): KoninklijkeCollective\MyRedirects\Service\RedirectService->generateLink('t3://page?uid=1...')
#4 /var/www/vhost/web/typo3conf/ext/my_redirects/Classes/Controller/RequestController.php(41): KoninklijkeCollective\MyRedirects\Service\RedirectService->handleRedirect(Array)
#5 [internal function]: KoninklijkeCollective\MyRedirects\Controller\RequestController->redirectAction(Array, Array)
#6 /var/www/vhost/typo3-core/typo3_src/typo3/sysext/core/Classes/Utility/GeneralUtility.php(3782): call_user_func_array(Array, Array)
#7 /var/www/vhost/typo3-core/typo3_src/typo3/sysext/frontend/Classes/Http/RequestHandler.php(90): TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction('KoninklijkeColl...', Array, Array)
#8 /var/www/vhost/typo3-core/typo3_src/typo3/sysext/core/Classes/Core/Bootstrap.php(315): TYPO3\CMS\Frontend\Http\RequestHandler->handleRequest(Object(TYPO3\CMS\Core\Http\ServerRequest))
#9 /var/www/vhost/typo3-core/typo3_src/typo3/sysext/frontend/Classes/Http/Application.php(79): TYPO3\CMS\Core\Core\Bootstrap->handleRequest(Object(TYPO3\CMS\Core\Http\ServerRequest))
#10 /var/www/vhost/typo3-core/typo3_src/typo3/sysext/frontend/Resources/Private/Php/frontend.php(23): TYPO3\CMS\Frontend\Http\Application->run()
#11 /var/www/vhost/typo3-core/typo3_src/typo3/sysext/frontend/Resources/Private/Php/frontend.php(24): {closure}()
#12 /var/www/vhost/typo3-core/typo3_src/index.php(3): require('/var/www/vhost/...')
#13 {main}

I already found a solution to this problem and will submit a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants