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.

CommentFileSizeAuthor
#6 openlayerssaveconfig.png258.18 KBdianacastillo
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dianacastillo’s picture

oh 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)

Pol’s picture

Status: Active » Fixed

The directory structure should be: sites/all/libraries/openlayers

dianacastillo’s picture

Status: Fixed » Needs review

on this page: admin/structure/openlayers
it says the directory structure should be : sites/all/libraries/OpenLayers/OpenLayers.js

dianacastillo’s picture

just 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."

Pol’s picture

Assigned: Unassigned » Pol

Screenshot please ! :-)

dianacastillo’s picture

FileSize
258.18 KB

attached is a screen shot

Pol’s picture

Status: Needs review » Fixed

Ok, 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.

dianacastillo’s picture

so 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

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.