RE: [PEAR] QFC giving headers error on Jump to next page
| From: | Mike Carter | Date: | Thu, 09 Oct 2003 10:51:52 +0000 |
| Subject: | RE: [PEAR] QFC giving headers error on Jump to next page | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8364@lists.php.net to get a copy of this message | ||
Hello,
> -----Original Message-----
> From: Mike Carter [mailto:mikeatwork@ukonline.co.uk]
>
>
> Sorry forgot to include the error message, see below.
>
> >
> > However, on RedHat ES & apache 1.3.27 Quickform is giving me
> > problems. The error occurs when a use clicks on an action
> > submit button (to go to the next page). The page submits
> but then get:
>
> Warning: Cannot modify header information - headers already
> sent by (output started at
> /usr/share/pear/Smarty/Smarty.class.php:1180) in
> /usr/share/pear/HTML/QuickForm/Action/Jump.php on line 54
Ah, please ignore this now.
I found I was outputting a page header before calling QFC run() which
must be executing the action to redirect to the new page.
However - I still find it odd that this has not highlighted itself on
any other server.
Could it be something to do with PHP output buffering? I wasn't
responsible for configuring the latest server where the error occurred
so don't know what it is set to ... Yet.
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
________________________________________________________________________