<br><font size=2 face="sans-serif">Wich mapServer version?</font>
<br><font size=2 face="sans-serif">Can you send one layer definition of
the mapfile and how you create the Ol layer for this layer?</font>
<br><font size=2 face="sans-serif">Do you register an event for this control,
please provide all the code related to this control.</font>
<br><font size=2 face="sans-serif">steve</font>
<p>
<p>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>stela anders <stelaanders@gmail.com>@openlayers.org</b>
</font>
<br><font size=1 face="sans-serif">Envoyé par : users-bounces@openlayers.org</font>
<p><font size=1 face="sans-serif">19/01/2010 01:36 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">openlayers user list <users@openlayers.org></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">[OpenLayers-Users] WMSGetFeatureInfo
error (Style (undefined) not defined
on layer) ...</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br>
<br>
<br><font size=3>Hiii !!<br>
<br>
I´m using Mapserver WMS + Openlayers...<br>
I created a WMSGetFeatureInfo control, when I try to use I got that error:
<br>
<br>
<?xml version='1.0' encoding="ISO-8859-1" standalone="no"
?><br>
<!DOCTYPE ServiceExceptionReport SYSTEM "</font><a href=http://schemas.opengis.net/wms/1.1.0/exception_1_1_0.dtd><font size=3 color=blue><u>http://schemas.opengis.net/wms/1.1.0/exception_1_1_0.dtd</u></font></a><font size=3>"><br>
<ServiceExceptionReport version="1.1.0"><br>
<ServiceException code="StyleNotDefined"><br>
msWMSLoadGetMapParams(): WMS server error. Style (undefined) not defined
on layer.<br>
</ServiceException><br>
</ServiceExceptionReport><br>
<br>
<br>
My control :<br>
<br>
var _wmsControl = new OpenLayers.Control.WMSGetFeatureInfo({ <br>
url : _mapfilex,
<br>
title: 'Click on the map to get information on layers', <br>
queryVisible: true, <br>
infoFormat: 'application/vnd.ogc.wms_xml' <br>
});<br>
<br>
<br>
All layers on my mapfile have Style defined... <br>
<br>
Any idea?<br>
<br>
Thanks<br>
<br>
Stella</font><tt><font size=2>_______________________________________________<br>
Users mailing list<br>
Users@openlayers.org<br>
http://openlayers.org/mailman/listinfo/users<br>
</font></tt>
<br>
<br>
<br>