[Qgis-user] Help for QGIS-Web-Client

Amandine SCHLOUPT aschloupt at aguram.org
Mon May 12 07:16:56 PDT 2014


I downloaded and configured the lastest version of QWC. 

I get a response on a GetMap request (http://localhost/cgi-bin/qgis_mapserv.fcgi?map=/var/www/qgis-web-client/projects/agriculture.qgs&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&LAYERS=adm_lorraine_bdt&FORMAT=image/png) : "500 Internal Server Error" 

Internal Server Error 

The server encountered an internal error or misconfiguration and was unable to complete your request. 

Please contact the server administrator, webmaster at localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. 

More information about this error may be available in the server error log. 
I don't know how to do in QGIS desktop for GetMap request... 



When I run QWC, I get an error with firebug : 

TypeError: wmsLoader.projectSettings.service is undefined 
var thisAbstract = wmsLoader.projectSettings.service.abstract; 


The CRS of the project is defined : 2154. I don't understand "QWC match?". 

Thanks! 



Amandin e 
----- Mail original -----

De: "Andreas Neumann" <a.neumann at carto.net> 
À: qgis-user at lists.osgeo.org 
Envoyé: Lundi 12 Mai 2014 14:41:27 
Objet: Re: [Qgis-user] Help for QGIS-Web-Client 

Hi Amandine, 

If QGIS server works fine with QGIS desktop as a client I would re-check 
the configuration files of QGIS web client. 

QGIS web client updates often also update the GlobalOptions.js file and 
introduces new variables there in the code. It helps if you compare the 
GlobalOptions.js of your project with the new GlobalOptions.js delivered 
by Github. Make sure the new additions from github are also ending up in 
your own GlobalOptions.js 

Hope this helps, 
Andreas 

Am 12.05.2014 12:10, schrieb Amandine SCHLOUPT: 
> My QGIS-project is configured (project, setting OWS-Server) and I have QGIS 2.2. 
> I tested again QGIS Server WMS and I see layers of my project-QGIS. 
> 
> But, on QGIS-Web-Client, my QGIS-project always tries to load the map.... 
> 
> 
> Thanks 
> 
> 
> 
> Amandine 
> 
> ----- Mail original ----- 
> 
> De: "Bernhard Ströbl" <bernhard.stroebl at jena.de> 
> À: "Amandine SCHLOUPT" <aschloupt at aguram.org> 
> Cc: qgis-user at lists.osgeo.org 
> Envoyé: Lundi 12 Mai 2014 12:30:26 
> Objet: Re: [Qgis-user] Help for QGIS-Web-Client 
> 
> Hi, 
> 
> have you configured your QGIS-project with the same version you run on 
> the server (especially project-settings OWS-Server)? 
> If you have a QGIS 1.8 project file and try to run it with QGIS 2.x on 
> the server you will get problems. 
> 
> Bernhard 
> 
> Am 12.05.2014 12:14, schrieb Amandine SCHLOUPT: 
>> I think that problem is QGIS-Server, or maybe apache2? 
>> 
>> Result with GetCapabilities 
>> (http://localhost/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities) 
>> : /"text/xml image/jpeg image/png image/png; mode=16bit image/png; 
>> mode=8bit image/png; mode=1bit text/plain text/html text/xml 
>> application/vnd.ogc.gml application/vnd.ogc.gml/3.1.1 image/jpeg 
>> image/png text/xml svg png pdf text/xml wfslayer//"/. 
>> 
>> With QGIS Desktop (URL = 
>> http://192.168.0.232/cgi-bin/qgis_mapserv.fcgi?), I have : 
>> 
>> 
>> Thanks! 
>> 
>> *Amandine 
>> * 
>> 
>> 
>> ------------------------------------------------------------------------ 
>> *De: *"Bernhard Ströbl" <bernhard.stroebl at jena.de> 
>> *À: *qgis-user at lists.osgeo.org 
>> *Envoyé: *Lundi 12 Mai 2014 09:17:00 
>> *Objet: *Re: [Qgis-user] Help for QGIS-Web-Client 
>> 
>> Hi Amandine, 
>> 
>> it is hard to tell what is going wrong. Please be more precise. Is it a 
>> QGIS-Server or QGIS-web-client (QWC) problem? How to detect: 
>> Can you connect to the server (GetCapabilities) and receive maps 
>> (GetMap) with another client (e.g. your browser, QGIS desktop)? 
>> What are you doing and what happens? 
>> 
>> Bernhard 
>> 
>> 
>> Am 12.05.2014 09:07, schrieb Amandine SCHLOUPT: 
>>> Hi all, 
>>> 
>>> I have an Ubuntu precise 12.04.3 LTS. 
>>> 
>>> I would like to update QGIS-Web-Client : 
>>> 
>>> * I have updated QGIS 
>>> (http://www.qgis.org/fr/site/forusers/alldownloads.html#ubuntu) like 
>>> this : apt-get install qgis python-qgis. It's OK. 
>>> * Then, I have updated QGIS Server 
>>> (http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial) 
>>> with : apt-get install qgis-mapserver libapache2-mod-fcgid. It's OK. 
>>> * Finally, I have updated apache2 
>>> (https://github.com/qgis/qgis-web-client) like this : apt-get 
>>> install apache2 libapache2-mod-fcgid. It's OK. 
>>> 
>>> I have installed QGIS-Web-Client again and my map's projects are not 
>>> loaded... 
>>> 
>>> 
>>> I have tried with old version of QGIS-Web-Client (which is already 
>>> installed), and my projects are still not loaded. 
>>> 
>>> 
>>> 
>>> Have you encountered this problem? 
>>> I think QGIS-Web-Client didn't appreciate the updateof apache2 or 
>>> libapache2-mod-fcgid. 
>>> 
>>> Thank you! 
>>> 
>>> HTH, 
>>> 
>>> *Amandine 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140512/b8606b37/attachment.html>


More information about the Qgis-user mailing list