Warning: file_get_contents() [function.file-get-contents]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in _locale_parse_js_file()

Lösung für mich ein etwas abgewandelter Patch von der Seite: https://www.drupal.org/node/2385069:

diff --git a/core/modules/locale/locale.module b/core/modules/locale/locale.module 
index 42a6772..bb4c453 100644
--- a/core/modules/locale/locale.module
+++ b/core/modules/locale/locale.module
@@ -480,8 +480,9 @@ function locale_cache_flush() {
  function locale_js_alter(&$javascript) {
  // @todo remove this in https://www.drupal.org/node/2421323
  $files = array();
+ // Collect all local javascript files to translate them. foreach ($javascript as $item) { 
- if (isset($item['type']) && $item['type'] == 'file') {
+ if (isset($item['type']) && $item['type'] == 'file') {
   // Ignore the JS translation placeholder file.
   if ($item['data'] === 'core/modules/locale/locale.translation.js') {
      continue;

 

Saturday, 04. April 2015 - 13:10