<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>Hi Bernhard and Andreas,<br><br>I thought that parameters WIDHT, HEIGHT BBOX and CRS were optional...<br>In my browser, my layer appears like an image (http://localhost/cgi-bin/qgis_mapserv.fcgi?map=/usr/lib/cgi-bin/arrondissement.qgs&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&LAYERS=adm_arrondissement_bdt&FORMAT=image/png&CRS=EPSG:2154&BBOX=752196,6747898,1125485,6953938&WIDTH=800&HEIGHT=800).<br>In QGIS-desktop, my project appears with my layer and I can load image.<br>So, QGIS-Server run without error?<br><br>The CRS is defined in the QGIS project setting and also in QWC in the GlobalOptions.js. I added a file "EPSG2154.js" in ../site/libs/proj4js/defs/.<br><br>What is the error ?<br><span role="presentation" class="objectBox objectBox-errorMessage hasBreakSwitch "><span class="errorMessage ">"TypeError: wmsLoader.projectSettings.service is undefined</span></span>"<br>var thisAbstract = wmsLoader.projectSettings.service.abstract<span style="white-space:pre"> </span>Line 1756 <span style="white-space:pre">   </span>in ../site/js/WebgisInit.js<br><br>Thanks<br><br><div><span></span><span><p style="margin-bottom: 0cm;"><font face="Verdana, serif"><font size="2"><b>Amandine</b></font></font></p><p style="margin-bottom: 0cm;"><br></p></span></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Bernhard Ströbl" <bernhard.stroebl@jena.de><br><b>À: </b>"Amandine SCHLOUPT" <aschloupt@aguram.org><br><b>Cc: </b>qgis-user@lists.osgeo.org<br><b>Envoyé: </b>Lundi 12 Mai 2014 16:54:03<br><b>Objet: </b>Re: [Qgis-user] Help for QGIS-Web-Client<br><br>Hi Amandine,<br><br>hmm, the GetMap request lacks some parameters: WIDHT HEIGHT BBOX CRS ; <br>not sure if they are optional, I doubt it though, because they tell the <br>server the size of the image you request (WIDHT, HEIGHT) the part of the <br>world you want to see (BBOX) and the projection the map should be in (CRS)<br>Use QGIS desktop to request maps, leave just _one_ layer in your <br>server's project and try to get a map from that in a first step.<br>You must have QGIS server running without errors prior to QWC!<br><br>Bernhard<br><br><b>De: </b>"Andreas Neumann" <a.neumann@carto.net><br><b>À: </b>"Amandine SCHLOUPT" <aschloupt@aguram.org><br><b>Envoyé: </b>Lundi 12 Mai 2014 16:34:11<br><b>Objet: </b>Re: [Qgis-user] Help for QGIS-Web-Client<br><br>Hi,<br><br>The GetMap Request you list below is not complete. It is missing a few<br>required parameters, like SRS, BBOX, WIDTH, HEIGHT.<br><br>See also QGIS server tutorial:<br>http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial<br><br>It is very hard to help you if the server and web client is not<br>reachable in the public. We are also not yet sure if your server is<br>really working properly.<br><br>CRS: this is defined in the QGIS project settings, but also in QWC in<br>the GlobalOptions.js - both CRS should be the same.<br><br>Andreas<br></div></div></body></html>