[symfony-users] Re: headers already sent

2010-08-30 Thread bibob
Hi, If I write return sfView::NONE; at the end of the function, the problem is solved, but I'm not sure that it is very clean and elegant. I rather think that I have to rewrite the functions and expurgate all the HTML instructions from them. Thank you all for your help. On 25 août, 19:11, Florian

Re: [symfony-users] Re: headers already sent

2010-08-30 Thread Stéphane
You mean you are writting HTML within actions ? Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Mon, Aug 30, 2010 at 3:18 PM, bibob olivier.bib...@cnfpt.fr wrote: Hi, If I write return sfView::NONE; at the

[symfony-users] Re: headers already sent

2010-08-25 Thread bibob
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

[symfony-users] Re: headers already sent

2010-08-25 Thread Lutz
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

[symfony-users] Re: headers already sent

2010-08-25 Thread Florian
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

Re: [symfony-users] Re: headers already sent

2010-08-25 Thread Stéphane
Yes, it is the HTTP headers, not the HTML HEAD thing. Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Wed, Aug 25, 2010 at 7:11 PM, Florian sideral.undergro...@gmail.comwrote: IMHO, this is not a HTML header

[symfony-users] Re: Headers already sent

2010-05-18 Thread Raphael Schumacher
the ?php tag was the problem in my case, thanks for the hint! On 18 Mai, 09:16, Thor thorste...@gmail.com wrote: I'd add as common cases, classes with spaces BEFORE the ?php tag -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You

[symfony-users] Re: Headers already sent

2010-05-17 Thread pghoratiu
A HTTP response is composed of a. HTTP headers b. HTTP content If you try to do echo 'aaa'; header(''); You will get this error. Check if the action throws out an error or outputs something, for this do an exit before the first header() call in sfWebResponse. Common situations where I