[Typo3-dev] Cannot modify header information - headers already sent
Ries van Twisk
typo3 at rvt.dds.nl
Thu Nov 10 19:37:08 CET 2005
Pedro Barbosa wrote:
>Thanks for that Wolfgang Klinger.
>When i open the website the warning doesn't appear, however when i click
>in the submit button the warnign comes up again.
>
>
check if you have ANY (spaces, returns etc...) content
before and after
nospacearea<?php ...... ?>nospacearea nospacearea
the nospacearea need to be empty....
Ries
>Anyone?
>thanks
>Pedro Barbosa
>
>Wolfgang Klinger wrote:
>
>
>
>>Hi!
>>
>>On Thu, 10 Nov 2005, Pedro Barbosa wrote the following:
>>
>>
>>
>>
>>>I'm getting started in typo3 and i wanted to include php script.
>>>Justo for fun(or not) i created a calculator in php and when i open the
>>>website i get the following warning:
>>>*Warning*: Cannot modify header information - headers already sent by
>>>(output started at ..../scripts/calculadora.inc:41) in
>>>*/var/www/html/sigtest/typo3_src-3.8.0/typo3/sysext/cms/tslib/class.tslib_fe.php*
>>>on line *2612*
>>>
>>>
>>>
>>>
>>You use "echo" for output. That's not how it works with TYPO3. You need
>>to return the content, TYPO3 "collects" all the pieces and sends it to
>>the client when finished (plus some "headers" beforehand like a Cookie
>>or something).
>>
>>
>>kind regards
>>Wolfgang
>>
>>_______________________________________________
>>Typo3-dev mailing list
>>Typo3-dev at lists.netfielders.de
>>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>>
>>
>>
>>
>>
>
>_______________________________________________
>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