From forum, if the lang directory contains a _vti directory, an error occurs.
This can also happen if you test Piwik from your svn working directory, and your editor leaves behind files, such as "lang/en.php~".
Index: plugins/LanguagesManager/API.php =================================================================== --- plugins/LanguagesManager/API.php (revision 906) +++ plugins/LanguagesManager/API.php (working copy) @@ -30,7 +30,7 @@ return self::$languageNames; } $path = PIWIK_INCLUDE_PATH . "/lang/"; - $languages = glob($path . "*"); + $languages = glob($path . "*.php"); $pathLength = strlen($path); $languageNames = array(); foreach($languages as $language)
committed, thanks for patch