[TYPO3-dev] Problem with RTE in frontend

Stanislas Rolland typo3 at sjbr.ca
Fri Jul 3 20:17:50 CEST 2009


Hi Brian,
> 
> I get this error when loading the RTE in frontend.
> 
> Fatal error: Call to a member function getStructureDepth() on a 
> non-object in 
> /var/www/typo3/test/typo3_src-4.2.6/typo3/sysext/rtehtmlarea/class.tx_rtehtmlarea_base.php 
> on line 369

You should not invoke tx_rtehtmlarea_base in the frontend.
You should use pi2/class.tx_rtehtmlarea_pi2.php. See 
http://typo3.org/documentation/document-library/extension-manuals/rtehtmlarea_api_manual/1.7.4/view/5/1/

Regards,
Stanislas



More information about the TYPO3-dev mailing list