technoweather Posted January 4, 2021 Share Posted January 4, 2021 Buenas tardes, actualicé mi tienda prestashop con el modulo de 1 click update y surgieron los siguientes errores al finalizar la actualización: [INTERNAL] /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php line 168 - Symfony\Component\Config\Exception\FileLoaderLoadException: The file "/home/gfashion/gfashioncollection.com/collect/app/config/config.yml" does not contain valid YAML: The constant "PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController::PRESTASHOP_CORE_CONTROLLERS_TAG" is not defined at line 27 (near "- !php/const PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController::PRESTASHOP_CORE_CONTROLLERS_TAG") in /home/gfashion/gfashioncollection.com/collect/app/config/config.yml (which is being imported from "/home/gfashion/gfashioncollection.com/collect/app/config/config_prod.yml"). #0 /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php(90): Symfony\Component\Config\Loader\FileLoader->doImport('/home/gfashion/...', NULL, false, '/home/gfashion/...') #1 /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php(196): Symfony\Component\Config\Loader\FileLoader->import('config.yml', NULL, false, '/home/gfashion/...') #2 /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php(127): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->parseImports(Array, '/home/gfashion/...') #3 /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/DelegatingLoader.php(40): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->load('/home/gfashion/...', NULL) #4 /home/gfashion/gfashioncollection.com/collect/app/AppKernel.php(151): Symfony\Component\Config\Loader\DelegatingLoader->load('/home/gfashion/...') #5 /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(776): AppKernel->registerContainerConfiguration(Object(Symfony\Component\Config\Loader\DelegatingLoader)) #6 /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(642): Symfony\Component\HttpKernel\Kernel->buildContainer() #7 /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(135): Symfony\Component\HttpKernel\Kernel->initializeContainer() #8 /home/gfashion/gfashioncollection.com/collect/modules/autoupgrade/classes/UpgradeTools/SymfonyAdapter.php(74): Symfony\Component\HttpKernel\Kernel->boot() #9 /home/gfashion/gfashioncollection.com/collect/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader17.php(50): PrestaShop\Module\AutoUpgrade\UpgradeTools\SymfonyAdapter->initAppKernel() #10 /home/gfashion/gfashioncollection.com/collect/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(85): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader17->initConstants() #11 /home/gfashion/gfashioncollection.com/collect/modules/autoupgrade/classes/TaskRunner/Upgrade/UpgradeDb.php(41): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->doUpgrade() #12 /home/gfashion/gfashioncollection.com/collect/admin475tdfeud/autoupgrade/ajax-upgradetab.php(53): PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade\UpgradeDb->run() #13 {main} Por otra parte no me deja entrara al sitio web tanto ni en el back office ni el front office, ambos marcan error 500.En el back office me marca estos errores: The file "/home/gfashion/gfashioncollection.com/collect/app/config/config.yml" does not contain valid YAML: The constant "PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController::PRESTASHOP_CORE_CONTROLLERS_TAG" is not defined at line 27 (near "- !php/const PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController::PRESTASHOP_CORE_CONTROLLERS_TAG") in /home/gfashion/gfashioncollection.com/collect/app/config/config.yml (which is being imported from "/home/gfashion/gfashioncollection.com/collect/app/config/config_dev.yml"). The file "/home/gfashion/gfashioncollection.com/collect/app/config/config.yml" does not contain valid YAML: The constant "PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController::PRESTASHOP_CORE_CONTROLLERS_TAG" is not defined at line 27 (near "- !php/const PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController::PRESTASHOP_CORE_CONTROLLERS_TAG"). The constant "PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController::PRESTASHOP_CORE_CONTROLLERS_TAG" is not defined at line 27 (near "- !php/const PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController::PRESTASHOP_CORE_CONTROLLERS_TAG").Y en el Front office: Notice: Undefined index: doctrine in /home/gfashion/gfashioncollection.com/collect/src/Adapter/Container/DoctrineBuilderExtension.php on line 63 Fatal error: Uncaught Symfony\Component\Config\Exception\FileLocatorFileNotFoundException: The file "../../src/PrestaShopBundle/Resources/config/services/core/string.yml" does not exist (in: /home/gfashion/gfashioncollection.com/collect/config/services/front/.., /home/gfashion/gfashioncollection.com/collect/src/Adapter). in /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/Config/FileLocator.php:71 Stack trace: #0 /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php(136): Symfony\Component\Config\FileLocator->locate('../../src/Prest...', '/home/gfashion/...', false) #1 /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php(90): Symfony\Component\Config\Loader\FileLoader->doImport('../../src/Prest...', NULL, false, '/home/gfashion/...') #2 /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Load in /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php on line 168 Me puedes ayudar u orientar para solucionarlo. De antemano muchas gracias Link to comment Share on other sites More sharing options...
joseantgv Posted January 4, 2021 Share Posted January 4, 2021 Empieza por eliminar las 2 carpetas que hay dentro de /var/cache. Link to comment Share on other sites More sharing options...
technoweather Posted January 4, 2021 Author Share Posted January 4, 2021 Buen día José, gracias por tu respuesta, ya he borrado las 2 carpetas dentro de la ruta que me indicaste y me persisten los mismos errores. ¿Algo que se pueda hacer para solucionarlo? Gracias de antemano. Notice: Undefined index: doctrine in /home/gfashion/gfashioncollection.com/collect/src/Adapter/Container/DoctrineBuilderExtension.php on line 63 Fatal error: Uncaught Symfony\Component\Config\Exception\FileLocatorFileNotFoundException: The file "../../src/PrestaShopBundle/Resources/config/services/core/string.yml" does not exist (in: /home/gfashion/gfashioncollection.com/collect/config/services/front/.., /home/gfashion/gfashioncollection.com/collect/src/Adapter). in /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/Config/FileLocator.php:71 Stack trace: #0 /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php(136): Symfony\Component\Config\FileLocator->locate('../../src/Prest...', '/home/gfashion/...', false) #1 /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php(90): Symfony\Component\Config\Loader\FileLoader->doImport('../../src/Prest...', NULL, false, '/home/gfashion/...') #2 /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Load in /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php on line 168 Link to comment Share on other sites More sharing options...
technoweather Posted January 4, 2021 Author Share Posted January 4, 2021 10 hours ago, joseantgv said: Empieza por eliminar las 2 carpetas que hay dentro de /var/cache. Buen día José, gracias por tu respuesta, ya he borrado las 2 carpetas dentro de la ruta que me indicaste y me persisten los mismos errores. ¿Algo que se pueda hacer para solucionarlo? Gracias de antemano. Notice: Undefined index: doctrine in /home/gfashion/gfashioncollection.com/collect/src/Adapter/Container/DoctrineBuilderExtension.php on line 63 Fatal error: Uncaught Symfony\Component\Config\Exception\FileLocatorFileNotFoundException: The file "../../src/PrestaShopBundle/Resources/config/services/core/string.yml" does not exist (in: /home/gfashion/gfashioncollection.com/collect/config/services/front/.., /home/gfashion/gfashioncollection.com/collect/src/Adapter). in /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/Config/FileLocator.php:71 Stack trace: #0 /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php(136): Symfony\Component\Config\FileLocator->locate('../../src/Prest...', '/home/gfashion/...', false) #1 /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php(90): Symfony\Component\Config\Loader\FileLoader->doImport('../../src/Prest...', NULL, false, '/home/gfashion/...') #2 /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Load in /home/gfashion/gfashioncollection.com/collect/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php on line 168 Link to comment Share on other sites More sharing options...
juanrojas Posted January 4, 2021 Share Posted January 4, 2021 HOLA tu plantilla y modulos son compatibles con esa version? Link to comment Share on other sites More sharing options...
technoweather Posted January 4, 2021 Author Share Posted January 4, 2021 1 hour ago, juanrojas said: HOLA tu plantilla y modulos son compatibles con esa version? Buen día Juan, el theme es compatible hasta la versión 1.7.6.8 que es la que tenía instalado. De los módulos todos estaban actualizados a la última versión y son los que trae la tienda por default. Si el problema es la plantilla, ¿sabes como se podría restaurar la que trae por dafault de alguna forma ya que no me permite entrar al backoffice? Gracias de antemano por tu respuesta y ayuda. Link to comment Share on other sites More sharing options...
juanrojas Posted January 4, 2021 Share Posted January 4, 2021 claro el problema es la plantilla, la idea seria que subieras una copia de seguridad Link to comment Share on other sites More sharing options...
joseantgv Posted January 4, 2021 Share Posted January 4, 2021 Veo un error que dice: The file "../../src/PrestaShopBundle/Resources/config/services/core/string.yml" does not exist Puedes revisar el contenido de esa carpeta? Link to comment Share on other sites More sharing options...
technoweather Posted January 4, 2021 Author Share Posted January 4, 2021 22 minutes ago, joseantgv said: Veo un error que dice: The file "../../src/PrestaShopBundle/Resources/config/services/core/string.yml" does not exist Puedes revisar el contenido de esa carpeta? Muchas gracias José, en la carpeta no estaba el archivo string.yml y haciendo cotejo con el mismo directorio de la versión de instalación de prestashop faltaba ese archivo y el common y el circuit_breaker.yml. Los subí al servidor y se muestra ya la pantalla de mi tienda que está en mantenimiento. 😃 Ahora la cuestión es dentro del back office, que me sigue marcando errores y son 3 de los que veo que la cuestión es con la etiqueta Prestashop_core_controllers. ¿Me podrías apoyar con ello? Gracias de antemano por toda la ayuda brindada. Link to comment Share on other sites More sharing options...
joseantgv Posted January 5, 2021 Share Posted January 5, 2021 Es que no deberían faltar ficheros. Descárgate el ZIP de la versión 1.7.7.0 y sube por FTP las carpetas /classes, /controllers y /src. Link to comment Share on other sites More sharing options...
technoweather Posted January 11, 2021 Author Share Posted January 11, 2021 On 1/5/2021 at 6:56 AM, joseantgv said: Es que no deberían faltar ficheros. Descárgate el ZIP de la versión 1.7.7.0 y sube por FTP las carpetas /classes, /controllers y /src. Buenas tardes nuevamente José, disculpa la demora en la respuesta. Ya he actualizado las carpetas y ya pude entrar al back office pero Me aparece este error y no me aparece la barra lateral para acceder a los módulos catálogo, configuración, etc ¿Qué puedo hacer? Gracias de antemano Link to comment Share on other sites More sharing options...
joseantgv Posted January 11, 2021 Share Posted January 11, 2021 Tienes un problema con las tabs. Eso ya es un problema de base de datos. Seguramente hubo algún error con la actualización. Te recomiendo que vuelvas para atrás y lo intentes de nuevo. 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