gusman126 Posted September 2, 2019 Share Posted September 2, 2019 (edited) 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 September 2, 2019 by gusman126 (see edit history) 1 Link to comment Share on other sites More sharing options...
Luisejo Posted September 3, 2019 Share Posted September 3, 2019 Hola gusman126, Muchas gracias por el dato. Lo tendré muy presente. Saludos. Link to comment Share on other sites More sharing options...
kouty_80 Posted April 17, 2020 Share Posted April 17, 2020 (edited) 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 April 17, 2020 by kouty_80 (see edit history) 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