Yesterday I upgraded the OpenLayers module from 7.x-2.0-beta1-46-dev to 7.x-2.0-beta5.
I am now getting this error message at the top of my OpenLayers settings page and in my status report:
"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."
I am currently using the External library at http://openlayers.org/api/2.12/OpenLayers.js, although the settings page still throws the error, and also says "Your version found from client-side, Javascript check: Release 2.11." I have already removed 2.11 and installed 2.12, but it still says it finds 2.11.
(see attached screenshot.)
I have tried to enable the loading the Internal library, but my settings page does not change. The internal library resides at http://[domain.com]/sites/all/libraries/OpenLayers2-12/OpenLayers.js. How can I make the Internal radio box appear? I am unclear how to "use" the libraries module to enable the internal loading of the library. I have Libraries 7.x-2.1 installed.
Thank you for your help.
Jean
Comment | File | Size | Author |
---|---|---|---|
#10 | OpenLayers - Library.png | 119.99 KB | Pol |
OL_settings.JPG | 89.45 KB | jmatuska |
Comments
Comment #1
dianacastillo CreditAttribution: dianacastillo commentedI get the exact same problem:
The configuration options have been saved.
Warning 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.
Valid library found with a Javascript client check; version: Release 2.12
Comment #2
PolHi,
It's better to use the internal version of the library, it has to be in
sites/all/libraries/openlayers
Good luck.
Comment #3
jmatuska CreditAttribution: jmatuska commentedthanks. yes, i tried that first (directory name was OpenLayers, just as i extracted from zip file), so my internal path was:
sites/all/libraries/OpenLayers/OpenLayers.js.
However, this path produced the exact same error i detailed above.
So, then I tried renaming the internal directory to OpenLayers2-12 to see if the javascript check would STOP finding version 2.11, which i had deleted. no changes.
Comment #4
dianacastillo CreditAttribution: dianacastillo commentedi have it in sites/all/libraries/openlayers and yet i still get that contradictory message:
Warning 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.
Valid library found with a Javascript client check; version: Release 2.12
Comment #5
dianacastillo CreditAttribution: dianacastillo commentedComment #6
jmatuska CreditAttribution: jmatuska commentedcan we keep this as active since it has not been fixed?
Comment #7
dianacastillo CreditAttribution: dianacastillo commentedokay all my problems fixed with the help of Pol, see here https://drupal.org/node/1971162#comment-7307690
Comment #8
jmatuska CreditAttribution: jmatuska commentedgreat, dianacastillo.
that fix (#22 @ https://drupal.org/node/1971162#comment-7307690) worked for me too.
all good. no more error messages, and the internal library is found/working.
thanks.
Comment #9
aasarava CreditAttribution: aasarava commentedMarking this as "active" again since it's not truly a fixed issue. The warning message still appears when trying to use the external library.
Comment #10
PolJust tested with simplytest.me, setting the external library is working perfectly and doesn't produces any errors, no matter which setting I use.
See the attached screenshot.
Comment #12
Anonymous (not verified) CreditAttribution: Anonymous commentedI still have this issue. It started when I upgraded openlayers to beta7, and doesn't go away.
I don't have ssh access to the server, so can't use Drush. I now placed OpenLayers.js version 2.13.1 into /sites/all/libraries/openlayers, but it still reports it finds version 2.11 ...
It even reports that when I delete the openlayers folder under libraries...
Might not be a problem with new installations. But I'm stuck with this not working. It's a problem, as my site needs to be accessible via https too, and then it doesn't load the external openlayers library as it is via http...
Any solution without using drush?
Comment #13
Anonymous (not verified) CreditAttribution: Anonymous commentedI reopen this as it doesn't seem to be fixed in beta7. At least not for those who can't use drush...
Comment #14
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #15
mustardman CreditAttribution: mustardman commentedThis is not working for me either. I tried everything suggested in all these comments and linked issues.
Comment #16
philalonso CreditAttribution: philalonso commentedOne of my sites also receives the "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.13. 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." warning after updating from 7.x-2.0-beta to 7.x-2.-beta9.
I followed the steps described by dianacastillo in https://drupal.org/node/1971162#comment-7307690. Drush libraries-list shows that openlayers 2.13 is installed with OK status. I ran drush cc all, yet the message persists. I ran drush dl-openlayers again, cleared the caches again, and still receive the message.
Rolling back to 7.x-2.0-beta7 removed the warning message.
How can I update to 7.x-2.0-beta9 and not receive the warning message?
Comment #17
rajmataj CreditAttribution: rajmataj commentedI confirm seeing this as well. Using:
drush dl-openlayers
The OpenLayers Library was not found and as a result, all markers on my map disappeared. Rolled back to openlayers-7.x-2.0-beta7 and stuck with the 2.13 library and now the map works again, and the internal library is found.
Comment #18
rajmataj CreditAttribution: rajmataj commentedI found that by switching the library being used on admin/structure/openlayers from 'original' to something else, like 'light' and saving, and then switching back to 'original' and saving the page that the 2.13 library is both listed as not found and as detected (see linked image). However, my map is now completely devoid of any markers whatsoever.
Seems like a major bug. Using:
drush dl-openlayers
OpenLayers Settings Errors
Comment #19
bazingaedward CreditAttribution: bazingaedward as a volunteer commentedhttps://www.drupal.org/node/1971162#comment-10052484