[OpenLayers-Users] GetFeatureInfo works in IE, not FF, beginner wonders why.

RT90 lalahei at gmail.com
Mon Dec 7 05:04:05 EST 2009


Hi,
ah. I shall not mind IE6 anymore and do as you advice,
Thanks.


Jana Golinowski wrote:
> 
> Hi,
> 
>> The issue is the GetFeatureInfo request. Now, I've seen this referred to
>> before in this forum, but always when the viewer pages have been hosted
>> on
>> some webserver. Currently, mine is not published anywhere, it's just
>> sitting
>> in a file on the same machine as the GeoServer is running on.
> 
>> FF 3.0.15's error console reports (roughly translated) : "Security fault:
>> contents of file (path to the local html-file) isn't allowed to fetch
>> data
>> from
>> http://localhost:8080/geoserver/wms?LAYERS=sweden_ways&FORMAT=image%2Fpng&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SRS=EPSG%3A3006&BBOX=106524.93608%2C6533250.45206%2C1087113.063921%2C7268691.54794&X=723&Y=385&INFO_FORMAT=text%2Fhtml&QUERY_LAYERS=sweden_ways&WIDTH=900&HEIGHT=675."
>> and the 'loading' message in the div remains forever.
> 
> That sounds like you are not using any webserver (except for your
> GeoServer). Those security restrictions apply to local files also.
> 
> You will have to deploy your local file to your webserver running on
> localhost:8080.
> 
> 
> Greetings, Jana.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://n2.nabble.com/GetFeatureInfo-works-in-IE-not-FF-beginner-wonders-why-tp4111448p4125164.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list