[fusion-trac] #638: SelectWithin: Cannot modify header information - headers already sent

Fusion trac_fusion at osgeo.org
Wed Feb 10 01:44:39 PST 2016


#638: SelectWithin: Cannot modify header information - headers already sent
----------------------------+----------------------
        Reporter:  morkl    |        Owner:  madair
            Type:  defect   |       Status:  new
        Priority:  P2       |    Milestone:  Future
       Component:  Widgets  |      Version:  SVN
        Severity:  Major    |     Keywords:
         Browser:  All      |  External ID:
Operating System:  All      |        state:  New
----------------------------+----------------------
 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.

--
Ticket URL: <http://trac.osgeo.org/fusion/ticket/638>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.


More information about the fusion-trac mailing list