Gaston Izaguirre wrote:
> Armin,
> 
> 
> 1) first when the map loads (or on every reload) I get a JS error:
> 
>     Line 92 (xmlhttp.js)
>     Error: ':' was expected.
> 
> Line 92 contains: eval('response = ' + req.responseText);
> 
> which is related with this logs in the Apache access.log:

the Apache access logs do not help very much. You need the *PHP error log*.

For this error I would try a new version of p.mapper (latest 3.1) and 
disable all DEBUG tags in the map file. I could never reproduce this 
kind of error.



> 2) search,
> when I perform some kind of search (e.g.: Search for point labeled "04" 
> in layer "poi110"), in the Apache access.log I can see this entry:
>  
> And the query result is an empty window with the following HTML code:
> 
> <HTML>
> <HEAD>
> <link rel="stylesheet" href="templates/default.css"><style 
> type="text/css"></style>
> </HEAD>
> <BODY>
> </BODY>
> </HTML>
> 
> So, there is no JSON object...
> 

In this case there was no exchange of the blank.html with the 
info.phtml. I'd suggest trying a newer pm version. I don't know if 
search is working for VRT layers, though.



> 3) identify,
> when I click over one point, in most cases, I get the following error:
> 
>     Line 42 (pmjson.js)
>     Error: '0.lenght' is null or not an object.
> 
> Line 42 contains: if (jsonstr[0].length == 0) {
> 

This error was corrected in newer pm versions. But should not be related 
to your main problem.

> Can this be ralated with TOLERANCE settings in map file?
> 
> In other cases, when I get a result, always is the same result without 
> concerning the point that I am consulting. Always I get the same point.
> 

> 3) select,
> when I select some points always get wrong reults. e.g.:
> In layer "poi110" I have 3 points, "110 30", "110 56" and "110 59".
> No matter what point I select, always the result table is (only varies 
> the number of points):
> 
> Etiqueta     Latitud            Longitud       Fecha/Hora
> 110 56      -34.605500    -58.44735    2007-01-13 10:07:15.000
> 110 30      -34.652437    -58.427938  2007-02-14 17:03:22.000
> 110 59      -34.585587    -58.416488  2007-02-14 17:03:35.000
> 
> If I select one point, I (always) get as result
> 110 56      -34.605500    -58.44735    2007-01-13 10:07:15.000

Ask on the MapServer list since I guess this is a bug of the VRT layer 
implementation. The query (select - queryByRect and identify - 
queryByPoint) always returns the result rows of the *first* records in 
the dataset, no matter which are selected on the map (the number of 
records returned corresponds correctly to the ones selected). Since the 
whole query part is working in pmapper I don't see why there should be 
an error in this. And the PHP-Mapscript had quite some annoying bugs in 
the last time that take eternities to be fixed in a stable version.

armin

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to