Closed as answered
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-05-01 17:55:03 |
Closed_By | ⇒ | brianteeman |
and tell us if you have the issue also with en-GB or only the pack you try to install, and in this case which pack?
I'm only using the en-GB pack. Same issue with this pack.
Then it cetainly means your server does not accept parse_ini_file.
please test the patch proposed here #15620
diff --git a/libraries/joomla/language/language.php b/libraries/joomla/language/language.php
index 1eb40fb..9c98ad9 100644
--- a/libraries/joomla/language/language.php
+++ b/libraries/joomla/language/language.php
@@ -830,7 +830,21 @@ protected function parse($filename)
ini_set('track_errors', true);
}
- $strings = @parse_ini_file($filename);
+ if (!function_exists('parse_ini_file'))
+ {
+ $contents = file_get_contents($filename);
+ $contents = str_replace('_QQ_', '"\""', $contents);
+ $strings = @parse_ini_string($contents);
+ }
+ else
+ {
+ $strings = @parse_ini_file($filename);
+ }
+
+ if (!is_array($strings))
+ {
+ $strings = array();
+ }
// Restore error tracking to what it was before.
if ($this->debug)
@@ -840,7 +854,7 @@ protected function parse($filename)
$this->debugFile($filename);
}
- return is_array($strings) ? $strings : array();
+ return $strings;
}
This is frustrating..
Which language do you use. Try to reinstall your main language.