<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>3DSite</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>Cartoweb 3.3 had several incompatibility with
php 5.2, which were corrected in 3.4 and cvs.</FONT></DIV>
<DIV><FONT color=#000000 size=2>this is one of them.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2>replace </FONT></DIV>
<DIV><FONT color=#000000 size=2>$this->log->debug("Query on layer
$layerId: queryByRect($msRect)");</FONT></DIV>
<DIV><FONT color=#000000 size=2>by</FONT></DIV>
<DIV>$this->log->debug("Query on layer $layerId:
queryByRect(msRect)");</DIV>
<DIV>in file ServerMapquery.php</DIV>
<DIV> </DIV>
<DIV><FONT color=#000000 size=2>but there are several other code touch up like
that which were needed because of php 5.2</FONT></DIV>
<DIV><FONT color=#000000 size=2>If using CW3.4 is not an option, you will have
to look at the lines returned by the error message and compare the code of 3.3
and 3.4.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#000000 size=2>regards</FONT></DIV>
<DIV><FONT color=#000000 size=2>Oliver</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=mlinden@zeelandnet.nl href="mailto:mlinden@zeelandnet.nl">Milo van
der Linden</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, October 01, 2007 2:38
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] Object can not
be converted to string errors</DIV>
<DIV><BR></DIV><FONT face="Helvetica, Arial, sans-serif">Hello
Cartowebbers!<BR><BR>I have a demo project running at:<BR><BR><A
class=moz-txt-link-freetext
href="http://cartoweb.bosqom.nl/cartoweb3/htdocs/index.php">http://cartoweb.bosqom.nl/cartoweb3/htdocs/index.php</A><BR><BR>Please
take a look at the fancy interface...<BR><BR>It is running Cartoweb3.3 on IIS
and php 5.2, there is one problem left. There are issues with the debug and
logger strings; they are sometimes converted from object. In php 5.1.x, this
was no issue, php simply returned the text object; but in php 5.2 an error is
raised. <BR><BR>The error can be achieved by going to the demo site and simply
requesting a query by drawing a rectangle on the map or pointing at an object
on the map.<BR><BR>Can anyone please try it? debug is on, so the error message
will be displayed.<BR><BR>Kind regards,<BR><BR></FONT>
<DIV class=moz-signature>-- <BR>
<STYLE type=text/css>BODY {
        MARGIN: 5px; BACKGROUND-COLOR: #ffffff
}
BODY {
        FONT-SIZE: 12px; COLOR: #333333; FONT-FAMILY: Arial, Helvetica, sans-serif
}
TD {
        FONT-SIZE: 12px; COLOR: #333333; FONT-FAMILY: Arial, Helvetica, sans-serif
}
TH {
        FONT-SIZE: 12px; COLOR: #333333; FONT-FAMILY: Arial, Helvetica, sans-serif
}
.style4 {
        FONT-SIZE: 9px
}
.style5 {
        FONT-SIZE: 9px; COLOR: #cccccc
}
</STYLE>
<META content="MSHTML 6.00.2900.2912" name=GENERATOR><BR>
<TABLE cellSpacing=0 cellPadding=0 width=400 border=0>
<TBODY>
<TR>
<TD vAlign=bottom align=left width=15 height=0 rowSpan=3><BR></TD>
<TD vAlign=top align=left width=0 colSpan=2 height=78>
<P class=style4>Milo van der Linden <BR><A
href="skype:milovanderlinden?add">skype: milovanderlinden</A><BR><A
href="mailto:mlinden@zeelandnet.nl">mlinden@zeelandnet.nl</A><BR><A
href="mailto:milovanderlinden@gmail.com">milovanderlinden@gmail.com</A><BR><A
href="mailto:milo@3dsite.nl">milo@3dsite.nl</A><BR><A
href="http://www.3dsite.nl">http://www.3dsite.nl</A><BR></P></TD>
<TD vAlign=top align=left width=15 height=0 rowSpan=3> </TD>
<TD vAlign=top width=300>
<P class=style5><SPAN lang=NL>De informatie in dit bericht reflecteert
mijn persoonlijke mening en niet die van een bedrijf of instantie. Aan
de informatie kunnen geen rechten worden ontleend. Indien dit bericht
onderdeel is van een forum, mailing-list of community dan gelden
automatisch de bij het betreffende medium behorende voorwaarden.</SPAN>
<SPAN lang=EN>The information in this message reflects my personal
opinion and not that of a company or public body. All rights reserved.If
this message is contained in a mailing-list or community, the rights on
the medium are automatically
adapted.</SPAN></P></TD></TR></TBODY></TABLE></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>