<!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.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have a trouble in using QueryByAttributes or
QueryByShape on an Oracle Spatial layer: PHP sometime crashes.</FONT></DIV>
<DIV><FONT face=Arial size=2>The strange thing is that it happens only on some
layer and on some PC.</FONT></DIV>
<DIV><FONT face=Arial size=2>I have a test installation with exactly the same
php code, Apache version, Mapserver version, Oracle Version, OS version (Windows
XP Professional) and on one machine works fine and on another php crashes (and
only on one oracle layer, for the other oracle layers it works
fine).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Has anybody already experimented a problem like
this?....</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Bets regards</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I use:</FONT></DIV>
<DIV><FONT face=Arial size=2>- PHP 4.3.10</FONT></DIV>
<DIV><FONT face=Arial size=2>- Mapserver 4.4.1</FONT></DIV>
<DIV><FONT face=Arial size=2>- Apache 2</FONT></DIV>
<DIV><FONT face=Arial size=2>- Windows XP</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The test code is:</FONT></DIV>
<DIV><FONT face=Arial size=2><?php</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>$gMap =
ms_newMapObj("C:/App/QueryMapWEB/data/AIL/gas.map");<BR>$gLayer =
$gMap->getLayerByName("Condotte");</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>$rectDrawnedMapCoord =
ms_newrectObj();<BR>$rectDrawnedMapCoord->setextent(716765.866548,<BR> 89471.4128114
,<BR> 717831.590747,<BR> 87732.5996441);</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>$qresult =
$gLayer->queryByRect($rectDrawnedMapCoord);<BR>$layer->open();</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>?></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The layer definition is:</FONT></DIV>
<DIV><FONT face=Arial size=2>#
------------------------------------------------------------------------<BR>#
Condotte<BR>#
------------------------------------------------------------------------<BR>LAYER<BR> NAME
"Condotte"<BR> TYPE LINE <BR> CONNECTIONTYPE
oraclespatial<BR> CONNECTION "<A
href="mailto:ail_gas/avs@tb">ail_gas/avs@tb</A>"<BR> DATA "GEOM FROM
(SELECT fid,geom,FROM ga_strang WHERE geom is not null AND DELETED=0) USING
UNIQUE fid NONE"<BR> STATUS DEFAULT <BR> SYMBOLSCALE
200<BR>
<BR> CLASS <BR> NAME
"nessuna"<BR> COLOR 0 0 0<BR> SYMBOL
1<BR> SIZE 8<BR> TEMPLATE
"templates/default.html"<BR> END<BR> <BR>END</DIV></FONT></BODY></HTML>