<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div>Matej,<br><br>Are you running the 1.6.X version of print.php or an earlier version?<br><br>I do not see line 255 as a saveImage, on mine the only saveImage call is on line 278.<br><br>Also can you post up the offending mapfile with the username/password redacted? That way we can get a little better idea what might be happening.<br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Matej &lt;matej@matnet.net&gt;<br><b><span style="font-weight: bold;">To:</span></b> geomoose-users@lists.sourceforge.net<br><b><span style="font-weight: bold;">Cc:</span></b>
 geomoose-developers@lists.sourceforge.net<br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, November 13, 2008 8:17:10 AM<br><b><span style="font-weight: bold;">Subject:</span></b> [Geomoose-users] Printing PostGIS layer - error<br></font><br>


 
 
<style></style>

<div><font face="Arial" size="2">Hello everyone,</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">I was finally able to solve that annoying encoding 
problem by getting all the data into the PostGIS database and selecting the 
appropriate client encoding - it works like a charm! :) Maybe this solution will 
help someone else.</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">But&nbsp;I have another problem now: When I am 
trying to print the layer, which has the CONNECTIONTYPE POSTGIS instead of 
CONNECTIONTYPE OGR, I get an error: Fatal error: Call to a member function 
saveImage() on a non-object in /userdir/web/php/print.php on line 255. When I 
hide that layer and print that view, it works like it should. </font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">I can't find anything useful about this on the web 
and I will appreciate any ideas, so that I can get this web site public after 
all.</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">Thanks,</font></div>
<div><font face="Arial" size="2">Matej Serc</font></div>
<div><font face="Arial" size="2"><a rel="nofollow" ymailto="mailto:matej@matnet.net" target="_blank" href="mailto:matej@matnet.net">matej@matnet.net</a></font></div>
<div><font face="Arial" size="2">&nbsp;</font></div>
<div><font face="Arial" size="2"><br></font></div><font face="Arial" size="2"></font></div></div></div><br>



      </body></html>