IMHO, this is not a HTML header problem but a HTTP headers problem. It happens when php tris to send http headers (via header() function ) after having sent some http body response!
On 25 août, 12:57, Lutz <lutz.p...@gmail.com> wrote: > This message generally occurs, when the webserver is asked to send the > header of the HTML-page, but some content of the body-section had > already been send to the client (and so the header). > I experienced this behaviour when working with symfony (1.4), when you > do have an 'echo' or any other html-output in your action class. > Use the action class for actions and for output the templates, this > should solve the problem. > > The comment about the space, carriage return or closing '?>' I saw > several times as solution for this issue also, but me personally was > never able to reproduce that in my cases. > > BR, > Lutz > > On 25 Aug., 11:33, bibob <olivier.bib...@cnfpt.fr> wrote: > > > > > Hi, > > Thank you for your answer. > > I don't find a "bad" space character anywhere in the actions.class or > > templates of my project. > > It's curious because when I modify a existing report, I have no > > problem, but when I create a new one, the problem appears. > > Maybe, I miss a step ! > > > On 20 août, 23:25, Jochen Daum <jdau...@gmail.com> wrote: > > > > > Hi, > > > > > On Sat, Aug 21, 2010 at 1:13 AM, bibob <olivier.bib...@cnfpt.fr> wrote: > > > >> Bonjour, > > > >> lors du lancement d'un rapport d'administration au format .csv dans > > > >> l'actions.class.php du module concerné, j'ai le message, en fin de > > > >> fichier, "cannot modifiy header information -headerssentin /lib/ > > > >> vendor/symfony/lib/response/sfWebResponse.class.php" puis un paquet de > > > >> commandes HTML > > > >> J'ai vérifié la présence d'espace dans les scripts que j'ai modifiés, > > > >> j'ai retapé toutes les lignes, sans résultat. quelqu'un a-t-il une > > > >> solution ? Merci > > > > > its nearly always some characters after the closing ?> of the file. I > > > > think this happens because of transmission/charset problems most of th > > > > time. > > > > > Short term solution is to find the file which has the additional space > > > > characters. Long term remove ?> at the end of files. I don't know what > > > > Symfony's policy is for that. > > > > > Kind Regards, > > > > > Jochen Daum > > > > > P.S.: My french is very weak.- Zitierten Text ausblenden - > > > - Zitierten Text anzeigen - -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en