Sorry to post this here, but wanted to make note of it somehow.

My home module site began throwing errors the other day (february 2008), such as:

warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /edited_out.com/html/sites/all/modules/home/home.module on line 1326.

This was on a site hosting by media temple.

Well, it turns out the a recent server change discussed here:
http://kb.mediatemple.net/article.php?id=793

Had disabled the gmaps address information system, because the recovery process uses a remote file get (I think that is how it works).

I used the php.ini solution (outlined on the linked page, and posted below) for the present to restore service.

temp solution:

added this to my php.ini file:

allow_url_fopen = On

(fyi, I am using the module from the original home site, pre drupal site publishing, so my page lines may vary, also have a number of custom weight control modifications, and some other stuff)

Will Kirchheimer

Comments

Michael M’s picture

Status: Active » Closed (works as designed)

The only call to file_get_contents is when the module retrieves the address in an XML format from Google's map geocoding service.