[Qgis-user] Adding Projects to Qgis-Webclient - insertion into index.html seems not sufficient
Gunnar Oehmichen
oehm8895 at uni-landau.de
Sun Sep 15 05:17:49 PDT 2013
Hey,
right now I am trying to add our own projekts to the server (no virtual
installation anymore), which again ends in "Map Loading". The
helloword.qgs works fine. The test project "Test Amphibien Projekt -
4326" amphien_projekt_13.qgs is located within the /projects folders
like its .shp layers. I checked the paths for <datasource></datasource>
in .qgs file, they are also fine.
http://gis.dienst.uni-landau.de/index.html
This is our webclient
System information:
Ubuntu 12.04.2 LTS \n \l
Server version: Apache/2.2.22 (Ubuntu)
Server built: Nov 8 2012 21:37:30
Qgis Version: 1.8.0-1~precise4
Qgis-Mapserver Version: Version: 1.8.0-1~precise4
Web-Client (Could not get version information quickly):
Last Updated: Monday December 10, 2012
Last Change : Monday December 10, 2012 (from README)
Paths in index.html, globaloptions.js, sites-available have been updated.
Following javascript error happens when the "Test Amphibien Projekt -
4326" link is followed:
Zeitstempel: 15.09.2013 13:55:24
Fehler: TypeError: composerTemplate.map is undefined
Quelldatei: http://gis.dienst.uni-landau.de/js/WebgisInit.js
Zeile: 255
While following the link to helloworld (which works fine) I get the
these errors, allthough the map is loading.
[Sun Sep 15 12:35:24 2013] [error] [client 95.116.227.18] script not
found or unable to stat: /usr/qgis-web-client/cgi-bin/mapserv
[Sun Sep 15 12:35:24 2013] [error] [client 95.116.227.18] script not
found or unable to stat: /usr/qgis-web-client/cgi-bin/mapserv
But no errors occured in the error-log when i tried to access the "Test
Amphibien Projekt - 4326" (access log following). But one can see, that
instead of 5 requests only 2 are beeing sent for the test projekt.
Help would very much be appreciated, Thanks,
Gunnar
95.116.227.18 - - [15/Sep/2013:12:34:33 +0200]
"GET
/qgiswebclient.html?map=/usr/qgis-web-client/projects/amphibien_projekt_2013.qgs&
format=image/png&visibleLayers=Area,Gewaesser,Orte,Verkehrsmonitoring,bufobufo,transekte HTTP/1.1"
200 1090 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:23.0)
Gecko/20100101 Firefox/23.0"
95.116.227.18 - - [15/Sep/2013:12:34:35 +0200]
"GET
/cgi-bin/qgis_mapserv.fcgi?map=/usr/qgis-web-client/projects/amphibien_projekt_2013.qgs
&&_dc=1379241297287&SERVICE=WMS&VERSION=1.3&REQUEST=GetCapabilities
HTTP/1.1" 200 1689 "-"
"Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:23.0) Gecko/20100101
Firefox/23.0"
### Get Map Request has not been sent for the Test-Projekt above.
95.116.227.18 - - [15/Sep/2013:12:35:23 +0200]
"GET /qgiswebclient.html?map=/usr/qgis-web-client/projects/helloworld.qgs
&format=image/png&visibleLayers=Hello,Country HTTP/1.1" 304 212 "-"
"Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:23.0) Gecko/20100101
Firefox/23.0"
95.116.227.18 - - [15/Sep/2013:12:35:24 +0200]
"GET
/cgi-bin/qgis_mapserv.fcgi?map=/usr/qgis-web-client/projects/helloworld.qgs
&&_dc=1379241345761&SERVICE=WMS&VERSION=1.3&REQUEST=GetCapabilities
HTTP/1.1" 200 1391 "-"
"Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:23.0) Gecko/20100101
Firefox/23.0"
95.116.227.18 - - [15/Sep/2013:12:35:24 +0200]
"GET
/cgi-bin/mapserv?map=/path-to-map/.map&LAYERS=pk_kombiniert&FORMAT=image%2Fjpeg
&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326
&BBOX=3.2332092650238,7.9247592650238,3.4117907349762,8.1033407349762&WIDTH=300&HEIGHT=300 HTTP/1.1" 404 510 "-"
"Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:23.0) Gecko/20100101
Firefox/23.0"
95.116.227.18 - - [15/Sep/2013:12:35:24 +0200]
"GET
/cgi-bin/mapserv?map=/path-to-map/.map&LAYERS=pk_kombiniert&FORMAT=image%2Fjpeg
&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326
&BBOX=3.2332092650238,7.9247592650238,3.4117907349762,8.1033407349762&WIDTH=300&HEIGHT=300 HTTP/1.1" 404 511 "-"
"Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:23.0) Gecko/20100101
Firefox/23.0"
95.116.227.18 - - [15/Sep/2013:12:35:24 +0200]
"GET
/cgi-bin/qgis_mapserv.fcgi?map=/usr/qgis-web-client/projects/helloworld.qgs
&LAYERS=Country%2CHello&FORMAT=image%2Fpng&DPI=96&SERVICE=WMS&VERSION=1.1.1
&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326
&BBOX=-107.30402477621,-55.060559482089,113.94902477621,71.088659482089&WIDTH=1012&HEIGHT=577 HTTP/1.1" 200 87735 "-"
"Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:23.0) Gecko/20100101
Firefox/23.0"
More information about the Qgis-user
mailing list