Hi Amandine,

the errors you post are errors because of a previous error.
I cannot debug this from here, sorry, as your server is not publicly available. Idea 1: double check, that you have your CRS EPSG:2154 set as CRS for the project in project properties/"CRS" (NOT only in "OWS server"!)
Idea 2: Was the project saved from the same QGIS version as QGIS server?
Idea 3: Install QWC freshly from the repository, just change the authid in Global options and see what happens

Bernhard


Am 13.05.2014 10:01, schrieb Amandine SCHLOUPT:
Hi,

OK. The value of "var useGetProjectSettings" is true.
When I change the value by false, all layers are selected.
But my problem don't change...

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.
But my error is diferrent :
"TypeError: y is null" in ext-all.js (line 7)

Thanks

*Amandine *

------------------------------------------------------------------------
*De: *"Bernhard Ströbl" <[email protected]>
*À: *"Amandine SCHLOUPT" <[email protected]>, "Andreas Neumann"
<[email protected]>
*Cc: *[email protected]
*Envoyé: *Mardi 13 Mai 2014 09:25:47
*Objet: *Re: [Qgis-user] Help for QGIS-Web-Client

Hi Amandine,

Am 13.05.2014 09:18, schrieb Amandine SCHLOUPT:
 > Hi Bernhard and Andreas,
 >
 > I thought that parameters WIDHT, HEIGHT BBOX and CRS were optional...
 > 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).
 > In QGIS-desktop, my project appears with my layer and I can load image.
 > So, QGIS-Server run without error?

If you get a map the server is fine.
 >
 > 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/.
 >
 > What is the error ?
 > "TypeError: wmsLoader.projectSettings.service is undefined"
 > var thisAbstract = wmsLoader.projectSettings.service.abstractLine 1756
 > in ../site/js/WebgisInit.js

is Line 15 of your GlobalOptions reading:
var useGetProjectSettings = true;

Bernhard


__________ Information from ESET Mail Security, version of virus
signature database 9791 (20140512) __________

The message was checked by ESET Mail Security.
http://www.eset.com



__________ Information from ESET Mail Security, version of virus signature 
database 9793 (20140513) __________

The message was checked by ESET Mail Security.
http://www.eset.com


_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to