[Cartoweb-users] Object can not be converted to string errors
Oliver Christen
oliver.christen at camptocamp.com
Mon Oct 1 09:10:29 EDT 2007
3DSiteCartoweb 3.3 had several incompatibility with php 5.2, which were corrected in 3.4 and cvs.
this is one of them.
replace
$this->log->debug("Query on layer $layerId: queryByRect($msRect)");
by
$this->log->debug("Query on layer $layerId: queryByRect(msRect)");
in file ServerMapquery.php
but there are several other code touch up like that which were needed because of php 5.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.
regards
Oliver
----- Original Message -----
From: Milo van der Linden
To: cartoweb-users at lists.maptools.org
Sent: Monday, October 01, 2007 2:38 PM
Subject: [Cartoweb-users] Object can not be converted to string errors
Hello Cartowebbers!
I have a demo project running at:
http://cartoweb.bosqom.nl/cartoweb3/htdocs/index.php
Please take a look at the fancy interface...
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.
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.
Can anyone please try it? debug is on, so the error message will be displayed.
Kind regards,
--
Milo van der Linden
skype: milovanderlinden
mlinden at zeelandnet.nl
milovanderlinden at gmail.com
milo at 3dsite.nl
http://www.3dsite.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. 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.
------------------------------------------------------------------------------
_______________________________________________
Cartoweb-users mailing list
Cartoweb-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20071001/f6680e20/attachment-0001.html
More information about the Cartoweb-users
mailing list