This error was first attached to the Layer not found issue. I have narrowed down to the root of the error which is an ajax call from \openlayers\includes\content_types\modules\openlayers_ui\js\openlayers_ui.admin.js on the OpenLayers UI. The ajax is sent to an url that cannot be found on my server: 'admin/structure/openlayers/callbacks/version_check/' + version.

Can someone advice what configuration I am missing to result in the above url not found error?

Thanks so much!

CommentFileSizeAuthor
#4 httpd.conf_.txt18.01 KBalg8598
#4 htaccess.txt21 bytesalg8598
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

zzolo’s picture

You 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.

biydng’s picture

I 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!

biydng’s picture

Version: 7.x-2.0-beta1 » 7.x-2.x-dev
Status: Active » Closed (fixed)

Fixed. 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.

alg8598’s picture

FileSize
21 bytes
18.01 KB

Hello,

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