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 wrote: > Hi, > If I write "return sfView::NONE;" at the end of the function

[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, Floria

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

2010-08-25 Thread Stéphane
Yes, it is the HTTP headers, not the HTML 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 wrote: > IMHO, this is not a HTML header problem but a HTTP headers probl

[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 wrote: > This message generally occurs, when the webserver is asked to send the > header o

[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 html-o

[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-05-18 Thread Raphael Schumacher
the wrote: > I'd add as common cases, classes with spaces BEFORE the http://groups.google.com/group/symfony-users?hl=en

[symfony-users] Re: Headers already sent

2010-05-18 Thread Thor
I'd add as common cases, classes with spaces BEFORE the wrote: > 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 e

[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 enc