Specially because the warnings are suppressed in the function call file_get_contents.

Comments

babbage’s picture

Project: Google Maps location » Location Map
Version: 6.x-2.0 » 7.x-1.0-beta2

Location Map module is the successor to gmaplocation for Drupal 7. Any features to be added to the module must first be implemented there, and may then be backported to gmaplocation for Drupal 6. Moving this to the Location Map module issue queue.

babbage’s picture

Category: bug » task

Not actually a bug.

rupertj’s picture

This tripped me up when migrating a site from dev to staging. It might be worth checking this setting in hook_requirements, or raising a warning when attempting to geocode.

Using drupal_http_request instead of file_get_contents might be better?

rupertj’s picture

Status: Active » Closed (works as designed)

2.x branch now uses drupal_http_request, so allow_url_fopen isn't a requirement any more.

  • Commit 9ef1560 on master, 7.x-2.x, 8.x-2.x by rupertj:
    Issue #916404 by rupertj: Changed geocode to use drupal_http_request