[TYPO3-dev] GLOBALS['LANG'] and MacOs

Toke Herkild th at concare.net
Wed Nov 22 15:20:27 CET 2006


Hi,

My error.

It occured in the frontend, only reason I didn't find it before was that I were allways logged in to both BE and FE at the same time, and somehow that made the $LANG object avaible for both.

I've now added a test on $LANG and If it isn't defined it will be and it works fine.

Note to self:
Allways test if Object is present, if not: Create it.

Regards,
Toke
 

-----Oprindelig meddelelse-----
Fra: typo3-dev-bounces at lists.netfielders.de [mailto:typo3-dev-bounces at lists.netfielders.de] På vegne af Christian Trabold
Sendt: 22. november 2006 14:50
Til: typo3-dev at lists.netfielders.de
Emne: Re: [TYPO3-dev] GLOBALS['LANG'] and MacOs

> Has anyone experienced problems with mac clients not instanciating 
> $LANG proberly ?
> I've a typo3 ver. 4.0 and when mac users tries to access pages I get 
> this error:
> PHP Fatal error:  Call to undefined method stdClass::sL()

I've never seen that on any TYPO3-Page using Mac OS X.


Where and when does this message occur? Backend? Frontend?

Are there any custom extensions installed?

Do you have an example at hand? URL?


Christian
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev




More information about the TYPO3-dev mailing list