When I try to use OpenLayers.js version 2.12 or 2.13 I get the following error after the javascript check:

'Could not find a valid library with a Javascript client-side check; Value found: 0. Please visit the OpenLayers settings page for more details.'

Version 2.11 is detected just fine.

Please advise.


Just bumping this - can anyone help? I'm really missing the 2.12 functionality. To confirm: 2.12 was working and now returns the above message. 2.13 has never worked.

I was having a similar issue where openlayers couldn't find my client-side library. My situation might be a little different, but essentially, I didn't have a folder (in my case a symlink) called "openlayers" in the sites/all/libraries folder. I had "OpenLayers-2.12" for example, and the openlayers module wasn't finding it.

I have nothing relating to openlayers in my libraries folder, I have been using external source (not the best way to do things I know).

If I put the openlayers 2.11 library in the libraries folder under /libraries/OpenLayers/* then the client-side check never completes.

I just downloaded OpenLayers for the first time, and am receiving the same error message when I try to use OpenLayers 2.12 or 2.13. I'm not having any luck with 2.12 either.

try to rename the folder in "openlayers" and check if all relevant subfolders are inside.

I'm trying to use the external source though. I don't need a library folder in that case, right?

Yes. You don't need the internal library at external source.
My post#5 was related to the internal mode.

version 7.x.2.0 beta 7. Installed internal version 2.12 via drush. Got the error. Changed to internal and 2.12, 2.13 = no luck. External 2.11 seems to be happy. Something's not making the connection.

Issue summary:View changes

Any progress on this? It has been months now.

I'm using:
Openlayers 7.x-2.0-beta7
Proj4JS 7.x-1.2
Libraries 7.x-2.2
Geofield 7.x-2.1
Openlayers Proximity 7.x-2.x-dev

FYI: I realised clientside check never completed for internal source because I had js aggregated. However, that doesn't resolve the fact that 2.12 and 2.13 fail with result 0.

Edit: when I try mobile, light, or any of the debugs, it detects 2.12 and 2.13 with no issue. I have the exact same experience with another website in a subfolder on my hosting. I'm hosting with GoDaddy.

I'm having this problem with 2.0 beta 9. Tried all the versions down to beta 1 with same problem.

I have the same problem with 7.x-2.0-beta9. Is there any one a solution?

I had this same issue with 7.x-2.0-beta9. I downloaded the OpenLayers library again with Drush as recommended and the error message is gone and it recognizes the library.