[QGIS-Developer] QGIS FCGI Server 3.9.0 - JPEG renders but PNG empty
Tomas Straupis
tomasstraupis at gmail.com
Mon Sep 30 00:53:20 PDT 2019
Hello, Tom
You could probably try the method described by Jorge in QGIS-user list:
1. Compile QGIS with debug info.
2. Create a script with all FcgidInitialEnv taken from apache config
converted to export's like:
export QGIS_SERVER_LOG_FILE=/tmp/qgis-000.log
3. Add query string variable and project file:
export QUERY_STRING="SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities"
export QGIS_PROJECT_FILE="/var/www/wms/oracle.qgs"
4. execute qgis_mapserv.fcgi with debug on:
export QGIS_DEBUG=9
export QGIS_LOG_FILE=/tmp/qgis.log
./qgis_mapserv.fcgi
This gives both server logs as well as debug information in separate
files.
--
Tomas
More information about the QGIS-Developer
mailing list