|
Re: HTTP - header issue with QFC (again): msg#00358php.pear.general
<barry@xxxxxxxx> wrote : > Hello again, > I'm hitting another perplexing issue. I have the same file (diff => no > differences) in two separate directories, and referencing different > databases. > > I'm building a report, it runs in a test area but in the user area on > the same machine, I get - > > Warning: Cannot add header information - headers already sent by (output > started at /www/slsa/SLSA_Incidents/include/database_config.php:34) in > /usr/share/pear/HTML/QuickForm/Action/Jump.php on line 53 > > database_config.php - has only 33 lines. and I don't use the 'Jump' > button at all! > > How does one track down this? What is the right technique to clearly > identify what is causing the issue? What does one look for? > I'm really more interested in the technique rather than a specific > answer to this problem. > > This is very confusing. QFC uses sessions to store data about the form you use. So, it has to do some work before any content is sent to the client. The error message you get is because you send something to the client before all work involved by the section is finished. You should watch for echo, print and html output (or even a whitespace outside the php tags) and delay the output once you are done with QFC. Bertrand Mansion Mamasam -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: DataObject: Ignoring key definitions: 00358, Markus Wolff |
|---|---|
| Next by Date: | Re: HTTP - header issue with QFC (again): 00358, Alexey Borzov |
| Previous by Thread: | HTTP - header issue with QFC (again)i: 00358, Barry Steele |
| Next by Thread: | Re: HTTP - header issue with QFC (again): 00358, Alexey Borzov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |