[Cartoweb-users] mapquery issue
zze-SIGALE PORTANERI F ext RD-BIZZ-SOP
fportaneri.ext at orange-ftgroup.com
Thu Mar 22 11:11:49 EST 2007
Hi,
I have a mapquery plugin issue: While doing a queryByBbox() request on a
area where one element must be found, the cartoclient display the
following error:
class CartocommonException { protected $message = 'Error [8, Trying to
get property of non-object,
/exec/applis/sglpgo/G01R00C02/cartoweb3/coreplugins/query/server/ServerQ
uery.php, 122] Backtrace: file: 200 -
/exec/applis/sglpgo/G01R00C02/cartoweb3/common/Common.php call:
Common::cartowebErrorHandler() file: 122 -
/exec/applis/sglpgo/G01R00C02/cartoweb3/coreplugins/query/server/ServerQ
uery.php call: Common::cartowebErrorHandler() file: 122 -
/exec/applis/sglpgo/G01R00C02/cartoweb3/coreplugins/query/server/ServerQ
uery.php call: ServerQuery::resultToTable() file: 227 -
...
Adding traces to the log and trying to analyse it, it looks like the
serveurMapquery plugin found one element and the extractResults
$msLayer->getResult($i) return an object as follow:
Thu Mar 22 16:25:22 2007,703 [30941] DEBUG ServerMapquery - class
stdClass {
public $shapeindex = 1841530366;
public $tileindex = -1;
public $classindex = 6;
}
Which is return a shape to the ServerQuery plugin as follow:
Thu Mar 22 16:25:22 2007,704 [30941] DEBUG ServerQuery - resultshape=
Thu Mar 22 16:25:22 2007,705 [30941] DEBUG ServerQuery - array (
0 => false,
)
Any clue?
Thanks in advance,
Franck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20070322/ec1e9c8f/attachment.html
More information about the Cartoweb-users
mailing list