THELIA Forum

Welcome to the THELIA support and discusssion forum

Announcement

Rejoignez la communauté sur le Discord Thelia : https://discord.gg/YgwpYEE3y3

Offline


Hum, hum,
J'ai fait une mauvaise manipulation.
J'ai temporairement fais une copie d'un fichier de traduction.
Une page blanche s'affiche sur mon Thelia 2.1.2.
Ainsi que le message suivant :

InvalidArgumentException: Invalid "en_US 2" locale.
in /Applications/MAMP/htdocs/thelia212/core/vendor/symfony/translation/Symfony/Component/Translation/Translator.php line 312
at Translator->assertValidLocale('en_US 2') in /Applications/MAMP/htdocs/thelia212/core/vendor/symfony/translation/Symfony/Component/Translation/Translator.php line 103
at Translator->addResource('php', '/Applications/MAMP/htdocs/thelia212/local/modules/HookCustomer/I18n/frontOffice/default/en_US 2.php', 'en_US 2', 'hookcustomer.fo.default') in /Applications/MAMP/htdocs/thelia212/cache/dev/CoreDevDebugProjectContainer.php line 3711
at CoreDevDebugProjectContainer->getThelia_TranslatorService() in /Applications/MAMP/htdocs/thelia212/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php line 331
at Container->get('thelia.translator') in /Applications/MAMP/htdocs/thelia212/cache/dev/CoreDevDebugProjectContainer.php line 2000
at CoreDevDebugProjectContainer->getStackFactoryService() in /Applications/MAMP/htdocs/thelia212/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php line 331
at Container->get('stack_factory') in /Applications/MAMP/htdocs/thelia212/cache/dev/CoreDevDebugProjectContainer.php line 921
at CoreDevDebugProjectContainer->getHttpKernelService() in /Applications/MAMP/htdocs/thelia212/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php line 331
at Container->get('http_kernel') in /Applications/MAMP/htdocs/thelia212/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Kernel.php line 197
at Kernel->getHttpKernel() in /Applications/MAMP/htdocs/thelia212/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Kernel.php line 187
at Kernel->handle(object(Request)) in /Applications/MAMP/htdocs/thelia212/web/index_dev.php line 36

J'ai supprimé le fichier en question «en_US 2.php».
Mais je crois qu'il est encore en cache.
On fait comment pour vider le cache lorsqu'on a plus accès à l'admin ?

Merci beaucoup.

Last edited by rigamarole (22-04-2015 15:18:56)

Offline


Bon,
J'ai trouvé ; j'ai vidé le cache «à la Manu».
Merci Franck.   ;-)