[TYPO3-dev] Problems with ext_autoload.php and ext_localconf.php
Michael Knoll
mimi at kaktusteam.de
Tue May 22 14:19:47 CEST 2012
Am 22.05.12 13:31, schrieb François Suter:
> Hi Michael,
>
>> Reading this article in TYPO3 wiki http://wiki.typo3.org/Autoload one
>> could guess that the mechanism is only working, if I use
>> t3lib_div::makeInstance() - which I'm actually not doing here, as this
>> is a static call.
>
> Indeed.
>
>> Any ideas on how to fix this?!?
>
> In such a case you can't rely on the autoloader unfortunately. You'll
> have to use the usual require statement. Anyway if your class is used in
> ext_localconf.php it means that it's loaded all the time, so explicitly
> require'ing it doesn't make a difference.
>
> Cheers
>
Hi François,
thanks for your answer. Funny enough all that worked perfectly a little
while ago. I could track it down to a cache problem, since the solr
classes are not present in the /typo3temp/Cache/Code/cache_phpcode
folder's cache files. So it seems to be a problem with the new caching
mechanism in 4.6
Anyways - thanks for your reply!
Regards
Mimi
More information about the TYPO3-dev
mailing list