Description
Hi,
when saving a content-element in backend. jQuery will be loaded from wrong url. There is a duplicate typo3 in path. (eg: https://test.domain.local/typo3/typo3/sysext/core/Resources/Public/JavaScript/Contrib/jquery/jquery-2.1.4.min.js)
I searched in the sourcecode and found, that generating GLOBALS['TSFE'] in function initFrontend in Class Mittwald\Varnishcache\Service\FrontendUrlGenerator causes this.
Why is this nessesary?
I commented it out and this solves my problem:
`
$GLOBALS['TSFE'] = GeneralUtility::makeInstance(
'TYPO3\\CMS\\Frontend\\Controller\\TypoScriptFrontendController',
$GLOBALS['TYPO3_CONF_VARS'],
$uid,
0
);
$GLOBALS['TSFE']->connectToDB();
$GLOBALS['TSFE']->initFEuser();
$GLOBALS['TSFE']->determineId();
$GLOBALS['TSFE']->initTemplate();
$GLOBALS['TSFE']->getConfigArray();
`
Regards
Heiko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels