<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1432582849304_15575">hello guys,</div><div dir="ltr" id="yui_3_16_0_1_1432582849304_15664">this is my application link :http://webgis.wbphed.gov.in/openlayers/htdocs/bhirbhum_rajnagar.php</div><div id="yui_3_16_0_1_1432582849304_15676" dir="ltr">In this application everything is going fine except "search tubewell" service.</div><div id="yui_3_16_0_1_1432582849304_15888" dir="ltr">for example when I try to search tubewell where fluoride value > 1 it shows not a valid xml file.<br></div><div id="yui_3_16_0_1_1432582849304_15772" dir="ltr">I check it through firebug and it showing error in query_rajnagar.php file in line 452:<br></div><div id="yui_3_16_0_1_1432582849304_15771" dir="ltr">php fatal error: Call to a member function project() on a non-object in query_rajnagar.php file on line 452.</div><div id="yui_3_16_0_1_1432582849304_15812" dir="ltr"><br></div><div id="yui_3_16_0_1_1432582849304_15862" dir="ltr">So, I try by setting comments in following three lines ( line no. 451,452 and 453)<br></div><div id="yui_3_16_0_1_1432582849304_15861" dir="ltr"> if($projection) {<br style="" class=""> $shape->project($projection, $LATLONG_PROJ);<br style="" class=""> }<br></div><div style="" class="" dir="ltr" id="yui_3_16_0_1_1432582849304_15664"> After that search service running fine but not highlight features.</div><div id="yui_3_16_0_1_1432582849304_15914" style="" class="" dir="ltr">and showing error in line 558</div><div id="yui_3_16_0_1_1432582849304_15953" style="" class="" dir="ltr"> $pointsLayer->addFeature($resultFeatures[$i]);<br></div><div id="yui_3_16_0_1_1432582849304_15952" style="" class="" dir="ltr">php fatal error: addFeature method need object.</div><div id="yui_3_16_0_1_1432582849304_15990" style="" class="" dir="ltr"><br></div><div id="yui_3_16_0_1_1432582849304_16032" style="" class="" dir="ltr">Please somebody help me to overcome from these problem. This is my thesis work so you understand my pressure.<br style="" class=""></div></div></body></html>