The map was working fine (in firefox and chrome, not ie)
So I tried to download the library as recommended in the settings page (the 2.12 version) , I put it in the libraries folder, "sites/all/libraries/OpenLayers/OpenLayers.js" but I get this message: Not suggested compatible version. Though you are very welcome to use whatever version of the OpenLayers library you want, it is suggested that you use version 2.12. You are currently not using that version or we are unable to determine which version you are using. Update your library settings at OpenLayers settings.
Error making request to server.
So I tried going back to using the hosted version here http://openlayers.org/api/2.12/OpenLayers.js.
but I get "http://openlayers.org/api/2.12/OpenLayers.js."
Now the map doesnt work at all any more.
Comment | File | Size | Author |
---|---|---|---|
#6 | openlayerssaveconfig.png | 258.18 KB | dianacastillo |
Comments
Comment #1
dianacastillo CreditAttribution: dianacastillo commentedoh well, although I still get this message with the downloaded version, :
"Not suggested compatible version. Though you are very welcome to use whatever version of the OpenLayers library you want, it is suggested that you use version 2.12. You are currently not using that version or we are unable to determine which version you are using. Update your library settings at OpenLayers settings.
Error making request to server."
the map works anyways! (in firefox and chrome, still doesnt work in IE)
Comment #2
PolThe directory structure should be:
sites/all/libraries/openlayers
Comment #3
dianacastillo CreditAttribution: dianacastillo commentedon this page: admin/structure/openlayers
it says the directory structure should be : sites/all/libraries/OpenLayers/OpenLayers.js
Comment #4
dianacastillo CreditAttribution: dianacastillo commentedjust to test, I changed the directory structure to sites/all/libraries/openlayers/OpenLayers.js
and still get the same error when I hit submit :
"Not suggested compatible version. Though you are very welcome to use whatever version of the OpenLayers library you want, it is suggested that you use version 2.12. You are currently not using that version or we are unable to determine which version you are using. Update your library settings at OpenLayers settings.
Error making request to server."
Comment #5
PolScreenshot please ! :-)
Comment #6
dianacastillo CreditAttribution: dianacastillo commentedattached is a screen shot
Comment #7
PolOk, now I see, I though you were using the dev version and this particular part has been rewritten in the dev version.
I strongly suggest to use a full URL instead of a path or else, you will encounter problems.
If you still want to use a hosted version of the library, use http://sei-devdr01/pn/sites/all/libraries/openlayers/OpenLayers.js
The downside is that you will have to change it when switching on another host with a different domain.
Comment #8
dianacastillo CreditAttribution: dianacastillo commentedso you suggest I use the dev version instead?
what about this other issue I have with IE which is quite urgent https://drupal.org/node/1364304
can you help me with that?
thanks,
Diana