[TYPO3-dev] xclass for t3lib_tcemain does not work

Popy popy.dev at gmail.com
Fri Feb 12 14:21:22 CET 2010


It means that your class was not loaded throught the XCLASS system.

2010/2/12 Sonja Scholz <ss at cabag.ch>

> Steffen Kamper schrieb:
>
>> Hi,
>>
>> did you tried
>> $tce = t3lib_div::makeInstance('ux_t3lib_TCEmain');
>> ?
>>
>> vg Steffen
>>
>
> Hi,
>
> have just tried it and i get a php error:
> Fatal error: Class 'ux_t3lib_TCEmain' not found in
> /var/www/path/t3lib/class.t3lib_div.php on line 4942
>
> I think that error occurs because the file isn't included, but I don't know
> why. I can access the file via browser.
>
> I created my xclass like that:
> class ux_t3lib_TCEmain extends t3lib_TCEmain
>
> Now i added a require_once to my ext_localconf to include the
> ux_t3lib_TCEmain file manually and then the xclass works... strange.
>
> For other xclasses this require_once isn't needed... It doesn't matter.
>
> Thank you all for your help, now it works for me.
>
> Kind regards,
>
> Sonja
>
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>




More information about the TYPO3-dev mailing list