MrSoulPC915 Posted December 9, 2024 Share Posted December 9, 2024 (edited) Hello, I am installing a Presta v8.2.0 community (EDIT: I have the same problem with 8.1.7). I've upgraded the hosting to php8.1 (EDIT2: I have the same problem with 8.0) with all the prerequisites and even some extra: memory_limit = 2048M post_max_size = 128M upload_max_filesize = 32M max_input_vars = 5000 Except that when installing the languages, I get a 503 error (which then appears directly at the "Create file parameters" stage if I try again). Here are the outgoing logs: (104)Connection reset by peer: [remote 111.111.111.111:59768] AH01075: Error dispatching request to : , referer: https://lesite.com/install/index.php [remote 111.111.111.111:59768] AH01067: Failed to read FastCGI header, referer: https://lesite.com/install/index.php [remote 111.111.111.111:59768] AH01071: Got error 'PHP message: PHP Warning: Attempt to read property "theme_name" on null in /home/lesite/public_html/var/cache/prod/ContainerNsde29V/appAppKernelProdContainer.php on line 2871PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /home/lesite/public_html/install/index.php:0PHP message: PHP 2. InstallControllerHttp::execute() /home/lesite/public_html/install/index.php:53PHP message: PHP 3. InstallControllerHttpProcess->process() /home/lesite/public_html/install/classes/controllerHttp.php:277PHP message: PHP 4. InstallControllerHttpProcess->processInstallDatabase() /home/lesite/public_html/install/controllers/http/process.php:92PHP message: PHP 5. PrestaShopBundle\\Install\\Install->installDatabase($clear_database = '1') /home/lesite/public_html/install/controllers/http/process.php:166PHP message: PHP 6. PrestaShopBundle\\Install\\Install->updateSchema() /home/lesite/public_html/src/PrestaShopBundle/Install/Install.php:334PHP message: PHP 7. PrestaShopBundle\\Service\\Database\\Upgrade->addDoctrineSchemaUpdate() /home/lesite/public_html/src/PrestaShopBundle/Install/Install.php:347PHP message: PHP 8. Symfony\\Bundle\\FrameworkBundle\\Console\\Application->add($command = class PrestaShopBundle\\Command\\UpdateSchemaCommand { private ${Symfony\\Component\\Console\\Command\\Command}application = class Symfony\\Bundle\\FrameworkBundle\\Console\\Application { private ${Symfony\\Component\\Console\\Application}commands = [...]; private ${Symfony\\Component\\Console\\Application}wantHelps = FALSE; private ${Symfony\\Component\\Console\\Application}runningCommand = NULL; private ${Symfony\\Component\\Console\\Application}name = 'Symfony'; private ${Symfony\\Component\\Console\\Application}version = '4.4.51'; private ${Symfony\\Component\\Console\\Application}commandLoader = class Symfony\\Component\\Console\\CommandLoader\\ContainerCommandLoader { ... }; private ${Symfony\\Component\\Console\\Application}catchExceptions = TRUE; private ${Symfony\\Component\\Console\\Application}autoExit = FALSE; private ${Symfony\\Component\\Console\\Application}definition = class Symfony\\Component\\Console\\Input\\InputDefinition { ... }; pri...PHP message: PHP 9. Symfony\\Bundle\\FrameworkBundle\\Console\\Application->registerCommands() /home/lesite/public_html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:156PHP message: PHP 10. Symfony\\Component\\DependencyInjection\\Container->get($id = 'PrestaShopBundle\\\\Command\\\\ModuleCommand', $invalidBehavior = *uninitialized*) /home/lesite/public_html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:192PHP message: PHP 11. Symfony\\Component\\DependencyInjection\\Container->make($id = 'PrestaShopBundle\\\\Command\\\\ModuleCommand', $invalidBehavior = 1) /home/lesite/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:231PHP message: PHP 12. ContainerNsde29V\\appAppKernelProdContainer->load($file = 'getModuleCommandService.php', $lazyLoad = *uninitialized*) /home/lesite/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:255PHP message: PHP 13. require() /home/lesite/public_html/var/cache/prod/ContainerNsde29V/appAppKernelProdContainer.php:2226PHP message: PHP 14. ContainerNsde29V\\appAppKernelProdContainer->load($file = 'getPrestashop_Module_ManagerService.php', $lazyLoad = *uninitialized*) /home/lesite/public_html/var/cache/prod/ContainerNsde29V/getModuleCommandService.php:9PHP message: PHP 15. require() /home/lesite/public_html/var/cache/prod/ContainerNsde29V/appAppKernelProdContainer.php:2226PHP message: PHP 16. ContainerNsde29V\\appAppKernelProdContainer->getPrestashop_Core_Admin_DataProvider_ModuleInterfaceService() /home/lesite/public_html/var/cache/prod/ContainerNsde29V/getPrestashop_Module_ManagerService.php:9PHP message: PHP 17. ContainerNsde29V\\appAppKernelProdContainer->getPrestashop_CategoriesProviderService() /home/lesite/public_html/var/cache/prod/ContainerNsde29V/appAppKernelProdContainer.php:2881', referer: https://lesite.com/install/index.php [remote 111.111.111.111:59768] AH01071: Got error 'PHP message: PHP Warning: Constant _PS_DO_NOT_LOAD_CONFIGURATION_ already defined in /home/lesite/public_html/install/controllers/http/smarty_compile.php on line 26PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /home/lesite/public_html/install/index.php:0PHP message: PHP 2. InstallControllerHttp::execute() /home/lesite/public_html/install/index.php:53PHP message: PHP 3. require_once() /home/lesite/public_html/install/classes/controllerHttp.php:190PHP message: PHP 4. define($constant_name = '_PS_DO_NOT_LOAD_CONFIGURATION_', $value = TRUE) /home/lesite/public_html/install/controllers/http/smarty_compile.php:26PHP message: PHP Fatal error: Uncaught Error: Undefined constant "_DB_PREFIX_" in /home/lesite/public_html/classes/Configuration.php:175\nStack trace:\n#0 /home/lesite/public_html/classes/Configuration.php(229): ConfigurationCore::loadConfiguration()\n#1 /home/lesite/public_html/config/smarty.config.inc.php(28): ConfigurationCore::get()\n#2 /home/lesite/public_html/install/controllers/http/smarty_compile.php(37): require_once('...')\n#3 /home/lesite/public_html/install/classes/controllerHttp.php(190): require_once('...')\n#4 /home/lesite/public_html/install/index.php(53): InstallControllerHttp::execute()\n#5 {main}\n thrown in /home/lesite/public_html/classes/Configuration.php on line 175', referer: https://lesite.com/install/index.php [remote 111.111.111.111:59768] AH01071: Got error 'PHP message: PHP Warning: Constant _PS_DO_NOT_LOAD_CONFIGURATION_ already defined in /home/lesite/public_html/install/controllers/http/smarty_compile.php on line 26PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /home/lesite/public_html/install/index.php:0PHP message: PHP 2. InstallControllerHttp::execute() /home/lesite/public_html/install/index.php:53PHP message: PHP 3. require_once() /home/lesite/public_html/install/classes/controllerHttp.php:190PHP message: PHP 4. define($constant_name = '_PS_DO_NOT_LOAD_CONFIGURATION_', $value = TRUE) /home/lesite/public_html/install/controllers/http/smarty_compile.php:26PHP message: PHP Fatal error: Uncaught Error: Undefined constant "_DB_PREFIX_" in /home/lesite/public_html/classes/Configuration.php:175\nStack trace:\n#0 /home/lesite/public_html/classes/Configuration.php(229): ConfigurationCore::loadConfiguration()\n#1 /home/lesite/public_html/config/smarty.config.inc.php(28): ConfigurationCore::get()\n#2 /home/lesite/public_html/install/controllers/http/smarty_compile.php(37): require_once('...')\n#3 /home/lesite/public_html/install/classes/controllerHttp.php(190): require_once('...')\n#4 /home/lesite/public_html/install/index.php(53): InstallControllerHttp::execute()\n#5 {main}\n thrown in /home/lesite/public_html/classes/Configuration.php on line 175', referer: https://lesite.com/install/index.php [remote 111.111.111.111:59708] AH01071: Got error 'PHP message: PHP Warning: Constant _PS_DO_NOT_LOAD_CONFIGURATION_ already defined in /home/lesite/public_html/install/controllers/http/smarty_compile.php on line 26PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /home/lesite/public_html/install/index.php:0PHP message: PHP 2. InstallControllerHttp::execute() /home/lesite/public_html/install/index.php:53PHP message: PHP 3. require_once() /home/lesite/public_html/install/classes/controllerHttp.php:190PHP message: PHP 4. define($constant_name = '_PS_DO_NOT_LOAD_CONFIGURATION_', $value = TRUE) /home/lesite/public_html/install/controllers/http/smarty_compile.php:26PHP message: PHP Fatal error: Uncaught Error: Undefined constant "_DB_PREFIX_" in /home/lesite/public_html/classes/Configuration.php:175\nStack trace:\n#0 /home/lesite/public_html/classes/Configuration.php(229): ConfigurationCore::loadConfiguration()\n#1 /home/lesite/public_html/config/smarty.config.inc.php(28): ConfigurationCore::get()\n#2 /home/lesite/public_html/install/controllers/http/smarty_compile.php(37): require_once('...')\n#3 /home/lesite/public_html/install/classes/controllerHttp.php(190): require_once('...')\n#4 /home/lesite/public_html/install/index.php(53): InstallControllerHttp::execute()\n#5 {main}\n thrown in /home/lesite/public_html/classes/Configuration.php on line 175', referer: https://lesite.com/install/index.php [remote 111.111.111.111:59708] AH01071: Got error 'PHP message: PHP Warning: Constant _PS_DO_NOT_LOAD_CONFIGURATION_ already defined in /home/lesite/public_html/install/controllers/http/smarty_compile.php on line 26PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /home/lesite/public_html/install/index.php:0PHP message: PHP 2. InstallControllerHttp::execute() /home/lesite/public_html/install/index.php:53PHP message: PHP 3. require_once() /home/lesite/public_html/install/classes/controllerHttp.php:190PHP message: PHP 4. define($constant_name = '_PS_DO_NOT_LOAD_CONFIGURATION_', $value = TRUE) /home/lesite/public_html/install/controllers/http/smarty_compile.php:26PHP message: PHP Fatal error: Uncaught Error: Undefined constant "_DB_PREFIX_" in /home/lesite/public_html/classes/Configuration.php:175\nStack trace:\n#0 /home/lesite/public_html/classes/Configuration.php(229): ConfigurationCore::loadConfiguration()\n#1 /home/lesite/public_html/config/smarty.config.inc.php(28): ConfigurationCore::get()\n#2 /home/lesite/public_html/install/controllers/http/smarty_compile.php(37): require_once('...')\n#3 /home/lesite/public_html/install/classes/controllerHttp.php(190): require_once('...')\n#4 /home/lesite/public_html/install/index.php(53): InstallControllerHttp::execute()\n#5 {main}\n thrown in /home/lesite/public_html/classes/Configuration.php on line 175', referer: https://lesite.com/install/index.php [remote 111.111.111.111:59708] AH01071: Got error 'PHP message: PHP Warning: Constant _PS_DO_NOT_LOAD_CONFIGURATION_ already defined in /home/lesite/public_html/install/controllers/http/smarty_compile.php on line 26PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /home/lesite/public_html/install/index.php:0PHP message: PHP 2. InstallControllerHttp::execute() /home/lesite/public_html/install/index.php:53PHP message: PHP 3. require_once() /home/lesite/public_html/install/classes/controllerHttp.php:190PHP message: PHP 4. define($constant_name = '_PS_DO_NOT_LOAD_CONFIGURATION_', $value = TRUE) /home/lesite/public_html/install/controllers/http/smarty_compile.php:26PHP message: PHP Fatal error: Uncaught Error: Undefined constant "_DB_PREFIX_" in /home/lesite/public_html/classes/Configuration.php:175\nStack trace:\n#0 /home/lesite/public_html/classes/Configuration.php(229): ConfigurationCore::loadConfiguration()\n#1 /home/lesite/public_html/config/smarty.config.inc.php(28): ConfigurationCore::get()\n#2 /home/lesite/public_html/install/controllers/http/smarty_compile.php(37): require_once('...')\n#3 /home/lesite/public_html/install/classes/controllerHttp.php(190): require_once('...')\n#4 /home/lesite/public_html/install/index.php(53): InstallControllerHttp::execute()\n#5 {main}\n thrown in /home/lesite/public_html/classes/Configuration.php on line 175', referer: https://lesite.com/install/index.php [remote 111.111.111.111:59708] AH01071: Got error 'PHP message: PHP Warning: Constant _PS_DO_NOT_LOAD_CONFIGURATION_ already defined in /home/lesite/public_html/install/controllers/http/smarty_compile.php on line 26PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /home/lesite/public_html/install/index.php:0PHP message: PHP 2. InstallControllerHttp::execute() /home/lesite/public_html/install/index.php:53PHP message: PHP 3. require_once() /home/lesite/public_html/install/classes/controllerHttp.php:190PHP message: PHP 4. define($constant_name = '_PS_DO_NOT_LOAD_CONFIGURATION_', $value = TRUE) /home/lesite/public_html/install/controllers/http/smarty_compile.php:26PHP message: PHP Fatal error: Uncaught Error: Undefined constant "_DB_PREFIX_" in /home/lesite/public_html/classes/Configuration.php:175\nStack trace:\n#0 /home/lesite/public_html/classes/Configuration.php(229): ConfigurationCore::loadConfiguration()\n#1 /home/lesite/public_html/config/smarty.config.inc.php(28): ConfigurationCore::get()\n#2 /home/lesite/public_html/install/controllers/http/smarty_compile.php(37): require_once('...')\n#3 /home/lesite/public_html/install/classes/controllerHttp.php(190): require_once('...')\n#4 /home/lesite/public_html/install/index.php(53): InstallControllerHttp::execute()\n#5 {main}\n thrown in /home/lesite/public_html/classes/Configuration.php on line 175', referer: https://lesite.com/install/index.php [remote 111.111.111.111:59670] AH01071: Got error 'PHP message: PHP Warning: Constant _PS_DO_NOT_LOAD_CONFIGURATION_ already defined in /home/lesite/public_html/install/controllers/http/smarty_compile.php on line 26PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /home/lesite/public_html/install/index.php:0PHP message: PHP 2. InstallControllerHttp::execute() /home/lesite/public_html/install/index.php:53PHP message: PHP 3. require_once() /home/lesite/public_html/install/classes/controllerHttp.php:190PHP message: PHP 4. define($constant_name = '_PS_DO_NOT_LOAD_CONFIGURATION_', $value = TRUE) /home/lesite/public_html/install/controllers/http/smarty_compile.php:26PHP message: PHP Fatal error: Uncaught Error: Undefined constant "_DB_PREFIX_" in /home/lesite/public_html/classes/Configuration.php:175\nStack trace:\n#0 /home/lesite/public_html/classes/Configuration.php(229): ConfigurationCore::loadConfiguration()\n#1 /home/lesite/public_html/config/smarty.config.inc.php(28): ConfigurationCore::get()\n#2 /home/lesite/public_html/install/controllers/http/smarty_compile.php(37): require_once('...')\n#3 /home/lesite/public_html/install/classes/controllerHttp.php(190): require_once('...')\n#4 /home/lesite/public_html/install/index.php(53): InstallControllerHttp::execute()\n#5 {main}\n thrown in /home/lesite/public_html/classes/Configuration.php on line 175', referer: https://lesite.com/install/index.php [remote 111.111.111.111:59670] AH01071: Got error 'PHP message: PHP Warning: Constant _PS_DO_NOT_LOAD_CONFIGURATION_ already defined in /home/lesite/public_html/install/controllers/http/smarty_compile.php on line 26PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /home/lesite/public_html/install/index.php:0PHP message: PHP 2. InstallControllerHttp::execute() /home/lesite/public_html/install/index.php:53PHP message: PHP 3. require_once() /home/lesite/public_html/install/classes/controllerHttp.php:190PHP message: PHP 4. define($constant_name = '_PS_DO_NOT_LOAD_CONFIGURATION_', $value = TRUE) /home/lesite/public_html/install/controllers/http/smarty_compile.php:26PHP message: PHP Fatal error: Uncaught Error: Undefined constant "_DB_PREFIX_" in /home/lesite/public_html/classes/Configuration.php:175\nStack trace:\n#0 /home/lesite/public_html/classes/Configuration.php(229): ConfigurationCore::loadConfiguration()\n#1 /home/lesite/public_html/config/smarty.config.inc.php(28): ConfigurationCore::get()\n#2 /home/lesite/public_html/install/controllers/http/smarty_compile.php(37): require_once('...')\n#3 /home/lesite/public_html/install/classes/controllerHttp.php(190): require_once('...')\n#4 /home/lesite/public_html/install/index.php(53): InstallControllerHttp::execute()\n#5 {main}\n thrown in /home/lesite/public_html/classes/Configuration.php on line 175', referer: https://lesite.com/install/index.php Any ideas? Edited December 9, 2024 by MrSoulPC915 (see edit history) Link to comment Share on other sites More sharing options...
MrSoulPC915 Posted December 9, 2024 Author Share Posted December 9, 2024 After trying a few things, I finally solved the problem, which was probably due to the xdebug module being active (for no reason). PS: it wasn't a problem with version 1.7, strange. 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