Any idea whats happening?<br>I lost all day trying to fix that, but got nothing :(<br><br>Stella<br><br><br><div class="gmail_quote">2010/1/25 stela anders <span dir="ltr">&lt;<a href="mailto:stelaanders@gmail.com">stelaanders@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello guys...<br><br>My mapfile:<br><br>...<br>  PROJECTION<br>        &quot;+init=epsg:4326&quot;<br>
    END<br><br>    WEB<br>        IMAGEPATH &#39;C:\temp\&#39;<br>        IMAGEURL &#39;/tmp/&#39;<br>        QUERYFORMAT text/html      <br>
        <br>        METADATA<br>            &quot;wms_title&quot;     &quot;WMS Server&quot; <br>            &quot;wms_onlineresource&quot; &quot;<a href="http://localhost/cgi-bin/mapserv.exe" target="_blank">http://localhost/cgi-bin/mapserv.exe</a>?&quot;  <br>

            &quot;wms_srs&quot;       &quot;EPSG:4326 EPSG:42304 EPSG:42101 EPSG:4269&quot; <br>            &#39;wms_feature_info_mime_type&#39; &quot;text/html&quot; <br>        END<br>    END<br><br>   QUERYMAP<br>        COLOR 255 0 0<br>

        SIZE -1 -1<br>        STATUS OFF<br>        STYLE hilite<br>    END<br>...<br><br>LAYER<br>...<br>       METADATA<br>            &quot;wms_title&quot;    &quot;Test&quot;   ##required<br>             &quot;wms_include_items&quot; &quot;all&quot;<br>

             &quot;wms_feature_info_mime_type&quot; &quot;text/html&quot;              <br>        END       <br>        TYPE POINT<br>        STATUS ON<br>        INCLUDE &quot;Connection.map&quot; <br>        DATA &quot;the_geom from viwtest USING UNIQUE oid USING SRID=0&quot;<br>

        PROJECTION<br>            &quot;+init=epsg:4326&quot;<br>        END<br>        <br>        TOLERANCE 5<br>         HEADER   &quot;header.html&quot; <br>        TEMPLATE &quot;template.html&quot;     <br>         FOOTER   &quot;footer.html&quot; <br>

...<br><br>Templates:<br>Header.html<br>&lt;!-- MapServer Template --&gt;<br>&lt;html&gt; <br>  &lt;head&gt; <br>    &lt;title&gt;MapServer Template Sample&lt;/title&gt; <br>  &lt;/head&gt; <br><br>Template.html<br>&lt;!-- MapServer Template --&gt;<br>

&lt;body&gt; <br>    &lt;b&gt;OID:&lt;/b&gt; [oid]<br>  &lt;/body&gt; <br><br>Footer.html<br>&lt;/html&gt;<br><br>WMSGetFeatureInfo  Javascript (OpenLayer)<br><br>var infoCtl = new OpenLayers.Control.WMSGetFeatureInfo({ <br>

                    layers: [_test], <br>                    title: &#39;Click on the map to get information on layers&#39;, <br>                    queryVisible: true, <br>                    infoFormat: &#39;text/html&#39; <br>

                }); <br>              <br>                infoCtl.events.register(&quot;getfeatureinfo&quot;,map,showInfo); <br><br> function showInfo(evt) {    <br>            alert(evt.text);<br>} <br><br><br>I´m getting that :<br>

<br>&lt;html&gt; <br>  &lt;head&gt; <br>    &lt;title&gt;MapServer Template Sample&lt;/title&gt; <br>  &lt;/head&gt; Content-type: application/vnd.ogc.se_xml<br><br>&lt;?xml version=&#39;1.0&#39; encoding=&quot;ISO-8859-1&quot; standalone=&quot;no&quot; ?&gt;<br>

&lt;!DOCTYPE ServiceExceptionReport SYSTEM &quot;<a href="http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd" target="_blank">http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd</a>&quot;&gt;<br>&lt;ServiceExceptionReport version=&quot;1.1.1&quot;&gt;<br>

&lt;ServiceException&gt;<br>&lt;/ServiceException&gt;<br>&lt;/ServiceExceptionReport&gt;<br><br><br>Any idea whats happening?<br><br>Stella<br><br><br>
</blockquote></div><br>