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"><<a href="mailto:stelaanders@gmail.com">stelaanders@gmail.com</a>></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>        "+init=epsg:4326"<br>
    END<br><br>    WEB<br>        IMAGEPATH 'C:\temp\'<br>        IMAGEURL '/tmp/'<br>        QUERYFORMAT text/html      <br>
        <br>        METADATA<br>            "wms_title"     "WMS Server" <br>            "wms_onlineresource" "<a href="http://localhost/cgi-bin/mapserv.exe" target="_blank">http://localhost/cgi-bin/mapserv.exe</a>?"  <br>

            "wms_srs"       "EPSG:4326 EPSG:42304 EPSG:42101 EPSG:4269" <br>            'wms_feature_info_mime_type' "text/html" <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>            "wms_title"    "Test"   ##required<br>             "wms_include_items" "all"<br>

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

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

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

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

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

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

<br><html> <br>  <head> <br>    <title>MapServer Template Sample</title> <br>  </head> Content-type: application/vnd.ogc.se_xml<br><br><?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?><br>

<!DOCTYPE ServiceExceptionReport SYSTEM "<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>"><br><ServiceExceptionReport version="1.1.1"><br>

<ServiceException><br></ServiceException><br></ServiceExceptionReport><br><br><br>Any idea whats happening?<br><br>Stella<br><br><br>
</blockquote></div><br>