Mantis - Quercus
Viewing Issue Advanced Details
2603 major always 04-14-08 21:41 04-16-08 17:14
billybigpotatoes  
ferg  
normal  
closed 3.1.5  
fixed  
none    
none 3.1.6  
0002603: php fopen urls not working
Running drupal I am unable to fetch rss feeds or use drupals auto update feature.

I have tried adding

allow_fopen_url = on as a php config.

Resin is running on osx.
Drupal errors include:

The feed from BBC seems to be broken, due to " The server can't issue HTTP requests".

HTTP request status Fails
Your system or network configuration does not allow Drupal to access web pages, resulting in reduced functionality. This could be due to your webserver configuration or PHP settings, and should be resolved in order to download information about available updates, fetch aggregator feeds, sign in via OpenID, or use other network-dependent services.

Notes
(0002981)
nam   
04-16-08 10:29   
I've verified that fopen() works on URLs, so something else may be causing the Drupal error.
(0002988)
ferg   
04-16-08 17:14   
php/1m0w

The relevant function is fsockopen. Drupal is passing strings like "foo.com:8080" as the host value.