[TYPO3-dev] RC1-BUG?! PidInRootline malfunction under certain conditions
Franz Koch
typo3 at fx-graefix.de
Wed Mar 15 23:45:29 CET 2006
> I will now go and search the reason for this...
I think I just found it. In my case both variables -
'$GLOBALS['TSFE']->tmpl->rootLine' and '$this->altRootLine' - which are
used for the rootline-check are empty when the page has been loaded 3
times after clearing cache (which might be completely coming from cache
then - don't know the caching mechanism).
The first time the page is generated '$GLOBALS['TSFE']->tmpl->rootLine'
is filled and the condition is matched. The second time the page is
loaded '$GLOBALS['TSFE']->tmpl->rootLine' is filled, but the condition
doesn't macht anymore. And the third time the page is loaded,
'$GLOBALS['TSFE']->tmpl->rootLine' is empty and then nothing happens at all.
This happens with TV and the standard templating way, so it is not TV
related.
Replacing '$GLOBALS['TSFE']->tmpl->rootLine' with
'$GLOBALS['TSFE']->rootLine' did the trick for me locally in my testing
environment, but I don't know which consequences this would have.
--
Kind regards,
Franz Koch
More information about the TYPO3-dev
mailing list