[Cartoweb-users] Help:toolTips results(timeout_async)
MUTOTA
s9911197 at students.polytechnic.edu.na
Tue Apr 24 12:28:45 EDT 2007
Hi Lists(cartoweb users)!
I am getting some progress working on toolTips.
I am sure facing challenges.
I am getting no data when tipping on layers I supposed to see
information.
The console (jsTRCE DEBUGGER) print the message:
..
..
error number one:
AjaxPlugins.ToolTips: AJAX request aborted!
AjaxPlugins.ToolTips: sending request for coords 14.184470731875,
-18.65800135604905...
Request sent with url
:./Trumpet.php?toolTips=1&geoX=14.184470731875&geoY=-18.65800135604905&charSet=utf-8〈=
AjaxPlugins.ToolTips: no result
...
...
...
1. Since the database and tables confirmed correct ,What are the possibilities
of not showing data from tables?
---------------------------------
error number two:
message: Error [2, DB::include_once(DB/psql.php) [function.DB-include-once]:
failed to open stream: No such file or directory,
C:\wamp\www\cartoweb3\include\pear\DB.php, 535]
Backtrace:
file: UNKNOWN - UNKNOWN
call: Common::cartowebErrorHandler(2, "DB::include_once(DB/psql.php)
[getDb("rivers")
2. I wondering about complain which I have been told that 'No such file or
directory', the table 'rivers'
I have it my toolTips.ini
;for rivers
timeout_async.rivers.label = "Rivers"
timeout_async.rivers.dsn = "psql://postgres:oracle@localhost:5432/Trumpet"
timeout_async.rivers.dbTableName = rivers
timeout_async.rivers.attributes = "id,t4a_name"
timeout_async.rivers.tolerance = 6
timeout_async.rivers.template = "layerResult.tpl"
,database and
(rivers)
mapfile as well.
.
.
.
LAYER
NAME Rivers
# DATA rivers.shp
LABELCACHE OFF
CONNECTIONTYPE POSTGIS
CONNECTION 'dbname=Trumpet user=postgres password=oracle host=localhost'
DATA "the_geom from (SELECT the_geom, gid,t4a_name from rivers ) as
foo using unique gid using srid=-1"
TEMPLATE "ttt"
LABELITEM "NAME"
LABELMAXSCALE 1e+006
LABELMINSCALE 8000
METADATA
"id_attribute_string" "t4a_name|string"
"id_attribute_string" "t4a_name"
END
.
.
Many thanks for any help in advance,
Andreas ,m
More information about the Cartoweb-users
mailing list