The following errors display:

Warning: file_get_contents(http://heerenveentest.sp.nl/sites/heerenveentest.sp.nl/files/js/wysiwyg/...): failed to open stream: Connection refused in _locale_parse_js_file() (regel 1488 van /var/aegir/platforms/temp-platform/includes/locale.inc).

Warning: file_get_contents(http://heerenveentest.sp.nl/sites/heerenveentest.sp.nl/files/js/wysiwyg/...): failed to open stream: Connection refused in drupal_build_js_cache() (regel 4940 van /var/aegir/platforms/temp-platform/includes/common.inc).

Sites running under Aegir, multisite.

The following patch solves the warning:

diff --git locale.inc locale.inc
index c168da0..82553c7 100644
--- locale.inc
+++ locale.inc
@@ -1483,7 +1483,7 @@ function _locale_parse_js_file($filepath) {
// The file path might contain a query string, so make sure we only use the
// actual file.
$parsed_url = drupal_parse_url($filepath);
- $filepath = $parsed_url['path'];
+ $filepath = drupal_realpath($parsed_url['path']);
// Load the JavaScript file.
$file = file_get_contents($filepath);

CommentFileSizeAuthor
locale.inc_.patch604 bytesthomasdegraaff
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Status: Needs review » Needs work

The last submitted patch, locale.inc_.patch, failed testing.

SocialNicheGuru’s picture

already included in 7.24 I think

Version: 7.22 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.