[TYPO3] TMailForm problem - labels aren't visible
Tonni Aagesen
ends at dev.null
Tue Oct 31 00:20:20 CET 2006
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