<div dir="ltr"><div>I solved part ...... now try to summarize what I have done now with this demo into lizmap "Montpellier" to print the PDF. </div><div><br></div><div>While the same operation done on my project generates me this error in the log file of apache: </div>

<div><br></div><div><b><span style="color:rgb(51,51,51);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px">[Wed Jun 11 00:34:15 2014] [warn] [client 127.0.0.1] mod_fcgid: error reading data, FastCGI server closed connection </span><br style="color:rgb(51,51,51);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px">

<span style="color:rgb(51,51,51);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px">[Wed Jun 11 00:34:15 2014] [error] [client 127.0.0.1] Premature end of script headers: qgis_mapserv.fcgi </span><br style="color:rgb(51,51,51);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px">

<span style="color:rgb(51,51,51);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px">[Wed Jun 11 00:34:17 2014] [error] mod_fcgid: process /usr/lib/cgi-bin/qgis_mapserv.fcgi(7515) exit(communication error), get unexpected signal 6 </span></b><br>

</div><div><br></div><div>However, I have done these steps: </div><div><br></div><div>1. Reinstalled debian 7.5 (LAMP) </div><div><br></div><div>2. Added to repo file, those qgis (wheezy main deb <a href="http://qgis.org/debian">http://qgis.org/debian</a> </div>

<div><a href="http://qgis.org/debian">http://qgis.org/debian</a> wheezy main deb-src) </div><div><br></div><div>3. Qgis-mapserver libapache2-mod-fcgid </div><div><br></div><div>4. Restart the apache server </div><div><br>

</div><div>5. Install of lizmap (in this case 2.9.4) </div><div><br></div><div>Nb: my qgis version is 2.2 and the plugin lizmap is 1.9.7. version of qgis-map server is 2.2.0. </div><div><br></div><div>With these steps, the print function for the demo works, it remains now to understand why it does not work with my project and I generates the log file of apache error posted at the beginning. </div>

<div><br></div><div>Thanks for the help</div><div><br></div><div>Andrea</div><div class="gmail_extra"><br><br><br><br><div class="gmail_quote">2014-06-10 18:05 GMT+02:00 Andrea Fantini <span dir="ltr"><<a href="mailto:afantini@gmail.com" target="_blank">afantini@gmail.com</a>></span>:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Michael </div><div><br></div><div>the log file does not exist any mistakes </div><div><br></div>

<div>what "lizmap" should print to pdf elements are shape-files displayed in webgis "lizmap" and the default items in the print template present in the project of qgis. </div>
<div><br></div><div>I also tried to create a simple model with only the element map, qgis from the desktop, but the result does not change. </div><div><br></div><div>I hope this problem is not only related to my debian server or the project of qgis but also to other people .... </div>


<div>I hope for a solution :) unfortunately for my case development printing is a very imported ..... help! </div><div><br></div><div>thanks </div><div>Andrea</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">


2014-06-10 17:32 GMT+02:00 kimaidou <span dir="ltr"><<a href="mailto:kimaidou@gmail.com" target="_blank">kimaidou@gmail.com</a>></span>:<div><div class="h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr"><div><div><div>Hi Andrea,<br><br></div><div>This must be a QGIS Server error, as Lizmap only build the GetPrint url and send it to QGIS Server.<br></div><div><br>Could you please be more explicit with the encountered error ? Do you have any log in the Apache error log ? (usually in /var/log/apache2/error.log if you have not changed the default value ).<br>



<br></div>What is the content of the composer you try to print via the GetPrint request ? Does it contains any HTML items, or text items with "display HTML" ?<br><br></div>Thanks for your answer,<br></div>Michael<br>



</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-10 13:05 GMT+02:00 Andrea Fantini <span dir="ltr"><<a href="mailto:afantini@gmail.com" target="_blank">afantini@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div>
<div dir="ltr"><div>Hello </div><div><br></div><div>I developed a WebGIS with lizmap 2.10 but I have a problem with the print button is Lizmap with version 2.8, 2.9 to 2.10, that is, when I click on the print button I generate a pdf white. For me it works all the rest. </div>





<div><br></div><div>This problem is also present with the demo present by default in all versions of lizmap. </div><div><br></div><div>My server is Debian version 7.5, this is the package x11-common and also I also followed this guide: <a href="http://www.itopen.it/2014/03/13/qgis-server-setup-notes/lang-pref/en/" target="_blank">http://www.itopen.it/2014/03/13/qgis-server-setup-notes/lang-pref/en/</a> , but unfortunately the problem remains. </div>





<div><br></div><div>The project has been realized with Qgis 2.2. </div><div><br></div><div>Thank you very much for your support! </div><div><br></div><div>BY </div><span><font color="#888888"><div><br></div>
<div>Andrea</div><div><br></div>
</font></span></div>
<br></div></div>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div></div></blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br>

</font></span></div></blockquote></div>
</div></div>