[mapserver-users] RE: Problems with Query Template (Chameleon)

Andy Hird andy.hird at aligned-assets.co.uk
Wed May 4 07:38:59 PDT 2011


Jeff

 

Your quite right. Sorry I do not know what happened there  (I have
swapped settings so much on my pc here I guess I failed to swap
something back).

 

I can confirm it works in ITASCA demo, but does not within Chameleon.  

 

Easily recreated by Installing Chameleon and doing the same sort of
thing

(In Dos)

cd C:\ms4w\apps\chameleon\samples\data

ogr2ogr -f "MapInfo File" popplace.Tab popplace.shp

 

Then change map file and goto the demo url 

http://localhost/chameleon/samples/sample_basic_jsapi.phtml

 

Now when I click on one of the cities I get an actual error (which may
be progress)

 

Warning: array_merge(): Argument #1 is not an array in
C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_query.php on line 577
Warning: Invalid argument supplied for foreach() in
C:\ms4w\apps\chameleon\htdocs\widgets\Query\QueryResults.phtml on line
294

 

Looks like the Chameleon List is rarely used these days and
unfortunately I have no budget available to get this issue
professionally sorted,  Its looking like I am up a creek with no
paddle...

 

Thanks in advance

 

Andy

 

From: Jeff McKenna [via OSGeo.org]
[mailto:ml-node+6330714-2002393781-329509 at n2.nabble.com] 
Sent: 04 May 2011 14:04
To: Andy Hird
Subject: RE: Problems with Query Template (Chameleon)

 

On 11-05-04 9:07 AM, Andy Hird wrote: 


> Jeff, 
> 
> I have ruled it out from being a chameleon issue - as the issue still
occurs 
> when using the ITASCA demo.  to replicate I created a tab file using
ogr2ogr 
> ie: 
> (in Dos) 
> cd C:\ms4w\apps\mapserv-demo\data 
> ogr2ogr -f "MapInfo File" lakespy2.Tab lakespy2.shp 
> I then adjusted the ITASCA.map file to reference the newly created Tab
file 
> instead of the shape and the querying then no longer worked for that
layer. 
> 


Hello Andy, 

I am not sure what is happening for you.  I just installed a fresh MS4W 
version 3.0.2, then created lakespy2.tab as you did, and then modified 
the itasca.map file to point to the tab file (using the mapfile example 
from http://www.mapserver.org/input/vector/mapinfo.html), and I am able 
to query the tab file in the Itasca application. 

Note that if you are stuck on something you can always contact a 
MapServer service provider like us that offers professional support for 
MapServer. 

-jeff 


-- 
Jeff McKenna 
MapServer Consulting and Training Services 
http://www.gatewaygeomatics.com/




_______________________________________________ 
mapserver-users mailing list 
[hidden email] 
http://lists.osgeo.org/mailman/listinfo/mapserver-users



  _____  

If you reply to this email, your message will be added to the discussion
below:

http://osgeo-org.1803224.n2.nabble.com/Problems-with-Query-Template-Cham
eleon-tp6252878p6330714.html 

To unsubscribe from Problems with Query Template (Chameleon), click here
<http://osgeo-org.1803224.n2.nabble.com/template/NamlServlet.jtp?macro=u
nsubscribe_by_code&node=6252878&code=YW5keS5oaXJkQGFsaWduZWQtYXNzZXRzLmN
vLnVrfDYyNTI4Nzh8MjAyOTU1Nzk4OQ==> . 

----------------------------------------------------------------------------
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
----------------------------------------------------------------------------

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Problems-with-Query-Template-Chameleon-tp6252878p6331102.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110504/8a30cb72/attachment.htm>


More information about the MapServer-users mailing list