Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
After February 6, this site will no longer have Facebook, Twitter, or OpenID sign-in options. Read our announcement about social media SSO support in 2.8 for more info.

Make sure you have a current, valid email address set in your profile and set a password so you can login without it. If you get locked out after that time, you can choose "Forgot Password" to fix it as long as a valid email is on your account.

Vanilla 2.5: issue with locale

Hi, everyone! Upgrade from 2.3.1 and get "Something has gone wrong". :3 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`

Comments

Sign In or Register to comment.