Jump to content

Problema al actualizar Prestashop de la versión 1.7.6.8 a la 1.7.7.0


Recommended Posts

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

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

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

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

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. 

image.png.dee6694d10fc5e598723111f3d170c7c.png
image.png.a5175922c486f4d06de027198a4c9495.png

image.png.1466ddb119fd5d2d1b8180fcb658ef53.png

Link to comment
Share on other sites

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
image.png.32fb13331d8cfcef6e94d273e2fa0c39.png

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...