Problem with Facebook Feed: Warning: file_get_contents(): https:// wrapper is disabled I'm having a problem with my Facebook pull feed. It works fine on a development server, but on my live server the block doesn't appear on the page, and I get two php errors, and a single Facebook pull error in my recent logs.

The first php error, which I think is significant is:

Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in _facebook_pull_feed() (line 280 of /home/phislub9/public_html/sites/all/modules/facebook_pull/facebook_pull.module).


The second php error is related to the first one: 

Warning: file_get_contents(https://graph.facebook.com/oauth/access_token?client_id=1392108967676515&amp;client_secret=563ff2dd27ddec75d9b79dc918fe93d4&amp;grant_type=client_credentials): failed to open stream: no suitable wrapper could be found in _facebook_pull_accesstoken() (line 299 of /home/phislub9/public_html/sites/all/modules/facebook_pull/facebook_pull.module)


And the Facebook Pull error doesn't give any diagnostic information beyond that the module isn't working.
Put this in your settings.php:

ini_set('allow_url_fopen' , 1);


If that solves the issue you will want to hard code that into your php.ini.