Hello, When using the print option from the QGIS Web Client to print pdf, an internal server error is returned:
http://localhost/qgis/qgis_mapserv.fcgi.exe?map=c%3A%2FApach e24%2Fhtdocs%2Fmygis%2Fprojects%2Fhelloworld.qgs&SERVICE= WMS&VERSION=1.3&REQUEST=GetPrint&FORMAT=pdf&EXCEPTIONS =application%2Fvnd.ogc.se_inimage&TRANSPARENT=true&SRS= EPSG%3A3857&DPI=300&TEMPLATE=Composer%201&map0%3Aextent=- 3586440.5%2C1909298.7%2C3938740.5%2C6179401.3&map0% 3Arotation=0&map0%3Ascale=35000000&map0%3Agrid_interval_ x=2500000&map0%3Agrid_interval_y=2500000&LAYERS= Country%2CHello&OPACITIES=255%2C255 My log file error: [Mon Aug 22 08:47:18.033625 2016] [cgi:error] [pid 3428:tid 1036] [client ::1:49864] End of script output before headers: qgis_mapserv.fcgi.exe [Mon Aug 22 08:47:18.033625 2016] [cgi:error] [pid 3428:tid 1036] [client ::1:49864] AH01215: Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.\r: C:/QGIS/apps/qgis-ltr/bin/qgis _mapserv.fcgi.exe [Mon Aug 22 08:47:18.034626 2016] [cgi:error] [pid 3428:tid 1036] [client ::1:49864] AH01215: Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.\r: C:/QGIS/apps/qgis-ltr/bin/qgis _mapserv.fcgi.exe [Mon Aug 22 08:47:18.034626 2016] [cgi:error] [pid 3428:tid 1036] [client ::1:49864] AH01215: Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.\r: C:/QGIS/apps/qgis-ltr/bin/qgis _mapserv.fcgi.exe [Mon Aug 22 08:47:18.034626 2016] [cgi:error] [pid 3428:tid 1036] [client ::1:49864] AH01215: Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.\r: C:/QGIS/apps/qgis-ltr/bin/qgis _mapserv.fcgi.exe [Mon Aug 22 08:47:18.034626 2016] [cgi:error] [pid 3428:tid 1036] [client ::1:49864] AH01215: Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.\r: C:/QGIS/apps/qgis-ltr/bin/qgis _mapserv.fcgi.exe [Mon Aug 22 08:47:18.034626 2016] [cgi:error] [pid 3428:tid 1036] [client ::1:49864] AH01215: QFSFileEngine::open: No file name specified\r: C:/QGIS/apps/qgis-ltr/bin/qgis_mapserv.fcgi.exe But when I replace FORMAT output to PNG - it's all right! I use QGIS 2.8 (long term) 64 bit version on Windows Server 2012 R2 Standard, Apache 2.4.20 (Win64). I tried using version 2.14 and 2.16 but without success. How to fix it? Any ideas? Dmitry Konoplya
_______________________________________________ Qgis-user mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
