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

In this Discussion

Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.

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.