Opened 9 years ago
Closed 9 years ago
#638 closed defect (fixed)
SelectWithin: Cannot modify header information - headers already sent
Reported by: | morkl | Owned by: | madair |
---|---|---|---|
Priority: | P2 | Milestone: | Future |
Component: | Widgets | Version: | SVN |
Severity: | Major | Keywords: | |
Cc: | Browser: | All | |
External ID: | Operating System: | All | |
state: | New |
Description
In SelectWithin.php, the content-type header is sent after the content. With the default output_buffering value of 4096, it still works with small result sets, but result sets larger than 4096 cause the header to be sent after the buffer has been flushed, resulting in a PHP error.
A workaround is to set an unlimited buffer size in php.ini: output_buffering = On
The attached patch forces output buffering during processing and flushes after the header has been sent.
Attachments (1)
Change History (2)
by , 9 years ago
Attachment: | SelectWithin.php.patch added |
---|
comment:1 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed trunk (r2941), 3.0 (r2944) and 2.6 (r2945)