RE: [PEAR] QFC - Headers already sent
| From: | Mike Carter | Date: | Sun, 09 Nov 2003 15:46:25 +0000 |
| Subject: | RE: [PEAR] QFC - Headers already sent | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8838@lists.php.net to get a copy of this message | ||
I've been up until 6am this morning hacking away.
Have dragged myself in to the office to continue now too!
I must be mad.
Night,
Mike.
> -----Original Message-----
> From: Barry Steele [mailto:barry@hpfm.biz]
> Sent: 09 November 2003 15:43
> To: mikeatwork@ukonline.co.uk
> Cc: PEAR Mail List
> Subject: RE: [PEAR] QFC - Headers already sent
>
>
> 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
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
________________________________________________________________________
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
________________________________________________________________________