Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Vanilla 2.5: issue with locale
mirX
✭
Hi, everyone! Upgrade from 2.3.1 and get "Something has gone wrong". Looks like an issue with locale (see error_log below).
Replace $Configuration['EnabledLocales']['vf_ru'] = 'ru'
with $Configuration['Garden']['Locale'] = 'en-US'
in config.php and it works perfectly.
Any ideas what can be wrong with russian locale?
Error_log:
`[15-Jan-2018 18:56:22 UTC] PHP Fatal error: Uncaught Exception: The addon at /locales/vf_ru doesn't have any info. in /home/interna1/public_html/library/Vanilla/Addon.php:189
Stack trace:
0 /home/interna1/public_html/library/Vanilla/Addon.php(80): Vanilla\Addon->scanInfo()
1 /home/interna1/public_html/library/Vanilla/Addon.php(67): Vanilla\Addon->scan('/locales/vf_ru')
2 /home/interna1/public_html/library/Vanilla/AddonManager.php(534): Vanilla\Addon->__construct('/locales/vf_ru')
3 /home/interna1/public_html/library/Vanilla/AddonManager.php(1097): Vanilla\AddonManager->lookupSingleCachedAddon('vf_ru', 'locale')
4 /home/interna1/public_html/library/Vanilla/AddonManager.php(1074): Vanilla\AddonManager->lookupByType('vf_ru', 'locale')
5 /home/interna1/public_html/bootstrap.php(249): Vanilla\AddonManager->startAddonsByKey(Array, 'locale')
6 [internal function]: {closure}(Object(Garden\Container\Container), Object(Gdn_Configuration), Object(Vanilla\AddonManager), Object(Garden\EventManager), Object(Gdn_Request))
7 /home/interna1/public_html/vendor/vanilla/garden-container/src/Container.php(723): call_user_func_array(Object(Closure), Array)
8 /home/interna1/public_html/bootstrap.php(308): Garden\Container\Container->call(Object(Closure))
9 /home/interna1/public_html/index.php(22): require_once('/home/interna1/...')
10
thrown in /home/interna1/public_html/library/Vanilla/Addon.php on line 189`
0
Comments
When's the last time you updated your Russian locale?
Two years ago. it worked fine with 2.2, 2.3. 2.3.1.
I downloaded and reinstalled the new version of Official Russian language translations for Vanilla, it works.
This locale added a new file -
dash_text.php
- probably the cause was in this.The remaining files are identical.