[TYPO3-dev] xclass for t3lib_tcemain does not work
Sonja Scholz
ss at cabag.ch
Fri Feb 12 14:01:40 CET 2010
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
More information about the TYPO3-dev
mailing list