<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,<br><br>OK. The value of "var useGetProjectSettings" is true.<br>When I change the value by false, all layers are selected.<br>But my problem don't change...<br><br>In my previous version of QWC (after updates of apache2, qgis, python-qgis, libapache2-mod-fcgid, qgis-mapserver), I have the same problem : the map don't load.<br>But my error is diferrent :<span role="presentation" class="objectBox objectBox-errorMessage hasBreakSwitch "><span class="errorMessage "><br>"TypeError: y is null</span></span>" in ext-all.js (line 7)<br><br>Thanks<br><br><font face="Verdana, serif"><font size="2"><b>Amandine </b></font></font><div><span></span><br></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>, "Andreas Neumann" <a.neumann@carto.net><br><b>Cc: </b>qgis-user@lists.osgeo.org<br><b>Envoyé: </b>Mardi 13 Mai 2014 09:25:47<br><b>Objet: </b>Re: [Qgis-user] Help for QGIS-Web-Client<br><br>Hi Amandine,<br><br>Am 13.05.2014 09:18, schrieb Amandine SCHLOUPT:<br>> 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<br>> (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>If you get a map the server is fine.<br>><br>> The CRS is defined in the QGIS project setting and also in QWC in the<br>> GlobalOptions.js. I added a file "EPSG2154.js" in<br>> ../site/libs/proj4js/defs/.<br>><br>> What is the error ?<br>> "TypeError: wmsLoader.projectSettings.service is undefined"<br>> var thisAbstract = wmsLoader.projectSettings.service.abstractLine 1756<br>> in ../site/js/WebgisInit.js<br><br>is Line 15 of your GlobalOptions reading:<br>var useGetProjectSettings = true;<br><br>Bernhard</div></div></body></html>