Hi Dimitri,

could you post the error that the server returns to the client?
What happens when you hit the print button in the WebClient? What happens if you paste the print-URL directly into your browser? Do you have a program connected with pdf on your client computer?

Bernhard

Am 25.08.2016 um 05:33 schrieb DimK:
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



__________ Information from ESET Mail Security, version of virus signature 
database 14014 (20160824) __________

The message was checked by ESET Mail Security.
http://www.eset.com




_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user




__________ Information from ESET Mail Security, version of virus signature 
database 14015 (20160825) __________

The message was checked by ESET Mail Security.
http://www.eset.com


_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to