Opened 8 years ago

Closed 8 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)

SelectWithin.php.patch (777 bytes ) - added by morkl 8 years ago.

Download all attachments as: .zip

Change History (2)

by morkl, 8 years ago

Attachment: SelectWithin.php.patch added

comment:1 by jng, 8 years ago

Resolution: fixed
Status: newclosed

Fixed trunk (r2941), 3.0 (r2944) and 2.6 (r2945)

Note: See TracTickets for help on using tickets.