Not a Chameleon user so I may not be of much help. Any errors being logged? 
What does the template file look like? It’s possible that ms4w_2.3.1’s 
MapServer did not require a magic string be on the first line of the template. 
In new versions it is required. Basically the first line of a template must 
contain the string “MapServer Template”. Typically you’d put that in a HTML 
comment, e.g.:

<!—MapServer Tempate -->
...template follows...

That’s my first guess anyway.

Steve


From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Andy Hird
Sent: Friday, April 08, 2011 3:00 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Problems with Query Template (Chameleon)

Hi there  - really need some help if you can please regarding Template Query 
feature, and I have googled to exhaustion :-/

Background:
I have an existing Map file referencing MapInfo Tab files running under 
ms4w_2.3.1 & chameleon_ms4w-2.4.1
I have installed ms4w - V3.0.1 and chameleon V2.6.0
Copied my Map file across and made the necessary adjustments to get it working.

However when using the Query Widget (info of layers at mouse click) against 
MapInfo Layers it is no longer returning results, and yet it did previously.
My knowledge is not that great in php etc – but I suspect that its requiring a 
dbf rather than MapInfo Tab as it does work with a shp, dbf set of files.

Can Anyone help please as I really struggling – ideally I just want to use the 
old widget.

However If someone can provide example of placing a button on a html page that 
would call query functionality that would be very helpful too.

Thanks in advance

Andy



----------------------------------------------------------------------------
The information contained in or attached to this message is the responsibility 
of the sender and is meant for the confidential use of the intended recipients. 
It does not necessarily represent the position of Aligned Assets. If you are 
not an intended recipient you are notified that you have received this 
communication in error and that review, dissemination or copying of this 
communication is prohibited.

If you have received this in error, please notify us.
Aligned Assets Limited
Unit 5
River Court
Albert Drive
Sheerwater
Woking
GU21 5RP
Company Registration No: 4610724
----------------------------------------------------------------------------


_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to