Bug report #15440

Updated by Giovanni Manghi about 1 year ago

*New description*:
On Windows the QGIS Server GetPrint requests are always crashing the server (error 500) when the layout being printed includes advanced elements like html text boxes.

This was *not* an issue in QGIS Server 2.14 and up to some point release of 2.18.

This will be also tested on QGIS Server 3 and a not added in this ticket.

This issue may or *may not* be related to the fact that under *Desktop* Linux installations it seems that now QGIS Server do not seems to accept anymore the standard DISPLAY from X11, causing the same symptoms described above for Windows (symptoms that seem/are cured by installing a fake xserver). See: https://issues.qgis.org/issues/18747

*Old Description:*

Using the qgis_mapserv.fcgi.exe through Apache 2.4 on Windows. WMS GetPrint call works on all map composer items except for the label item.
Apache log has "End of script output before headers: qgis_mapserv.fcgi.exe" and returns 500 Internal Server Error when a label item is in the map.
Same issue on 32bit and 64bit of QGIS server. Error also happens on all formats (pdf, png etc).

Back