Jump to content

Error 500 al actualizar manualmente 1.7.5.1


Zero_

Recommended Posts

Hola a todos,聽

Nos es la primera vez que actualizo manualmente, ya que el m贸dulo autom谩tico siempre me da en mi caso聽errores.

Realic茅 todos los pasos para la correcta actualizaci贸n, cuando me dirijo a actualizar > midominio.com/install/upgrade/upgrade.php me sale el siguiente error:

Fatal error: Uncaught Symfony\Component\Debug\Exception\ContextErrorException: Warning: Invalid argument supplied for foreach() in /var/www/vhosts/xxx.es/httpdocs/classes/Language.php:884 Stack trace: #0 /var/www/vhosts/xxx.es/httpdocs/src/PrestaShopBundle/Install/Upgrade.php(319): LanguageCore::loadLanguages() #1 /var/www/vhosts/xxx.es/httpdocs/src/PrestaShopBundle/Install/Upgrade.php(771): PrestaShopBundle\Install\Upgrade->initContext() #2 /var/www/vhosts/xxx.es/httpdocs/install/upgrade/upgrade.php(88): PrestaShopBundle\Install\Upgrade->run() #3 {main} thrown in聽/var/www/vhosts/xxx.es/httpdocs/classes/Language.php聽on line聽884

Puedo hacerme una idea de lo que es pero no doy con la soluci贸n, si hay alguien que haya pasado por esto le agradezco una soluci贸n.

Gracias de antemano.

Saludos.

Link to comment
Share on other sites

Ya tengo la 煤ltima聽versi贸n,聽 y tambi茅n migre los datos de la vieja a sus respectivas carpetas machac谩ndolas. Segu铆 tu recomendaci贸n y tanto la versi贸n anterior y esta 煤ltima la funci贸n es la misma.

Me veo migrando la base de datos e instalar la tienda de 0. Intente restablecer la tienda y al hacer un Rollback me da el siguiente error:

Table 'root_xxx.ps_shop_url' doesn't exist


SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main
                    FROM ps_shop_url su
                    LEFT JOIN ps_shop s ON (s.id_shop = su.id_shop)
                    WHERE (su.domain = 'www.xxx.es' OR su.domain_ssl = 'www.xxx.es')
                        AND s.active = 1
                        AND s.deleted = 0
                    ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC

Se supone que al subir la copia que guarde tendr铆a que restablecerse pero sigue igual. Cree la tabla ps_shop_url y con sus respectivos campos y me dice que prestashop 1.7.5 no contiende esa tabla, vamos que lo que dije, migrar base de datos y empezar de 0.

Gracias por tu ayuda, un saludo.

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...