MackStores.Com Posted September 20, 2023 Share Posted September 20, 2023 *ERROR* v8.1.1 2023/09/20 - 10:20:58: Array ( [0] => Cannot install module "ps_edition_basic" ) *ERROR* v8.1.1 2023/09/20 - 10:26:41: "An exception occurred while executing 'INSERT INTO `ps_link_block_shop` (`id_link_block`, `id_shop`, `position`) VALUES\n (1, 1, 0),\n (2, 1, 1);':\n\nSQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-1' for key 'PRIMARY'" *ERROR* v8.1.1 2023/09/20 - 10:26:41: PrestaShop\PrestaShop\Core\Domain\Theme\Exception\FailedToEnableThemeModuleException: "An exception occurred while executing 'INSERT INTO `ps_link_block_shop` (`id_link_block`, `id_shop`, `position`) VALUES\n (1, 1, 0),\n (2, 1, 1);':\n\nSQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-1' for key 'PRIMARY'" in /var/www/prestashop/try8.1/prestashop_edition_basic_version_8.1.1/src/Core/Addon/Theme/ThemeManager.php:398 Stack trace: #0 /var/www/prestashop/try8.1/prestashop_edition_basic_version_8.1.1/src/Core/Addon/Theme/ThemeManager.php(255): PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager->doEnableModules() #1 /var/www/prestashop/try8.1/prestashop_edition_basic_version_8.1.1/src/PrestaShopBundle/Install/Install.php(1178): PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager->enable() #2 /var/www/prestashop/try8.1/prestashop_edition_basic_version_8.1.1/install/controllers/http/process.php(294): PrestaShopBundle\Install\Install->installTheme() #3 /var/www/prestashop/try8.1/prestashop_edition_basic_version_8.1.1/install/controllers/http/process.php(104): InstallControllerHttpProcess->processInstallTheme() #4 /var/www/prestashop/try8.1/prestashop_edition_basic_version_8.1.1/install/classes/controllerHttp.php(277): InstallControllerHttpProcess->process() #5 /var/www/prestashop/try8.1/prestashop_edition_basic_version_8.1.1/install/index.php(53): InstallControllerHttp::execute() #6 {main} *ERROR* v8.1.1 2023/09/20 - 10:30:47: "An exception occurred while executing 'INSERT INTO `ps_link_block_shop` (`id_link_block`, `id_shop`, `position`) VALUES\n (1, 1, 0),\n (2, 1, 1);':\n\nSQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-1' for key 'PRIMARY'" *ERROR* v8.1.1 2023/09/20 - 10:30:47: PrestaShop\PrestaShop\Core\Domain\Theme\Exception\FailedToEnableThemeModuleException: "An exception occurred while executing 'INSERT INTO `ps_link_block_shop` (`id_link_block`, `id_shop`, `position`) VALUES\n (1, 1, 0),\n (2, 1, 1);':\n\nSQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-1' for key 'PRIMARY'" in /var/www/prestashop/try8.1/prestashop_edition_basic_version_8.1.1/src/Core/Addon/Theme/ThemeManager.php:398 Stack trace: #0 /var/www/prestashop/try8.1/prestashop_edition_basic_version_8.1.1/src/Core/Addon/Theme/ThemeManager.php(255): PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager->doEnableModules() #1 /var/www/prestashop/try8.1/prestashop_edition_basic_version_8.1.1/src/PrestaShopBundle/Install/Install.php(1178): PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager->enable() #2 /var/www/prestashop/try8.1/prestashop_edition_basic_version_8.1.1/install/controllers/http/process.php(294): PrestaShopBundle\Install\Install->installTheme() #3 /var/www/prestashop/try8.1/prestashop_edition_basic_version_8.1.1/install/controllers/http/process.php(104): InstallControllerHttpProcess->processInstallTheme() #4 /var/www/prestashop/try8.1/prestashop_edition_basic_version_8.1.1/install/classes/controllerHttp.php(277): InstallControllerHttpProcess->process() #5 /var/www/prestashop/try8.1/prestashop_edition_basic_version_8.1.1/install/index.php(53): InstallControllerHttp::execute() #6 {main} Link to comment Share on other sites More sharing options...
MackStores.Com Posted September 20, 2023 Author Share Posted September 20, 2023 wammp in windows An error occurred during installation... You can use the links on the left column to go back to the previous steps, or restart the installation process by clicking here. 1: "An exception occurred while executing 'INSERT INTO `ps_link_block_shop` (`id_link_block`, `id_shop`, `position`) VALUES\n (1, 1, 0),\n (2, 1, 1);':\n\nSQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-1' for key 'PRIMARY'" Link to comment Share on other sites More sharing options...
musicmaster Posted September 21, 2023 Share Posted September 21, 2023 Which php version are you using? Link to comment Share on other sites More sharing options...
MackStores.Com Posted September 21, 2023 Author Share Posted September 21, 2023 PHP Version 7.4.33 Apache VersionApache Apache API Version20120211 in lamp PHP Version 7.3.33 in wamp in windows Link to comment Share on other sites More sharing options...
musicmaster Posted September 21, 2023 Share Posted September 21, 2023 I had a similar error. See https://github.com/PrestaShop/PrestaShop/issues/33615 When I enabled debug (you can do that before you restart) I got a message that the "ps_edition_basic" needs PHP 8.1. Link to comment Share on other sites More sharing options...
Zohaib-fk Posted September 25, 2023 Share Posted September 25, 2023 Hi, Please check the system requirements for version 8. x below the link, hope it will be helpful. https://docs.prestashop-project.org/v.8-documentation/getting-started/what-you-need-to-get-started Link to comment Share on other sites More sharing options...
MackStores.Com Posted September 25, 2023 Author Share Posted September 25, 2023 solved it created a vm ubuntu 22 installed webmin apache2 sql and etc stuff Presta shop asked was missing or not enabled. this has php 8.1 installed Presta shop 8 xxxx and all works fine 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