Needs work
Project:
Googtube
Version:
7.x-2.1
Component:
code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2013 at 20:47 UTC
Updated:
1 Apr 2013 at 17:11 UTC
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 commentedadded added code tags
Comment #1
alexandreracine commentedIt is safe to ignore.
Duplicate of http://drupal.org/node/1461882
Thanks.
Comment #2
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 = onin 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 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 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 commentedadded info