Both the dev and latest beta2 branches still have the following code present. This causes gmap to fail at the first hurdle.

The following was reported by fizk @ http://drupal.org/node/1459606#comment-7229306

<?php
function theme_gmap($element) {
  // Usability: Prevent js errors on first visit to settings page, etc.
  // Of course it will still error if the *wrong* key is on file.
  if (gmap_get_key() == '') {
    //return t('Unable to render map: Google Maps API key is missing.');
  }
?>

And solved with the patch posted by hutch @ http://drupal.org/node/1459606#comment-7252646 but it seemed to have got swallowed up in the large issue so I am reposting.

Patch: http://drupal.org/files/gmap_missing_key_bug-1459606.patch

CommentFileSizeAuthor
#1 gmap_missing_key_bug-1459606.patch552 bytespodarok
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

podarok’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
552 bytes

bot testing

hutch’s picture

Status: Needs review » Reviewed & tested by the community

patch in #1 tested and it works. This needs to be commited as it is preventing sites from working now.

podarok’s picture

Status: Reviewed & tested by the community » Fixed

#1 commited pushed to 6.x-2.x-dev
thanks!!!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.