Jump to content

Cuidado al actualizar el Prestashop desde 1.7.x a 1.7.6 si tienes el modulo sequra


gusman126

Recommended Posts

Hola a todos, 

He ido a actualizar el prestashop 1.7.2 hasta la versión 1.7.6.1 y me ha dado un error .

"ERROR [console] Error thrown while running command "prestashop:schema:update-without-foreign". Message: "Unknown database type bit requested, Doctrine\DBAL\Platforms\MySqlPlatform may not support it." ["exception" => Doctrine\DBAL\DBALException { …},"command" => "prestashop:schema:update-without-foreign","message" => "Unknown database type bit requested, Doctrine\DBAL\Platforms\MySqlPlatform may not support it."]
In AbstractPlatform.php line 423:
Unknown database type bit requested, Doctrine\DBAL\Platforms\MySqlPlatform may not support it.
prestashop:schema:update-without-foreign [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--id_shop [ID_SHOP]] [--id_shop_group [ID_SHOP_GROUP]] [--]"

Esto es debido a que en algun momento un modulo externo ha añadido a la base de datos un campo tipo bit(1) , este tipo de campo es incompatible con la actualización y con PS 1.7.6.1

Lo que se debe hacer es :

Abrir el phpmyadmin -> ir a la table ps_products -> buscar el campo "sequra_is_service" y darle a cambiar, cambiar de bit a int

 

Edited by gusman126 (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 7 months later...
On 9/2/2019 at 9:28 PM, gusman126 said:

Hola a todos, 

He ido a actualizar el prestashop 1.7.2 hasta la versión 1.7.6.1 y me ha dado un error .

"ERROR [console] Error thrown while running command "prestashop:schema:update-without-foreign". Message: "Unknown database type bit requested, Doctrine\DBAL\Platforms\MySqlPlatform may not support it." ["exception" => Doctrine\DBAL\DBALException { …},"command" => "prestashop:schema:update-without-foreign","message" => "Unknown database type bit requested, Doctrine\DBAL\Platforms\MySqlPlatform may not support it."]
In AbstractPlatform.php line 423:
Unknown database type bit requested, Doctrine\DBAL\Platforms\MySqlPlatform may not support it.
prestashop:schema:update-without-foreign [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--id_shop [ID_SHOP]] [--id_shop_group [ID_SHOP_GROUP]] [--]"

Esto es debido a que en algun momento un modulo externo ha añadido a la base de datos un campo tipo bit(1) , este tipo de campo es incompatible con la actualización y con PS 1.7.6.1

Lo que se debe hacer es :

Abrir el phpmyadmin -> ir a la table ps_products -> buscar el campo "sequra_is_service" y darle a cambiar, cambiar de bit a int

 

Muchas gracias, me ha salido el mismo error a la hora de la actualización y ha funcionado lo que comentas. Me has salvado la vida.

Edited by kouty_80 (see edit history)
  • Like 1
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...