Hi Amandine,
hmm, the GetMap request lacks some parameters: WIDHT HEIGHT BBOX CRS ;
not sure if they are optional, I doubt it though, because they tell the
server the size of the image you request (WIDHT, HEIGHT) the part of the
world you want to see (BBOX) and the projection the map should be in (CRS)
Use QGIS desktop to request maps, leave just _one_ layer in your
server's project and try to get a map from that in a first step.
You must have QGIS server running without errors prior to QWC!
Bernhard
Am 12.05.2014 15:31, schrieb Amandine SCHLOUPT:
I have "500 Internal Server Error" 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"):
/Internal Server Error/
//
/The server encountered an internal error or misconfiguration and was
unable to complete your request./
//
/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./
//
/More information about this error may be available in the server error
log./
I don't know how to do in QGIS desktop...
When I run QWC, I get an error with firebug :
"TypeError: y is null
...;if(a.getMonth()==G.getMonth()&&a.getFullYear()==G.getFullYear()){this.cells.rem..."
The CRS of the project is defined : 2154. I don't understand "QWC match?".
Define the same CRS in GlobalOptions.js
Thanks!
*Amandine *
------------------------------------------------------------------------
*De: *"Bernhard Ströbl" <[email protected]>
*À: *"Amandine SCHLOUPT" <[email protected]>
*Cc: *[email protected]
*Envoyé: *Lundi 12 Mai 2014 14:10:30
*Objet: *Re: [Qgis-user] Help for QGIS-Web-Client
Well,
QWC obviously reads GetCapabilities (or GetProjectSettings) otherwise
the layer tree would not show any layers. Do you get a response on a
GetMap request (either in your browser or in QGIS desktop)?
If you use mozilla install firebug and check which script hangs (and
where). Just a guess: do the CRS of the project and QWC match?
Bernhard
Am 12.05.2014 14:04, schrieb Amandine SCHLOUPT:
> My QGIS-project is configured (project, setting OWS-Server) and I have a
> QGIS 2.2.
> I tested again QGIS Server WMS and I have :
>
>
> But, on QGIS-Web-Client, my QGIS-projects always tries to load the
map....
>
>
> Thanks
>
> *Amandine
> *
>
>
> ------------------------------------------------------------------------
> *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 SCHLOUPT
__________ Information from ESET Mail Security, version of virus signature
database 9789 (20140512) __________
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