RE: [PEAR] QFC - Headers already sent
| From: | Barry Steele | Date: | Sun, 09 Nov 2003 15:43:17 +0000 |
| Subject: | RE: [PEAR] QFC - Headers already sent | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8837@lists.php.net to get a copy of this message | ||
Thanks mate,
Its just after 2:30 in the morning here (Sunday Night) so I'll make the
change on the morrow.
Thanks, again
Barry
On Mon, 2003-11-10 at 02:28, Mike Carter wrote:
> Hi Barry,
>
> > -----Original Message-----
> > From: Barry Steele [mailto:barry@hpfm.biz]
> >
> > I've been working on a reporting environment using QFC on my
> > LAN and all seemed great but when I uploaded the new code to
> > our test server envrionment I am getting "Cannot add header
> > information - headers sent by (output started by
> > blah//head.php) in /usr/share/HTML/QuickForm/Action/Jump.php
> > on line 53
> >
> > The most worring thing is that this happens on one machine
> > but not the other.
> >
> > 'head.php' is exactly what it sounds like, a header for the page.
> >
> > Just as an aside I don't use 'jump' anywhere in the form.
> > hpfm
>
> I too noticed the same odd behaviour when moving some code to a new server!
> I found out that I was displaying my header code before calling the QFC
> run() method. Put your code which writes to the browser AFTER this and you
> will always be safe :-)
>
> Regards,
>
>
> Mike C.
>
>
> ________________________________________________________________________
> This email has been scanned for all viruses by the MessageLabs Email
> Security System. For more information on a proactive email security
> service working around the clock, around the globe, visit
> http://www.messagelabs.com
> ________________________________________________________________________
hpfm
Barry Steele
hpfm solutions pty ltd
mob: 0413947980
fax: 0299817727
mailto:: barry@hpfm.biz