<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Franceso,</p>
<p>It is probably this known issue: <a href="http://hub.qgis.org/issues/14321">http://hub.qgis.org/issues/14321</a></p>
<p>Expect a fix for this soon at github.</p>
<p>I am a bit surprised it complains about Layer "Layername" and not template name though. I would expect the latter.</p>
<p>Andreas</p>
<p>On 2016-03-03 11:32, Francesco Marigliano wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->Hi all,<br /><br /> I'm having problems with the print functionality of qgis webclient.<br /> Suppose that I made two prject: <em>a.qgs</em> and <em>b.qgs. </em>Suppose that the projects have different layers and in both are defined different print templates.<br /><br /><strong>Scenario 1</strong><br /> Following the address <a class="moz-txt-link-freetext" href="http://myhost/app.html?map=">http://myhost/app.html?map=</a><strong>a</strong>.qgs the print feature works properly, but if I choose the <strong>b</strong> project from the theme switcher and I try to print, I get the error: <br /><br /> Layer <em>"layername"</em> does not exists<br /><br /><strong>Scenario 2</strong><br /> Following the address <a class="moz-txt-link-freetext" href="http://myhost/app.html?map=">http://myhost/app.html?map=</a><strong>b</strong>.qgs the print feature works properly, but if I choose the <strong>a</strong> project from the theme switcher and I try to print, I get the error: <br /><br /> Layer <em>"layername"</em> does not exists<br /><br /><br /><br /> Thanks in advantage for the support.<br /><br /> Cheers,<br /> F.<br /><br /><br /><hr style="border: none; color: #909090; background-color: #b0b0b0; height: 1px; width: 99%;" />
<table style="border-collapse: collapse; border: none;">
<tbody>
<tr>
<td style="border: none; padding: 0px 15px 0px 8px;"><a href="https://www.avast.com/antivirus"> <img src="/apps/assets/program/resources/blocked.gif" alt="Avast logo" border="0" /></a></td>
<td>
<p style="color: #3d4d5a; font-family: 'Calibri','Verdana','Arial','Helvetica'; font-size: 12pt;">Questa e-mail è stata controllata per individuare virus con Avast antivirus. <br /><a href="https://www.avast.com/antivirus">www.avast.com</a></p>
</td>
</tr>
</tbody>
</table>
<br /><!-- html ignored --><br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br /> Qgis-user mailing list<br /><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br /> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br /> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote>
<p> </p>
<div> </div>
</body></html>