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">&lt;searchitem name=&quot;cities_suggest_pg&quot; description=&quot;Cities Suggest PG&quot;&gt;
        &lt;layer type=&quot;<font color="#ff0000">postgis</font>&quot; name=&quot;cities10000eu_pg&quot;&gt;
            &lt;field type=&quot;s&quot; name=&quot;<font color="#ff0000">name</font>&quot; description=&quot;City&quot; wildcard=&quot;2&quot;&gt;
                &lt;definition type=&quot;suggest&quot; connectiontype=&quot;db&quot; sort=&quot;asc&quot; minlength=&quot;1&quot; dependfld=&quot;cmcncd&quot;&gt;
                    &lt;dsn encoding=&quot;UTF-8&quot;&gt;pgsql://postgres:postgres@localhost/gisdb&lt;/dsn&gt;
                    &lt;sql&gt;SELECT DISTINCT name FROM cities1000 WHERE population &gt; 10000 AND name ~* &#39;^[search]&#39; ORDER BY name&lt;/sql&gt;
                    &lt;/definition&gt; 
            &lt;/field&gt; 
        &lt;/layer&gt;
    &lt;/searchitem&gt;</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">&lt;<a href="mailto:surahmanputra@gmail.com" target="_blank">surahmanputra@gmail.com</a>&gt;</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&#39;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>