Getting these two errors on my test site:

Warning: get_headers() [function.get-headers]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in googtube_youtube() (line 158 of /home/driveonw/public_html/driveonwood/sites/all/modules/googtube/googtube.module).

Warning: get_headers() [function.get-headers]: This function may only be used against URLs in googtube_youtube() (line 158 of /home/driveonw/public_html/driveonwood/sites/all/modules/googtube/googtube.module).

Module seems to work fine, and the errors appear only once after each node save.

A google search didn't turn up anything. Is this a "safe to ignore" error, and what would the fix involve?


ky_metro’s picture

Issue summary: View changes

added added code tags

alexandreracine’s picture

Priority: Normal » Minor
Status: Active » Closed (duplicate)

It is safe to ignore.
Duplicate of


jorgemare’s picture

I understand this warning is harmless, but it would be nice to get rid of it so that it does not fill up the Drupal log.

I tried setting...

allow_url_fopen = on

in php.ini, as suggested in...

...but that did not do the trick.

Any advise would be appreciated.

Thank you!

jorgemare’s picture

I rectify myself. Setting...

allow_url_fopen = on php.ini did in fact get rid of the warning. :)

Sorry for the noise!

alexandreracine’s picture

Status: Closed (duplicate) » Needs work

Probably that this would be a better idea

We would have to find out how.

alexandreracine’s picture

Issue summary: View changes

added info