Bonjour / Bonsoir
Je suis confronté à un petit problème qui je pense sera très vite réglé mais là je peine à trouver la solution.
Tout d'abord il s'agit de ma première installation de Lizmap dans un environnement Linux.
En plus de cela j'ai fait l'installation chez Alwaysdata (en PaaS) ce qui m'a valu de me constituer mon propre tuto d'installation car ça diffère vraiment de l'installation "classique".
Bref, revenons au problème.
J'imagine que c'est un problème de réglage avec PGSQL (je suis en plain text pour tout dire), mais je suppose que j'ai dû passer à côté d'un paramètre à activer dans les fichiers ini ?
2020-12-17 17:26:40 176.147.121.212 warning 2020-12-17 17:26:40 [2] SQLite3::query(): Unable to prepare statement: 1, no such table: lizmap_search /home/nokram/liz/lib/jelix/plugins/db/sqlite3/sqlite3.dbconnection.php 112
2020-12-17 17:26:40 176.147.121.212 warning 2020-12-17 17:26:40 [2] file_get_contents(http://aorus.tk/cgi-bin/qgis_mapserv.fcgi?service=WMS&request=GetCapabilitiesAtlas&map=%2Fhome%2Fnokram%2Fliz%2Frepo%2Ftest%5Fpsql%2Eqgs): failed to open stream: HTTP request failed! HTTP/1.1 501 Not Implemented
/home/nokram/liz/lizmap/modules/lizmap/classes/lizmapProxy.class.php 241
2020-12-17 17:26:40 176.147.121.212 notice 2020-12-17 17:26:40 [8] Undefined offset: 15 /home/nokram/liz/lizmap/modules/lizmap/classes/qgisVectorLayer.class.php 229
2020-12-17 17:26:40 176.147.121.212 notice 2020-12-17 17:26:40 [8] Undefined offset: 16 /home/nokram/liz/lizmap/modules/lizmap/classes/qgisVectorLayer.class.php 230
2020-12-17 17:26:43 176.147.121.212 notice 2020-12-17 17:26:43 [8] Undefined offset: 15 /home/nokram/liz/lizmap/modules/lizmap/classes/qgisVectorLayer.class.php 229
2020-12-17 17:26:43 176.147.121.212 notice 2020-12-17 17:26:43 [8] Undefined offset: 16 /home/nokram/liz/lizmap/modules/lizmap/classes/qgisVectorLayer.class.php 230
Lizmap 3.3 does not support QGIS project build with version upper than 3.10.
The QGIS Server compatibilité is explain here https://github.com/3liz/lizmap-web-client/wiki/Versions#qgis-server
QGIS Server FULL version: 3+ (Chez Alwaysdata préinstallée, je n'arrive pas à voir la version exacte)
You can use the button at the top to download the QGIS project and try it on AlwaysData :
https://demo.lizmap.com/lizmap/index.php/view/map/?repository=demo&project=qgis_info
@rldhont Thanks for your answer, I'll try it with an adequate qgis version. (Merci, je vais essayer avec une version de QGIS plus basse).
@Gustry Thanks for your answer and your project. QGIS Server on AlwaysData is 3.4.13 "Madeira". (Merci, la version de QGIS Server chez AlwaysData est 3.4.13 Madeira).
Je pense que le mieux est donc de réaliser mes projets en version 3.4 ? Où je peux monter jusqu'en 3.10 sans problèmes ?
The best is to always have the same version between Server and Desktop.
The server will read your QGIS File, so it can't read some settings he will find in a file made with newer version of QGIS.
I just added some notes about it https://github.com/3liz/lizmap-web-client/commit/40aac2cb27637f0b677e0b6e6cb8866e3d4a84c4