<div dir="ltr"><div><div><div><div><div><div><div>Hello,<br><br></div>I'm trying to set up QGIS server + LizMap under Ubuntu 14.04 x64bits without success.<br><br></div>I'm using the nightly QGIS release 2.7.0 and the stable LizMap 2.9.1 release. Though I've tried other combinations (including QGIS server stable 2.6.0 and LizMap 2.10.0), the result is the same:<br><br></div>Every time I try to load a simple map through LizMap web client, my screen hangs with the 'Loading map data' pop-up and, in the background, you can see the message 'SERVICE NON DISPONIBLE'.<br><br></div>Even the sample projects from LizMap (e.g. Montpellier transports) don't display.<br><br></div>I guess the error is due to some kind of QGIS mapserver missconfiguration, but the 'REQUEST=GetCapabilities' tests through web browser give possitive results.<br><br></div>This is the error I get from Apache2 log:<br><br><div style="margin-left:40px"><span style="font-family:monospace">[Mon Dec 15 18:12:19.296986 2014] [:error] [pid 6498] [client <a href="http://127.0.0.1:56213" target="_blank">127.0.0.1:56213</a>] 2014-12-15 18:12:19\t127.0.0.1\twarning\t2014-12-15 18:12:19\t[2]\tSQLite3::loadExtension(): SQLite Extension are disabled\t/var/www/lizmap-web-client-2.9.1/lizmap/modules/lizmap/classes/lizmapProject.class.php\t326\n, referer: <a href="http://localhost:8080/lizmap/lizmap/www/index.php/view/map/?repository=montpellier&project=montpellier" target="_blank">http://localhost:8080/lizmap/lizmap/www/index.php/view/map/?repository=montpellier&project=montpellier</a></span><br><span style="font-family:monospace">[Mon Dec 15 18:12:19.313205 2014] [:error] [pid 6498] [client <a href="http://127.0.0.1:56213" target="_blank">127.0.0.1:56213</a>] 2014-12-15 18:12:19\t127.0.0.1\twarning\t2014-12-15 18:12:19\t[2]\tfile_get_contents(<a href="http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi?map=%2Fvar%2Fwww%2Flizmap-web-client-2.9.1%2Flizmap%2Fvar%2F..%2Finstall%2Fqgis%2Fmontpellier.qgs&amp;request=GetCapabilities&amp;service=WMS&amp;version=1.3.0" target="_blank">http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi?map=%2Fvar%2Fwww%2Flizmap-web-client-2.9.1%2Flizmap%2Fvar%2F..%2Finstall%2Fqgis%2Fmontpellier.qgs&amp;request=GetCapabilities&amp;service=WMS&amp;version=1.3.0</a>): failed to open stream: Connection refused\t/var/www/lizmap-web-client-2.9.1/lizmap/modules/lizmap/classes/lizmapCache.class.php\t85\n, referer: <a href="http://localhost:8080/lizmap/lizmap/www/index.php/view/map/?repository=montpellier&project=montpellier" target="_blank">http://localhost:8080/lizmap/lizmap/www/index.php/view/map/?repository=montpellier&project=montpellier</a></span><br><span style="font-family:monospace">[Mon Dec 15 18:12:19.313302 2014] [:error] [pid 6498] [client <a href="http://127.0.0.1:56213" target="_blank">127.0.0.1:56213</a>] 2014-12-15 18:12:19\t127.0.0.1\tnotice\t2014-12-15 18:12:19\t[8]\tUndefined variable: http_response_header\t/var/www/lizmap-web-client-2.9.1/lizmap/modules/lizmap/classes/lizmapCache.class.php\t89\n, referer: <a href="http://localhost:8080/lizmap/lizmap/www/index.php/view/map/?repository=montpellier&project=montpellier" target="_blank">http://localhost:8080/lizmap/lizmap/www/index.php/view/map/?repository=montpellier&project=montpellier</a></span><br><span style="font-family:monospace">[Mon Dec 15 18:12:19.313378 2014] [:error] [pid 6498] [client <a href="http://127.0.0.1:56213" target="_blank">127.0.0.1:56213</a>] 2014-12-15 18:12:19\t127.0.0.1\twarning\t2014-12-15 18:12:19\t[2]\tInvalid argument supplied for foreach()\t/var/www/lizmap-web-client-2.9.1/lizmap/modules/lizmap/classes/lizmapCache.class.php\t89\n, referer: <a href="http://localhost:8080/lizmap/lizmap/www/index.php/view/map/?repository=montpellier&project=montpellier" target="_blank">http://localhost:8080/lizmap/lizmap/www/index.php/view/map/?repository=montpellier&project=montpellier</a></span><br></div><br></div>The first error states '<span style="font-family:monospace">SQLite Extension are disabled</span>', but SQLite extensions are enabled, according to phpinfo():<br><br><div style="margin-left:40px"><span style="font-family:monospace">Additional .ini files parsed: ... /etc/php5/apache2/conf.d/20-sqlite3.ini </span><br><span style="font-family:monospace"></span><br><span style="font-family:monospace">-------</span><br><span style="font-family:monospace">sqlite3</span><br><span style="font-family:monospace">-------</span><br><span style="font-family:monospace">SQLite3 support         enabled</span><br><span style="font-family:monospace">SQLite3 module version  0.7-dev</span><br><span style="font-family:monospace">SQLite Library          3.8.2</span><br><span style="font-family:monospace"></span><br><span style="font-family:monospace">---------</span><br><span style="font-family:monospace">Directive               Local Value    Master Value</span><br><span style="font-family:monospace">---------</span><br><span style="font-family:monospace">sqlite3.extension_dir   no value       no value</span><br></div><br><div><br>Any idea for solving the problem?<br><div><br>TIA...<br clear="all"><div><div><div><div><div><div><div><div><br>-- <br><div><div dir="ltr"><br>
<table style="border-width:1px 2px 2px 1px;border-style:solid;border-color:black;font-size:11pt;width:470px;color:black" border="0" cellpadding="2" cellspacing="2">
  <tbody>
  <tr>
    <td rowspan="2" align="center" valign="center" width="35%"><a href="http://www.ucm.es/" target="_blank"><img src="http://www.ucm.es/nodes/web/00media/img/ucm-ws.png" align="middle" border="0" height="70" width="70"></a>   </td>
    <td colspan="3" align="center" bgcolor="#a50000"><a href="http://www.ucm.es/" target="_blank"><font style="text-decoration:none" color="white" face="Verdana"><b>Universidad Complutense de Madrid</b></font></a> </td>
  </tr>
  <tr>
    <td colspan="3" align="center"><font color="#000099" face="Verdana">Dr. <b>Víctor Manuel Herreros Villanueva</b> </font><br><font color="#000099" size="1" face="Verdana">Jefe de Proyecto</font>
        </td>
  </tr>
  <tr>
    <td colspan="2" align="left"><font color="#000099" face="Verdana"><b>Gestión de Espacios<br>Data Warehouse</b></font><br>
       
        </td>
    <td colspan="2" align="right" width="48%"><font color="#336699" face="Verdana">Jardín Botánico</font><font color="#336699" face="Verdana"><br>
      Av. Complutense s/n<br>28040 Madrid</font>
        </td>
  </tr>
  <tr>
    <td colspan="2" align="left"><font color="#000099" size="1" face="Verdana"><i>Tfn. 
      (+34) 91 394 <b>7275</b><br>
      Fax. (+34) 91 394 <b>4773</b></i> </font>
        </td>
    <td align="right"><a href="mailto:vherreros@ucm.es" target="_blank"><font style="text-decoration:none" color="#000099" size="1" face="Verdana">vherreros@ucm.es</font></a>
        </td>
  </tr>
  </tbody>
</table>
<p><br>
</p>
</div></div>
</div></div></div></div></div></div></div></div></div></div></div>