[TYPO3-core] Feature #9633: [CRASH] Implement autoloading for TYPO3

Oliver Hader oliver at typo3.org
Wed May 20 12:41:06 CEST 2009


Hi Xavier,

Xavier Perseguers schrieb:
> Xavier Perseguers wrote:
>> Hi,
>>
>>>>>> With autoloader instead of require_once (same place):
>>>>>>
>>>>>> require_once(PATH_t3lib . 'class.t3lib_autoloader.php');
>>>>>> t3lib_autoloader::registerAutoloader();
>>>>>>
>>>>>> /** @var TYPO3_DB t3lib_db */
>>>>>> $TYPO3_DB = t3lib_div::makeInstance('t3lib_DB');
>>>>>> t3lib_div::debug($TYPO3_DB);
>>>>>> die('');
>>>>>>
>>>>>> It gives me a t3lib_DB Object back.
>>>>>>
>>>>>
>>>>> sounds like general xclass mechanism doesn't work with autoloading
>>>>
>>>> We got the same conclusion ;-)
>>>>
>>>> Seems like the autoloader patch should be reverted ASAP until a good
>>>> solution is found.
>>>
>>> Solution found!
>>>
>>> Please wait a bit, I'm testing my patch and will send it on this thread.
>>
>> The attached patch seems to allow XCLASS while using autoload stuff.
> 
> Correction: it works but only for backend modules (or AJAX/eid scripts).
> I still have a blank page on FE.

There was a bug concerning XCLASSes that is fixed now. However, I cannot
reproduce the behaviour you mentioned. Do you get any errors in your
webserver logfile or in the TYPO3 syslog?

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list