[OpenLayers-Users] In Safari is OK, in Firefox and Chrome is failed

Zac Spitzer zac.spitzer at gmail.com
Thu Dec 18 07:47:57 EST 2008


is your page served from localhost as well? that looks like a file url?

On Thu, Dec 18, 2008 at 11:45 PM, Руслан Сорокин <sorokin at oogis.ru> wrote:
> Hello  openlayers users,
> I am trying to get KML content from the local address like this:
> ...
>  var kml = new OpenLayers.Layer.GML(lab, "http://localhost:4848/kml",
> kml_ops )
> ...
> In Safari on Mac OS X all is going well!
> But in Firefox on Mac OS X I get this error message:
> uncaught exception: [Exception... "Access to restricted URI denied"  code:
> "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)"  location:
> "file:///c:/OpenLayers-2.6/lib/OpenLayers/Ajax.js Line: 334"]
> Few weeks ago all was working well also in Chrome on Windows. But now Chrome
> give me "Access denied..".
> Please, explain me what's going wrong?
> Sincerely,
>   Ruslan Sorokin
>   sorokin at oogis.ru
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>



-- 
Zac Spitzer -
http://zacster.blogspot.com
+61 405 847 168


More information about the Users mailing list