Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When javascript aggregation is on and allow_url_fopen=off widget can't retrieve the JavaScript.
Warning: file_get_contents(http://www.jzuyderduyn.nl/sites/default/files/twitter_block/widgets.js) [function.file-get-contents]: failed to open stream: Connection refused in _locale_parse_js_file() (regel 1488 van /home/vhosts/jzuyderduyn.nl/httpdocs/includes/locale.inc).
Instead we should simply use drupal_add_js('http://platform.twitter.com/widgets.js', 'external');
Comments
Comment #1
GoofyX CreditAttribution: GoofyX commentedComment #2
GoofyX CreditAttribution: GoofyX commentedAfter creating my issue (Feed not fetched with JS aggregation enabled in Drupal performance settings) I realized that I have the same error in my log, so my issue is surely linked to this one.
Comment #3
gagarine CreditAttribution: gagarine commentedComment #4
naveenvalechaComment #5
naveenvalechaClosing this as duplicate #2323547: Feed not fetched with JS aggregation enabled in Drupal performance settings