[Geomoose-users] No Element found error in GeoMoose.js
Brent Fraser
bfraser at geoanalytic.com
Tue Aug 17 10:51:19 EDT 2010
Change your <service definition from
<input type="hidden" name="layer" value="pinSearch"/>
to
<input type="hidden" name="layer" value="Parcels"/>
(it should be the LAYER name in your map file)
And the FILTER should contain the database column name, "parcel_no".
Brent
t faustino wrote:
> Brent,
>
> As always, my thanks for your helpful response.
>
> Interestingly using your suggestion _FILTER 'parcel_no=%id%'_ I can see
> a layer=undefined&id=059. Much closer than I had before.
> I did try FILTER 'Parcels=%id%' with same results. So looks like you
> have again pointed me in the right direction.
>
> On Mon, Aug 16, 2010 at 4:17 PM, Brent Fraser <bfraser at geoanalytic.com
> <mailto:bfraser at geoanalytic.com>> wrote:
>
> The JavaScript is waiting for a response from the server (the php)
> and likely not getting one. The server process is taking too long
> (timing out?), or it is stopping unexpectedly (crashing?).
>
> My technique in these cases is to put some print statements in the
> PHP to see where it's failing.
>
> But looking back at your previous emails of last week, it looks like
> mapserver is not forming the SQL from the FILTER properly. It gives
>
> and (^059)
>
> instead of something like
>
> and (parcel_no=059)
>
>
> How about using a filter of
> FILTER 'parcel_no=%id%'
>
> Brent
>
> t faustino wrote:
>
> To add to my previous email;
>
> The error seems to point to line 971 within the GeoMoose. js;
>
>
> http.onreadystatechange=function (){if(http.readyState==4){var
> results=null;....
>
>
> Completely beyond me...Dan? Brent?
>
> --
> "If one advances confidently in the direction of his dreams, and
> endeavors to live the life which he has imagined, he will meet
> with a success unexpected in common hours." ~Thoreau
>
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.sourceforge.net
> <mailto:Geomoose-users at lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/geomoose-users
>
>
>
>
>
> --
> "If one advances confidently in the direction of his dreams, and
> endeavors to live the life which he has imagined, he will meet with a
> success unexpected in common hours." ~Thoreau
>
>
More information about the Geomoose-users
mailing list