Active
Project:
Openlayers
Version:
7.x-2.0-beta9
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2014 at 10:48 UTC
Updated:
15 Jan 2015 at 20:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jenna1 commentedI have the same problem, after these updates:
https://drupal.org/project/l10n_update and Open Layers
my bug report:
Site not found: my-domain.de/lib/OpenLayers/Lang/de.js
Site not found: my-domain.de/lib/OpenLayers/Lang.js
Warning: file_get_contents(/lib/OpenLayers/Lang/de.js) [function.file-get-contents]: failed to open stream: No such file or directory in _locale_parse_js_file() (Zeile 1488 von...
Warning: file_get_contents(/lib/OpenLayers/Lang.js) [function.file-get-contents]: failed to open stream: No such file or directory in _locale_parse_js_file() (Zeile 1488 von...
thanks for help, jenna
Comment #2
polI will fix this pretty soon.
Comment #3
Kolo commentedAnother bug after update:
I have a map with Venues with Events. Each venue can have multiply events. In format settings I just choose in Grouping field Nr.1 title field of my Venue. Until last update everything works fine.
I also check with newest dev but error continue to occurs.
Comment #4
pmusaraj commentedI created a temporary patch to comment out the offending lines in openlayers.module. The patch is attached.
The issue can also be resolved by downloading the open layers library locally and including that instead of the external version.
(In our case, we can't use the local library, because our /libraries folder is not in /sites/all and the openlayers module seems to only look for it in sites/all. This is a related issue, fyi.)
Comment #5
giorgoskComment #6
luk.stoops commentedTried to upgrade again (now from 7.x-2.0-beta7 to 7.x-2.0-beta11). No problem on my local testserver but on my productionserver I got these warnings:
• Warning: file_exists(): open_basedir restriction in effect. File(/lib/OpenLayers/Lang.js) is not within the allowed path(s): (/customers/6/0/c/brouwerijhetnest.be/httpd.www:/customers/6/0/c/brouwerijhetnest.be/httpd.private:/customers/6/0/c/brouwerijhetnest.be/tmp:/customers/brouwerijhetnest.be/brouwerijhetnest.be:/var/www/diagnostics:/usr/share/php) in openlayers_include() (regel 148 van/customers/6/0/c/brouwerijhetnest.be/httpd.www/sites/all/modules/openlayers/openlayers.module).
• Warning: file_exists(): open_basedir restriction in effect. File(/lib/OpenLayers/Lang/nl.js) is not within the allowed path(s): (/customers/6/0/c/brouwerijhetnest.be/httpd.www:/customers/6/0/c/brouwerijhetnest.be/httpd.private:/customers/6/0/c/brouwerijhetnest.be/tmp:/customers/brouwerijhetnest.be/brouwerijhetnest.be:/var/www/diagnostics:/usr/share/php) in openlayers_include() (regel 153 van/customers/6/0/c/brouwerijhetnest.be/httpd.www/sites/all/modules/openlayers/openlayers.module).
• Warning: file_exists(): open_basedir restriction in effect. File(/lib/OpenLayers/Lang/nl-BE.js) is not within the allowed path(s): (/customers/6/0/c/brouwerijhetnest.be/httpd.www:/customers/6/0/c/brouwerijhetnest.be/httpd.private:/customers/6/0/c/brouwerijhetnest.be/tmp:/customers/brouwerijhetnest.be/brouwerijhetnest.be:/var/www/diagnostics:/usr/share/php) in openlayers_include() (regel 158 van/customers/6/0/c/brouwerijhetnest.be/httpd.www/sites/all/modules/openlayers/openlayers.module).
any idea how solve this? (I 'm back to 7.x-2.0-beta7 )
thx
Comment #7
knalstaaf commented@luk.stoops: how you figured out this issue?
As I mentionned in this topic, it probably has something to do with the Belgian language code (nl-BE): #2407917: File(/lib/OpenLayers/Lang.js) is not within the allowed path(s)
Comment #8
luk.stoops commentedI guess these were part of the warnings I got after the upgrade to 7.x-2.0-beta9 (see first post in this issue)
after upgrading to 7.x-2.0-beta11 the warnings:
file_get_contents(/lib/OpenLayers/Lang.js) [function.file-get-contents]: failed to open stream: No such file or directory in _locale_parse_js_file() ...
were no longer there but the 3 warnings
file_exists(): open_basedir restriction in effect...
are still there so I see no other solution than reverting back to 7.x-2.0-beta7.
Probably it is related with the fact that the production site runs in shared hosting (one.com) On my local acquia desktop testserver there are no warnings!
thx
Comment #9
knalstaaf commentedI was able to solve it by taking the steps described here: #2407917: File(/lib/OpenLayers/Lang.js) is not within the allowed path(s)