[TYPO3] TMailForm problem - labels aren't visible

A.Neves acseven at hotmail.com
Tue Oct 31 08:01:40 CET 2006


Hello,


I replaced config.language = pt_pt by config.language = Portuguese, and
checked the xml lang file, and still no go :S

Thanks



-----Mensagem original-----
De: Tonni Aagesen [mailto:ends at dev.null] 
Enviada: segunda-feira, 30 de Outubro de 2006 23:20
Para: typo3-english at lists.netfielders.de
Assunto: Re: [TYPO3] TMailForm problem - labels aren't visible

On Mon, 2006-10-30 at 22:01 +0000, A.Neves wrote:
> Hi,
> 
> Yeah, that was it. The problem is that I have in my template TS setup the
> following, in order to make Portuguese the default language:
> 
> ------------------------
> # Language settings
> config {
>    linkVars = L
>    sys_language_uid = 0
>    language = pt_pt
>    locale_all = pt_PT
>    locale_all = portuguese
>    }
> ------------------------
> 
> 
> If I keep the above, I get the following error messages:
> 
> 
> --------------------
> Warning: Invalid argument supplied for foreach() in C:\***MY
> EDIT***\typo3conf\ext\pil_mailform\pi1\class.tx_pilmailform_pi1.php on
line
> 1061
> 
> Warning: Cannot modify header information - headers already sent by
(output
> started at C:\ ***MY
> EDIT***\typo3conf\ext\pil_mailform\pi1\class.tx_pilmailform_pi1.php:1061)
in
> C:\ ***MY EDIT***\typo3\sysext\cms\tslib\class.tslib_fe.php on line 2826
> --------------------
> 
> 
> How can I solve this?

I think you have to set "config.language=portuguese" in ts-setup... and
of course create the appropriate language key/labels in the locallang
XML file

And I'll look into cathing the error :)

-- 
Regards / Mvh
Tonni Aagesen
www.pil.dk & www.quickpay.dk






More information about the TYPO3-english mailing list