<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
The errors mean that the shape/feature is not found, so the extents
are not valid and the shape/feature has no values.<br>
<br>
Change your feature _report service in your mapbook.xml <small>to</small>:<br>
<br>
<tt> <service name="feature_report" display="false"
keep-others="true"></tt><tt><br>
</tt><tt> <url>php/feature_report.php</url></tt><tt><br>
</tt><tt> <input type="hidden" name="layers"
value="lmic/fsa"/></tt><tt><br>
</tt><tt> <input type="hidden" name="src"/></tt><tt><br>
</tt><tt> <input type="hidden" name="</tt><tt><span
id="result_box" lang="en"><span style="" title="Increiblemente
el primer error ha desaparecido con sólo poner en mayúsculas
el campo dfx_text en el fichero identify.html:
"><font style="font-size: 16pt;" size="4"><b><small>DXF_TEXT</small></b></font></span></span>"/></tt><tt><br>
</tt><tt> </service></tt><br>
<br>
This will ensure the JavaScript that handles the service call will
send the DXF_TEXT value to the feature_report.php.<br>
<pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
<div class="moz-cite-prefix">On 6/2/2015 5:35 AM, Fernando wrote:<br>
</div>
<blockquote cite="mid:DUB120-W5033A9056576F68B8A3C7CF6B50@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr"><span id="result_box" lang="en"><span
title="Gracias a todos por vuestras colaboraciones.">Thanks
all for your contributions. </span><span style=""
title="Increiblemente el primer error ha desaparecido con
sólo poner en mayúsculas el campo dfx_text en el fichero
identify.html:
">Incredibly the first error has disappeared with only
capitalize the dfx_text field in identify.html file:<br>
<br>
<!-- MapServer Template --><br>
<tr bgcolor="#DEE5EB"><td
colspan="2"><b><u>ESPACIOS</u></b></tr><tr><br>
<td
align="right"><b>IDENTIFICADOR:</b></td><br>
<td>[dxf_text] <a
href="<a class="moz-txt-link-freetext" href="javascript:GeoMOOSE.startService('feature_report">javascript:GeoMOOSE.startService('feature_report</a>', {'<font
style="font-size: 16pt;" size="4"><b>DXF_TEXT</b></font>'
: '[dxf_text]', 'src' :
'edificio_c2_espacios/C2-ALBERT_EINSTEIN'})">Report</a></td><br>
</tr><br>
<tr><br>
<td
align="right"><b>CONTENIDO:</b></td><br>
<td>[contenido]</td><br>
</tr><br>
<br>
</span></span><br>
<span id="result_box" lang="en"><span title="Pero sigue
apareciendo error:
">But still appears error:<br>
<br>
Warning: mapObj::setExtent(): [MapServer Error]:
setExtent(): Given map extent is invalid. Check that it is
in the form: minx, miny, maxx, maxy<br>
in C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on
line 100<br>
Fatal error: Uncaught exception 'MapScriptException' in
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php:100<br>
Stack trace:<br>
#0
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php(100): <b>mapObj->setExtent(0,
0, 0, 0)</b><br>
#1 {main}<br>
thrown in
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on line
100<br>
<br>
</span></span><span id="result_box" lang="en"><span title="La
línea 100 del fichero dice:
">Line 100 of the file says:<br>
$mapObj->setExtent($shape->bounds->minx,$shape->bounds->miny,$shape->bounds->maxx,$shape->bounds->maxy);<br>
<br>
</span></span><span id="result_box" lang="en"><span
title="pero si yo cambio dicha fila manualmente de manera
fija al extend inicial:
">but if I change that row so manually for example set to
the initial extend:</span></span><br>
$mapObj->setExtent(358836,4186265,359163,4186624);<br>
<br>
<span id="result_box" lang="en"><span title="El error
desaparece, y por fin se carga la ventana emergente con las
3 opciones:
">The error disappears, and finally load the popup with the
3 options:<br>
<br>
</span><span title="View in a new Window/Tab
">View in a new Window / Tab<br>
</span><span title="Download
">Download<br>
</span><span title="Close this Window
">Close this Window<br>
<br>
</span><span title="pero también aparecen los siguientes
errores:
">but the more errors appear then:</span></span><br>
<br>
Warning: Invalid argument supplied for foreach() in
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on line 128<br>
Warning: Invalid argument supplied for foreach() in
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on line 128<br>
Warning: Invalid argument supplied for foreach() in
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on line 128<br>
Warning: Invalid argument supplied for foreach() in
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on line 128<br>
Warning: Invalid argument supplied for foreach() in
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on line 128<br>
Warning: Invalid argument supplied for foreach() in
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on line 128<br>
<results><script>GeoMOOSE.download("print_14332443998300","pdf");</script><html></html></results><br>
<br>
<span id="result_box" lang="en"><span title="¿Porqué se produce
el error en la línea 100 del fichero feature_report.php?">Why
the error occurs on line 100 of feature_report.php file?</span></span><br>
</div>
</blockquote>
<br>
</body>
</html>