Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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
Comment #0.0
ky_metro CreditAttribution: ky_metro commentedadded added code tags
Comment #1
alexandreracine CreditAttribution: alexandreracine commentedIt is safe to ignore.
Duplicate of http://drupal.org/node/1461882
Thanks.
Comment #2
ilfelice CreditAttribution: ilfelice commentedI 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!
Comment #3
ilfelice CreditAttribution: ilfelice commentedI rectify myself. Setting...
allow_url_fopen = on
...in php.ini did in fact get rid of the warning. :)
Sorry for the noise!
Comment #4
alexandreracine CreditAttribution: alexandreracine commentedProbably that this would be a better idea
http://drupal.org/node/1461882#comment-5714748
We would have to find out how.
Comment #4.0
alexandreracine CreditAttribution: alexandreracine commentedadded info