<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-01-26 13:37 GMT+01:00 jaitor <span dir="ltr"><<a href="mailto:sigeo.agmartin@getxo.eus" target="_blank">sigeo.agmartin@getxo.eus</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I am running a Windows Server 2012 server.<br>
PostgreSQL 9.3.5, 64-bit<br>
POSTGIS 2.1.3<br>
QGIS Server 2.6.1-2<br>
QGIS Desktop 2.8.3<br>
<br>
I am using a Microsoft Surface Pro 4 tablet using QGIS Desktop 2.12 to edit<br>
some layers stored in the Postgresql database. The layers in the tablet are<br>
WFS layers served by QGIS Server.<br>
<br>
When I toogle editing after inserting some data in the layer to force the<br>
data to be sent and stored in the server sometimes the commit is not being<br>
done from QGIS Server to the Database.<br>
<br>
I can see that the POST http request arrives to the server ok, but sometimes<br>
I can't see a commit (update) in the database and some other times it works<br>
ok and does the commit.<br>
<br>
I ensure every time that internet connection is fine.<br>
<br>
When loading the QGIS project with 50 WFS layers in the tablet (client),<br>
sometimes two or three layers are not read and I need to click in apply<br>
several times until they are read properly and the project finishes<br>
loading.. I don't know if this problem is related to the one I mentioned<br>
before.<br>
<br>
The problem that worries me is the first one, because there is people<br>
working in field inserting data the whole day, and when they arrive to their<br>
office they connect teh tablet to wifi (or even ethernet cable) to ensure<br>
internet is fine and they toogle edition to save changes. As mentioned<br>
before, sometimes data is not stored in postgis but no error is propagated<br>
to QGIS Client, so the user thinks that the data has been stores correctly.<br>
<br>
The funny thing is that they have been working for 40 days and hey only got<br>
this problem once, but since last week they have had this problem every<br>
day...<br>
<br>
I've been trying to activate QGIS Server logs to see what error it is giving<br>
adding these two lines to D:\OSGeo4W\httpd.d\httpd_qgis.conf<br>
<br>
SetEnv QGIS_SERVER_LOG_FILE /var/tmp/qgislog.txt<br>
SetEnv QGIS_SERVER_LOG_LEVEL 0<br>
<br>
But no log file is being generated.<br></blockquote><div><br></div><div>If you are using FAST CGI, you can try:<br><span class=""><br>FcgidInitialEnv QGIS_DEBUG 1</span><span class=""><br>FcgidInitialEnv QGIS_SERVER_LOG_FILE /tmp/qgis-000.log</span><span class=""></span><span class=""><br>    FcgidInitialEnv QGIS_SERVER_LOG_LEVEL 0</span><br></div><div> <br clear="all"></div></div><br></div><div class="gmail_extra">Hope this helps.<br><br></div><div class="gmail_extra">-- <br><div class="gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</div></div>