Hi

first, please do not post your support questions on cartoweb-dev, this 
mailing-list is only for message subject about improving/modifiying the code of 
Cartoweb.
support questions must be posted on cartoweb-users

the error you are getting is most certainly caused by wrong id_attribute_string 
or wrong query_returned_attributes in your layer's metadata.
check that you do not have typo mistakes and that the characters have the 
correct lowercase/uppercase.

regards
Oliver

  ----- Original Message ----- 
  From: tamax 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, June 19, 2008 7:41 PM
  Subject: [Cartoweb-dev] query problem


  Hello!!!

  I´ve developed and application with Cartoweb and query tool can only search 
data from the shapefile layer but I have layers (type point) that are stored in 
postgresql-postgis. I´ve added metadata on them and it has generated the 
following error when I select (with query tool) a region which catch some point:


Class : SoapFaultWrapper
Message : Error [8, Trying to get property of non-object, 
/var/www/cartoweb3/coreplugins/query/server/ServerQuery.php, 122]
Backtrace:
file: 122 - /var/www/cartoweb3/coreplugins/query/server/ServerQuery.php
call: Common::cartowebErrorHandler(8, "Trying to get property of non-object", 
"/var/www/cartoweb3/coreplugins/query/server/ServerQuery.php", 122, Array(8))
file: 294 - /var/www/cartoweb3/coreplugins/query/server/ServerQuery.php
call: ServerQuery->resultToTable(Array(1), "mat_aves", "sim_est", Array(0), 
Object(TableFlags))
file: 423 -
/var/www/cartoweb3/coreplugins/query/server/ServerQuery.php
call: ServerQuery->queryLayer(Object(Bbox), Object(QuerySelection))

  Is it possible to query data from a database layer?
  What can I do?
  The application is avaliable in
  http://ndige01.ccr.ufsm.br/cartoweb3/htdocs/animal.php

  Thanks in advance 


------------------------------------------------------------------------------


  _______________________________________________
  Cartoweb-dev mailing list
  [EMAIL PROTECTED]
  http://lists.maptools.org/mailman/listinfo/cartoweb-dev
_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to