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

ace11’s picture

Status: Active » Closed (works as designed)

I was missing this module after updating Openlayers to beta5: http://drupal.org/project/proj4js
After adding that module update.php works.

Triskelion’s picture

Category: support » bug

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

lhadjchikh’s picture

#2 solved the issue for me. Thanks, Triskelion!

yurg’s picture

Issue summary: View changes

#2 solved the issue for me too. Thank you!