Closed (fixed)
Project:
Openlayers
Version:
7.x-2.x-dev
Component:
OL UI
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2011 at 20:38 UTC
Updated:
5 Jul 2012 at 09:03 UTC
Jump to comment: Most recent file
Comments
Comment #1
zzolo commentedYou should just need to clear your cache, as this is a new menu item.
How did you upgrade the module, btw? I feel like Drush is not clearing the cache when upgrading modules.
Comment #2
biydng commentedI did clear the cache using the Clear all Cache Button on admin/configuration/performance many times. Or are there other ways to clear the cache? For some reason the url path just doesn't exist on my local server. I used the Drupal built-in module upgrade feature to upgrade from 7.x2.0-dev to 7.x2.0-beta1. The problem is this error existed even before I upgraded to OL 7.x2.0-beta1. Any idea why the path is not valid on my server? Thanks for the help!
Comment #3
biydng commentedFixed. Turned out to be the clean URL not set on my local server, so the ajax check version url, which is a clean url, kept getting page not found. After changing my apache server to AllowOverride (it wasn't, my fault) and setting the RewriteBase directory in .htaccess, then enable the Clean Url on my drupal site, clearing cache one last time, the error disappeared.
Comment #4
alg8598 commentedHello,
I am testing OpenLayers integration into Drupal7 and face exactly the same issue. I carefully followed the 3 steps you outlined, but still Drupal Openlayers Openlayers library does not load.
What is the exact path to be specified into the openlayers Source field - the running system is MS Vista 64 - I set "sites/all/libraries/OpenLayers/OpenLayers.js" shall I set UNC path ? this is mysterious.
I have
1) set "AllowOverride All" to httpd.conf
2) placed .htaccess with "RewriteBase Drupal7" at htroot www directory - the latter is declared DocumentRoot at httpd.conf "DocumentRoot "C:\Program Files (x86)\PostgreSQL\EnterpriseDB-Apache\Php/apache/www"
3) restarted httpd service
4)cleaned URL in the Search and metadata section of the configuration module:
thnks a lot in advance for your attention in this;
Best regards
Arnaud