Dear Surahman Putra,<div><br></div><div>Just in case, make sure that you have postgis as layer type and use lower case for your field name.</div><div><br></div><div>Please check <a href="http://svn.pmapper.net/trac/wiki/DocManualsearch">http://svn.pmapper.net/trac/wiki/DocManualsearch</a>
</div><div><pre class="wiki" style="background-color:rgb(247,247,247);border:1px solid rgb(215,215,215);margin-right:1.75em;margin-left:1.75em;padding:0.25em;overflow:auto;font-size:13px"><searchitem name="cities_suggest_pg" description="Cities Suggest PG">
<layer type="<font color="#ff0000">postgis</font>" name="cities10000eu_pg">
<field type="s" name="<font color="#ff0000">name</font>" description="City" wildcard="2">
<definition type="suggest" connectiontype="db" sort="asc" minlength="1" dependfld="cmcncd">
<dsn encoding="UTF-8">pgsql://postgres:postgres@localhost/gisdb</dsn>
<sql>SELECT DISTINCT name FROM cities1000 WHERE population > 10000 AND name ~* '^[search]' ORDER BY name</sql>
</definition>
</field>
</layer>
</searchitem></pre>Hope it can help,</div><div><br></div><div>Cheers,</div><div>Serge<br><div class="gmail_quote">On Wed, Sep 5, 2012 at 3:53 PM, surahman putra <span dir="ltr"><<a href="mailto:surahmanputra@gmail.com" target="_blank">surahmanputra@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
I have problem with search tool on pmapper when I change my shapefile layer<br>
to my postgis layer. After I change to postgis layer, search tool never<br>
give a result and keep processing. I am using pmapper v.4.2, mapserver<br>
v.6.0.3, php v.5.4.3 and postgis v.2.0.<br>
<br>
Is there any compability issue with pmapper v.4.2 and postgis v.2.0 ? or<br>
there is some code that I have to changed?<br>
<br>
Thanks,<br>
Surahman Putra<br>
------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>
_______________________________________________<br>
pmapper-users mailing list<br>
<a href="mailto:pmapper-users@lists.sourceforge.net">pmapper-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/pmapper-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/pmapper-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Serge<br>
</div>