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?

Comments

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 http://drupal.org/node/1461882

Thanks.

ilfelice’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...

http://drupal.org/node/1465758#comment-5684442

...but that did not do the trick.

Any advise would be appreciated.

Thank you!

ilfelice’s picture

I rectify myself. Setting...

allow_url_fopen = on

...in 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
http://drupal.org/node/1461882#comment-5714748

We would have to find out how.

alexandreracine’s picture

Issue summary: View changes

added info