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" <[email protected]> > À: "Amandine SCHLOUPT" <[email protected]> > Cc: [email protected] > 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" <[email protected]> >> *À: *[email protected] >> *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 > > > > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user > _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
