[TYPO3-dev] Problem with CachingFramework in 4.5 :(
Kay Strobach
typo3 at kay-strobach.de
Sun Oct 9 11:39:58 CEST 2011
Hi Steffen,
the solution was really simple ;)
I simply use a later hook in 4.5 :)
ext_localconf.php
if(version_compare(TYPO3_version,'4.5.999','<=')) {
$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/index_ts.php']['preBeUser'][]
=
'EXT:webdav/Classes/Controller/WebdavController.php:tx_Webdav_Controller_WebdavController->main';
} else {
$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/index_ts.php']['preprocessRequest'][]
=
'EXT:webdav/Classes/Controller/WebdavController.php:tx_Webdav_Controller_WebdavController->main';
}
regards
Kay
Am 08.10.2011 11:49, schrieb Steffen Gebert:
> On 08.10.11 11:22, Kay Strobach wrote:
>> Hi Steffen,
>>
>> i assume that too - but why?
> Because you're probably calling some function, which is not called
> without initalizing your extension?
>
>> The extension uses a standalone fluid template for displaying an
>> interface for the webdav users if they use a browser.
> So maybe you call fluid at a point, which is "out of order", so the
> initialization of the CF later during regular program flow.
>
>> But why does it work in 4.6?
> Because you just gall $GLOBALS['cacheManager']->getCache['cache_hash']
> and it initializes itself, if it isn't, yet.
> In 4.5 you have to do that manually - that's why the CF is way more
> usable in 4.6. Have a look at tslib_fe::initCaches().
>
>> - Will this change be backported to 4.5? -
>> I do not think so - as far as i know the release policy :(
> NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO as always!!!!
>
> Kind regards
> Steffen
>
--
http://www.kay-strobach.de - Open Source Rocks
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
Answere was usefull: https://flattr.com/profile/kaystrobach
More information about the TYPO3-dev
mailing list