Lizmap is not loading layers from a PostgreSQL DB
See original GitHub issueHi, I have a VM with:
- Ubuntu 16.04 LTS Server
- Lizmap 3.1.4
- PHP 7 (with all the dependencies required)
- QGIS server instelled from ubuntugis-stable (it should be version 2.14.11)
I also loaded the Demo projects and they works fine, actually it’s really fast.
I created a new repository and imported a .qgs, that after the addition from the admin menu is now appearing on the WebUI. This project is pointing to an external PostgreSQL DB to load some of the layers.
I can see the service WMS and WFS are working fine, and if I load Montpellier everything works fine:
but when I click on Load the Map the page stays stuck on Loading the map and nothing happens.
I enabled the debug mode hoping that could help me to see something but it seems that when I am clicking on Load the Map for that project nothing is happening, meanwhile when I click on the others like Montpellier I can see some entries populating the messages.log file like this:
2017-11-06 15:01:38 10.64.237.1 default "http:\/\/10.64.237.227:81\/cgi-bin\/qgis_mapserv.fcgi?geometryname=extent&map=%2Fvar%2Fwww%2Flizmap-web-client-3.1.4%2Flizmap%2Finstall%2Fqgis%2Fmontpellier.qgs&outputformat=GeoJSON&propertyname=geometry%2CLIBQUART%2CQUARTMNO&request=GetFeature&service=WFS&typename=Quartiers&version=1.0.0 --> PHP: HTTP\/1.1 200 OK Date: Mon, 06 Nov 2017 14:01:38 GMT Server: Apache\/2.4.18 (Ubuntu) Vary: Accept-Encoding Connection: close Content-Type: text\/plain; charset=utf-8"
I tried to access the DB via my laptop and also from the VM with a client and it works fine. I tried with my computer to open the file .qgs with QGIS Desktop and it’s working fine. I ultimately try to open the project pointing from my QGIS Desktop to the WMS link from the VM and it works fine:
From what I can see the issue seems to be Lizmap that for some reason is not rendering it.
Are there some other logs that I could check? Or could you help me to find out what’s the issue?
Thanks
Issue Analytics
- State:
- Created 6 years ago
- Comments:9
Top GitHub Comments
none of my qgis projects have these options checked, so i’ve never tested them…
have a nice experience with a LWC!
Finally I found out what’s the problem, under the section OWS in QGIS Desktop I had to disable these 2 voices:
Now it’s working fine also with my projects, but I don’t understand why I had to disable them and what they are used for.
Do you know what they are for?
Thank you very much for your help!