<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>
<META content="MSHTML 6.00.6001.18148" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I turned the all error reporting on and found out
that I forgot to copy the newly compiled mapscript.so with PostGIS support to
the PHP's directory.</FONT></DIV>
<DIV><FONT face=Arial size=2>Anyways, we learn on mistakes. :)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks and sorry for bothering,</FONT></DIV>
<DIV><FONT face=Arial size=2>Matej</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:matej@matnet.net">matej@matnet.net</A></FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=danlittle@yahoo.com href="mailto:danlittle@yahoo.com">Dan Little</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=matej@matnet.net
href="mailto:matej@matnet.net">Matej</A> ; <A
title=geomoose-users@lists.sourceforge.net
href="mailto:geomoose-users@lists.sourceforge.net">geomoose-users@lists.sourceforge.net</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A
title=geomoose-developers@lists.sourceforge.net
href="mailto:geomoose-developers@lists.sourceforge.net">geomoose-developers@lists.sourceforge.net</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, November 13, 2008 3:28
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Geomoose-users] Printing
PostGIS layer - error</DIV>
<DIV><BR></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial,helvetica,sans-serif">
<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-SIZE: 10pt; FONT-FAMILY: arial,helvetica,sans-serif"><BR>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif"><FONT
face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Matej <<A
href="mailto:matej@matnet.net">matej@matnet.net</A>><BR><B><SPAN
style="FONT-WEIGHT: bold">To:</SPAN></B> <A
href="mailto:geomoose-users@lists.sourceforge.net">geomoose-users@lists.sourceforge.net</A><BR><B><SPAN
style="FONT-WEIGHT: bold">Cc:</SPAN></B> <A
href="mailto:geomoose-developers@lists.sourceforge.net">geomoose-developers@lists.sourceforge.net</A><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> </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> </DIV>
<DIV><FONT face=Arial size=2>But 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> </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> </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 href="mailto:matej@matnet.net" target=_blank
rel=nofollow
ymailto="mailto:matej@matnet.net">matej@matnet.net</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><BR></FONT></DIV><FONT face=Arial
size=2></FONT></DIV></DIV></DIV><BR></BLOCKQUOTE></BODY></HTML>