<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'>I downloaded and configured the lastest version of QWC.<br><br>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"<br><p><font size="3"><i>Internal Server Error</i></font></p><p><font size="3"><i>
</i></font></p><p><font size="3"><i>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</i></font></p><p><font size="3"><i>
</i></font></p><p><font size="3"><i>Please contact the server administrator,
 webmaster@localhost and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</i></font></p><p><font size="3"><i>
</i></font></p><p><font size="3"><i>More information about this error may be available
in the server error log.</i></font></p><br>I don't know how to do in QGIS desktop for GetMap request...<br><div role="listitem" class="errorTitle focusRow subLogRow "><span class="errorMessage "><br><br></span>When I run QWC, I get an error with firebug : <br></div><div class="errorTitle focusRow subLogRow "><i><span class="errorMessage ">TypeError: wmsLoader.projectSettings.service is undefined<br>var thisAbstract = wmsLoader.projectSettings.service.abstract;</span></i><br><br><br>The CRS of the project is defined : 2154. I don't understand "QWC match?".<br></div><br>Thanks!<br><br><div><span name="x"></span><span><p style="margin-bottom: 0cm;"><font face="Verdana, serif"><font size="2"><b>Amandine </b></font></font></p></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>"Andreas Neumann" <a.neumann@carto.net><br><b>À: </b>qgis-user@lists.osgeo.org<br><b>Envoyé: </b>Lundi 12 Mai 2014 14:41:27<br><b>Objet: </b>Re: [Qgis-user] Help for QGIS-Web-Client<br><br>Hi Amandine,<br><br>If QGIS server works fine with QGIS desktop as a client I would re-check<br>the configuration files of QGIS web client.<br><br>QGIS web client updates often also update the GlobalOptions.js file and<br>introduces new variables there in the code. It helps if you compare the<br>GlobalOptions.js of your project with the new GlobalOptions.js delivered<br>by Github. Make sure the new additions from github are also ending up in<br>your own GlobalOptions.js<br><br>Hope this helps,<br>Andreas<br><br>Am 12.05.2014 12:10, schrieb Amandine SCHLOUPT:<br>> My QGIS-project is configured (project, setting OWS-Server) and I have QGIS 2.2. <br>> I tested again QGIS Server WMS and I see layers of my project-QGIS. <br>> <br>> But, on QGIS-Web-Client, my QGIS-project always tries to load the map.... <br>> <br>> <br>> Thanks <br>> <br>> <br>> <br>> Amandine <br>> <br>> ----- Mail original -----<br>> <br>> De: "Bernhard Ströbl" <bernhard.stroebl@jena.de> <br>> À: "Amandine SCHLOUPT" <aschloupt@aguram.org> <br>> Cc: qgis-user@lists.osgeo.org <br>> Envoyé: Lundi 12 Mai 2014 12:30:26 <br>> Objet: Re: [Qgis-user] Help for QGIS-Web-Client <br>> <br>> Hi, <br>> <br>> have you configured your QGIS-project with the same version you run on <br>> the server (especially project-settings OWS-Server)? <br>> If you have a QGIS 1.8 project file and try to run it with QGIS 2.x on <br>> the server you will get problems. <br>> <br>> Bernhard <br>> <br>> Am 12.05.2014 12:14, schrieb Amandine SCHLOUPT: <br>>> I think that problem is QGIS-Server, or maybe apache2? <br>>><br>>> Result with GetCapabilities <br>>> (http://localhost/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities) <br>>> : /"text/xml image/jpeg image/png image/png; mode=16bit image/png; <br>>> mode=8bit image/png; mode=1bit text/plain text/html text/xml <br>>> application/vnd.ogc.gml application/vnd.ogc.gml/3.1.1 image/jpeg <br>>> image/png text/xml svg png pdf text/xml wfslayer//"/. <br>>><br>>> With QGIS Desktop (URL = <br>>> http://192.168.0.232/cgi-bin/qgis_mapserv.fcgi?), I have : <br>>><br>>><br>>> Thanks! <br>>><br>>> *Amandine <br>>> * <br>>><br>>><br>>> ------------------------------------------------------------------------ <br>>> *De: *"Bernhard Ströbl" <bernhard.stroebl@jena.de> <br>>> *À: *qgis-user@lists.osgeo.org <br>>> *Envoyé: *Lundi 12 Mai 2014 09:17:00 <br>>> *Objet: *Re: [Qgis-user] Help for QGIS-Web-Client <br>>><br>>> Hi Amandine, <br>>><br>>> it is hard to tell what is going wrong. Please be more precise. Is it a <br>>> QGIS-Server or QGIS-web-client (QWC) problem? How to detect: <br>>> Can you connect to the server (GetCapabilities) and receive maps <br>>> (GetMap) with another client (e.g. your browser, QGIS desktop)? <br>>> What are you doing and what happens? <br>>><br>>> Bernhard <br>>><br>>><br>>> Am 12.05.2014 09:07, schrieb Amandine SCHLOUPT: <br>>>> Hi all, <br>>>><br>>>> I have an Ubuntu precise 12.04.3 LTS. <br>>>><br>>>> I would like to update QGIS-Web-Client : <br>>>><br>>>> * I have updated QGIS <br>>>> (http://www.qgis.org/fr/site/forusers/alldownloads.html#ubuntu) like <br>>>> this : apt-get install qgis python-qgis. It's OK. <br>>>> * Then, I have updated QGIS Server <br>>>> (http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial) <br>>>> with : apt-get install qgis-mapserver libapache2-mod-fcgid. It's OK. <br>>>> * Finally, I have updated apache2 <br>>>> (https://github.com/qgis/qgis-web-client) like this : apt-get <br>>>> install apache2 libapache2-mod-fcgid. It's OK. <br>>>><br>>>> I have installed QGIS-Web-Client again and my map's projects are not <br>>>> loaded... <br>>>><br>>>><br>>>> I have tried with old version of QGIS-Web-Client (which is already <br>>>> installed), and my projects are still not loaded. <br>>>><br>>>><br>>>><br>>>> Have you encountered this problem? <br>>>> I think QGIS-Web-Client didn't appreciate the updateof apache2 or <br>>>> libapache2-mod-fcgid. <br>>>><br>>>> Thank you! <br>>>><br>>>> HTH, <br>>>><br>>>> *Amandine<br></div></div></body></html>