If I push the print button on the toolbar, I get the menu which works fine. However, when I try to print the map, the pdf doesn't generate.
That's why I look into firebug and I get following comment:
"NetworkError: 500 Internal Server Error - ...localhost/cgi-bin/qgis_mapserv.fcgi?map=C:/OSGeo4W/apache/htdocs/qgis-web-client-master/projects/demo.qgs&SERVICE=WMS&VERSION=1.3&REQUEST=GetPrint&FORMAT=pdf&EXCEPTIONS=application/vnd.ogc.se_inimage&TRANSPARENT=true&SRS=EPSG:3857&DPI=300&TEMPLATE=test&map0:extent=1511664.8,6839757.4,1525015.2,6846582.6&map0:rotation=0&map0:scale=75000&map0:grid_interval_x=5000&map0:grid_interval_y=5000&LAYERS=Hausnummer%2Cinfrastruktur%2CGeb%C3%A4ude&OPACITIES=255%2C255%2C255"
Apache access log give this response:
"POST /cgi-bin/qgis_mapserv.fcgi?map=C:/OSGeo4W/apache/htdocs/qgis-web-client-master/projects/demo.qgs& HTTP/1.1" 200 798
"GET /cgi-bin/qgis_mapserv.fcgi?map=C:/OSGeo4W/apache/htdocs/qgis-web-client-master/projects/demo.qgs&SERVICE=WMS&VERSION=1.3&REQUEST=GetPrint&FORMAT=pdf&EXCEPTIONS=application/vnd.ogc.se_inimage&TRANSPARENT=true&SRS=EPSG:3857&DPI=300&TEMPLATE=test&map0:extent=1509449.3,6838361.9,1527249.8,6847462.1&map0:rotation=0&map0:scale=100000&map0:grid_interval_x=5000&map0:grid_interval_y=5000&LAYERS=Hotel%20-%20Ferienhaus%2CCamping&OPACITIES=255%2C255 HTTP/1.1" 500 538
If I manually change the FORMAT=pdf
to FORMAT=png
it runs correctly.
Does somebody now what I have to change so I can export a pdf?
I'm using Windows.