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 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 <sideral.undergro...@gmail.com> wrote:
> > IMHO, this is not a HTML header problem but a HTTPheadersproblem. It
> > happens when php tris to send httpheaders(via header() function )
> > after havingsentsome 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
> > >alreadybeen 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<symfony-users%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

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

Reply via email to