Nalena Posted February 15, 2022 Share Posted February 15, 2022 Buenos días! Tengo un pequeño problema, a ver si me podéis echar una mano. Estamos realizando una web y el otro día un compañero tras hacer unos cambios en las traducciones del tema nos quedamos con un error 500 al acceder al panel de admin... Finalmente conseguimos acceder y decimos borrar también toda la caché y nos hemos quedado igual con un error 500 en el panel de admin. ¿Alguna sugerencia? PS: 1.7 Link to comment Share on other sites More sharing options...
joseantgv Posted February 15, 2022 Share Posted February 15, 2022 ¿Qué error? Link to comment Share on other sites More sharing options...
Nalena Posted February 15, 2022 Author Share Posted February 15, 2022 La página tal tal tal no puede procesar esta solicitud ahora 😕 Y cuando conseguimos volver a entrar los cambios en las traducciones vemos que no se han quedado guardados :/ Link to comment Share on other sites More sharing options...
juanrojas Posted February 15, 2022 Share Posted February 15, 2022 activa el modo debug y añade pantallazos Link to comment Share on other sites More sharing options...
Nalena Posted February 15, 2022 Author Share Posted February 15, 2022 (1/1) InvalidArgumentException Invalid "es-ES - copia" locale. in Translator.php line 447 at Translator->assertValidLocale('es-ES - copia')in Translator.php line 132 at Translator->addResource('xlf', '/srv/vhost/tiendaeuphoria.es/home/html/app/Resources/translations/es-ES/AdminShopparametersFeature.es-ES - copia.xlf', 'es-ES - copia', 'AdminShopparametersFeature')in Translator.php line 135 at Translator->initialize()in Translator.php line 127 at Translator->initializeCatalogue('es-ES')in Translator.php line 314 at Translator->dumpCatalogue('es-ES', object(ResourceCheckerConfigCache))in Translator.php line 299 at Translator->Symfony\Component\Translation\{closure}(object(ResourceCheckerConfigCache))in ResourceCheckerConfigCacheFactory.php line 43 at ResourceCheckerConfigCacheFactory->cache('/srv/vhost/tiendaeuphoria.es/home/html/var/cache/dev/translations/catalogue.es-ES.L8dqxxF.php', object(Closure))in Translator.php line 300 at Translator->initializeCacheCatalogue('es-ES')in Translator.php line 265 at Translator->loadCatalogue('es-ES')in Translator.php line 241 at Translator->getCatalogue('es-ES')in Translator.php line 198 at Translator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)in PrestaShopTranslatorTrait.php line 61 at Translator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)in LoggingTranslator.php line 47 at LoggingTranslator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)in DataCollectorTranslator.php line 50 at DataCollectorTranslator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)in PrestaShopTranslatorTrait.php line 61 at DataCollectorTranslator->trans('Successful deletion.', array(), 'Admin.Notifications.Success', null)in Controller.php line 338 at ControllerCore->trans('Successful deletion.', array('legacy' => 'htmlspecialchars'), 'Admin.Notifications.Success')in AdminController.php line 481 at AdminControllerCore->__construct()in LegacyContext.php line 86 at LegacyContext->getContext()in UserLocaleListener.php line 39 at UserLocaleListener->__construct(object(LegacyContext))in appDevDebugProjectContainer.php line 4008 at appDevDebugProjectContainer->getPrestashop_UserLocale_ListenerService()in appDevDebugProjectContainer.php line 4537 at appDevDebugProjectContainer->ContainerDxus5xx\{closure}()in EventDispatcher.php line 231 at EventDispatcher->sortListeners('kernel.request')in EventDispatcher.php line 61 at EventDispatcher->getListeners('kernel.request')in ContainerAwareEventDispatcher.php line 129 at ContainerAwareEventDispatcher->getListeners('kernel.request')in TraceableEventDispatcher.php line 259 at TraceableEventDispatcher->preProcess('kernel.request')in TraceableEventDispatcher.php line 137 at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in HttpKernel.php line 127 at HttpKernel->handleRaw(object(Request), 1)in HttpKernel.php line 68 at HttpKernel->handle(object(Request), 1, false)in Kernel.php line 200 at Kernel->handle(object(Request), 1, false)in index.php line 82 Link to comment Share on other sites More sharing options...
juanrojas Posted February 15, 2022 Share Posted February 15, 2022 tradujeron desde el apartado de traducciones o le metieron mano algun archivo? Link to comment Share on other sites More sharing options...
joseantgv Posted February 15, 2022 Share Posted February 15, 2022 Borra ese fichero: /srv/vhost/tiendaeuphoria.es/home/html/app/Resources/translations/es-ES/AdminShopparametersFeature.es-ES - copia.xlf Link to comment Share on other sites More sharing options...
Nalena Posted February 15, 2022 Author Share Posted February 15, 2022 16 minutes ago, juanrojas said: tradujeron desde el apartado de traducciones o le metieron mano algun archivo? Me dicen que desde traducciones, pero no lo tengo yo tan claro... jajaja Link to comment Share on other sites More sharing options...
Nalena Posted February 15, 2022 Author Share Posted February 15, 2022 10 minutes ago, joseantgv said: Borra ese fichero: /srv/vhost/tiendaeuphoria.es/home/html/app/Resources/translations/es-ES/AdminShopparametersFeature.es-ES - copia.xlf Hecho, pero sigue igual 😕 Link to comment Share on other sites More sharing options...
joseantgv Posted February 15, 2022 Share Posted February 15, 2022 Limpia caché. Y si sigue, debe aparecer otro error. Por favor sube captura de pantalla. Link to comment Share on other sites More sharing options...
Nalena Posted February 16, 2022 Author Share Posted February 16, 2022 De momento al borrar la caché ya no dio error... Durante el día compruebo las traducciones y os digo, gracias! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now