Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm getting error when trying to run update.php.
An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: update.php?op=selection&token=sf9V0jWn2pJQuuJD0kdWkO5H11v1KvUuZ7oj1-BmZng&id=20&op=do StatusText: parsererror ResponseText: Fatal error: Call to undefined function openlayers_layers_load() in public_html/sites/all/modules/openlayers/openlayers.install on line 378
My maps stopped working today because of this: http://drupal.org/node/1944074
And I then tryed to upadate Openlayers and Geofield moduels.
How to get maps working again?
Comments
Comment #1
ace11 CreditAttribution: ace11 commentedI was missing this module after updating Openlayers to beta5: http://drupal.org/project/proj4js
After adding that module update.php works.
Comment #2
Triskelion CreditAttribution: Triskelion commentedI just ran into the identical issue, even with Proj4js installed and activated. I got around it by adding the line
include 'openlayers.module';
at the top of openlayers.install. For some reason the update script was not seeing the module file, and it threw an ajax error during the update.
Comment #3
lhadjchikh CreditAttribution: lhadjchikh commented#2 solved the issue for me. Thanks, Triskelion!
Comment #4
yurg CreditAttribution: yurg commented#2 solved the issue for me too. Thank you!