<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hi list,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I've recently been 
trying&nbsp;upgrade&nbsp;php-mapscript version 4.0 to 4 .4.1.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>When I&nbsp;try to query&nbsp;clicking on one layer 
with connection type&nbsp;MYGIS I cannot get any data back from the feature data 
base table&nbsp;because I&nbsp;get error in function: </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>$layer-&gt;open();</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV><FONT face=Arial size=2>query code:</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; </FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; $point = 
$this-&gt;createPoint($x,$y);<BR>&nbsp;&nbsp;&nbsp; @$q_object = 
$this-&gt;map-&gt;queryByPoint($point,MS_SINGLE,-1);<BR>&nbsp;&nbsp;&nbsp; 
$cur_layer = $this-&gt;map-&gt;getLayerByName($layerName);<BR>&nbsp;&nbsp;&nbsp; 
$res_layer = $cur_layer-&gt;getNumResults();<BR>&nbsp;&nbsp;&nbsp; </FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 
if($res_layer)<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
$cur_layer-&gt;open(); 
&lt;--------------------------------------------------------------------&nbsp;The 
function error&nbsp;upgrade 4.0 to 
4.4.1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $cur_res = 
$cur_layer-&gt;getResult(0);<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $result = 
$cur_res-&gt;shapeindex;<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
$cur_layer-&gt;close();<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return 
$result;<BR>&nbsp;&nbsp;&nbsp; }</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Layer defined:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>LAYER</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; NAME 
"layer_10"<BR>&nbsp;&nbsp;&nbsp; TYPE POINT</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; LABELMAXSCALE 
100000</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; STATUS OFF<BR>&nbsp;&nbsp;&nbsp; 
TOLERANCE 10</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; CONNECTIONTYPE 
mygis</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; CONNECTION 
"localhost:web:user_web:dbGis:bin:"</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; DATA "geometry from G_Punto 
feature, G_Punto_bin geometry"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; TEMPLATE 
void<BR>&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 
CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME 
"class_1"&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL 
"symbol_5"<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TEXT ([nombre] - 
[sucursal])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
STYLE<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 
0 0</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; COLOR 0 0 255</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; SIZE 18</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; MINSIZE 8</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MAXSIZE 
20<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
LABEL<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; OUTLINECOLOR 
255 255 255</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; COLOR 127 0 0</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; SIZE MEDIUM</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; POSITION AUTO</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; PARTIALS FALSE</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
END<BR>&nbsp;&nbsp;&nbsp; END</FONT></DIV>
<DIV><FONT face=Arial size=2>END</FONT></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2><FONT face=Arial><SPAN id=MSGHDR-SUBJECT-PRE>The MapServer 
4.4.1 released</SPAN> (2004-12-22) say: Fixed MyGIS build error introduced when 
adding msLayerIsOpen() (bug 1116).&nbsp;Is there some relations between the 
error and&nbsp; the bug fixing?.</FONT></FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>
<DIV><FONT face=Arial size=2>The old version php-mapscript&nbsp;4.0 working fine 
with the&nbsp;same code.</FONT></DIV></DIV></FONT>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I would be most grateful if anyone could offer any 
advise.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thank's.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>______________________________________<BR>Daniel A. 
Lagos H.<BR>Fernández y De Cea Ingenieros Ltda.<BR>Av. Apoquindo 3650, Of. 902, 
Las Condes<BR>Santiago, Chile<BR>Tel:&nbsp; +56 (2) 435 0099<BR>Fax: +56 (2) 435 
0258<BR><A 
href="http://www.fdcconsult.com">www.fdcconsult.com</A><BR></DIV></FONT></FONT></DIV></BODY></HTML>