Closed (fixed)
Project:
Plugin Manager
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Reporter:
Created:
19 Jul 2008 at 00:07 UTC
Updated:
24 Aug 2008 at 21:43 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gregglesTo be more clear, that's the error I encounter when I tried to run the "Install" step in the process.
Comment #2
chx commentedWell, allow_url_fopen is a php.ini setting. So, you can do an if (!ini_get('allow_url_fopen')) { ask_user_to_switch_isps(); }
Comment #3
Anonymous (not verified) commentedI think that could work quite nicely. Thanks!
Comment #4
gregglesYes, but a slightly more friendly thing would be to download the data using drupal_http_request - something like _googleanalytics_cache() does:
Comment #5
chx commentedYeah because you surely will have sockets enabled if allow_url_fopen is not... I recommend ini_get allow_url_fopen first and then falling back to d_h_r. So be prepared to get
$result->error = t("The server can't issue HTTP requests");from d_h_r.Comment #6
Anonymous (not verified) commentedThanks you. We are now using drupal_http_request. :)
Comment #7
Anonymous (not verified) commentedThanks you. We are now using drupal_http_request. :)
Comment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.