You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a CVS directory in my lang directory (I have checked a full copy into CVS) this makes getAvailableLanguages() read the CVS directory as a language which fails with:
Warning: Piwik_LanguagesManager_API::require(lang/.php) [function.Piwik-LanguagesManager-API-require]: failed to open stream: No such file or directory in C:\data\Callisto\thing\UI\piwik\plugins\LanguagesManager\API.php on line 54
Simple fix:
Screen only for .php files by changing plugins/LanguagesManager/API.php line 33 (version 0.2.31): FROM:
$languages = glob($path . “_”);
TO:
$languages = glob($path . “_.php”);
More complex fix:
Filter out directories from the list of results from glob.
The text was updated successfully, but these errors were encountered:
I have a CVS directory in my lang directory (I have checked a full copy into CVS) this makes getAvailableLanguages() read the CVS directory as a language which fails with:
Warning: Piwik_LanguagesManager_API::require(lang/.php) [function.Piwik-LanguagesManager-API-require]: failed to open stream: No such file or directory in C:\data\Callisto\thing\UI\piwik\plugins\LanguagesManager\API.php on line 54
Simple fix:
Screen only for .php files by changing plugins/LanguagesManager/API.php line 33 (version 0.2.31):
FROM:
$languages = glob($path . “_”);
TO:
$languages = glob($path . “_.php”);
More complex fix:
Filter out directories from the list of results from glob.
The text was updated successfully, but these errors were encountered: