Celo Posted June 5, 2021 Share Posted June 5, 2021 Bonjour a tous J'ai vraiment besoin de votre aide. J'ai une erreur http error 500 qui s'affiche sur mon site depuis quelques semaine. J'ai consulté quelques forum afin de trouver une solution ou on m'a dit d'activer le mode debug sur prestashop. J'ai finalement pu activer le mode debug mais c'est en ce moment ou s'affiche plein de probleme a regler mais en vrai j'ai un peu de mal a gerer tous sa et j'aimerais trouver de l'aide ici. Voila ci-dessous ce que sa m'affiche comme problème: (4/4) DBALException An exception occured while establishing a connection to figure out your platform version. You can circumvent this by setting a 'server_version' configuration value For further information have a look at: https://github.com/doctrine/DoctrineBundle/issues/673 in ConnectionFactory.php line 79 at ConnectionFactory->getDatabasePlatform(object(Connection))in ConnectionFactory.php line 50 at ConnectionFactory->createConnection(array('driver' => 'pdo_mysql', 'host' => 'localhost', 'port' => '', 'dbname' => 'c1651672c_pre430', 'user' => 'c1651672c_pre430', 'password' => 'Rp[6S1!8tx', 'charset' => 'utf8mb4', 'driverOptions' => array('SET sql_mode=(SELECT REPLACE(@@sql_mode,\'ONLY_FULL_GROUP_BY\',\'\'))'), 'defaultTableOptions' => array()), object(Configuration), object(ContainerAwareEventManager), array('enum' => 'string'))in appDevDebugProjectContainer.php line 2718 at appDevDebugProjectContainer->getDoctrine_Dbal_DefaultConnectionService()in getPrestashop_ModuleKernel_RepositoryService.php line 8 at require('/home/c1651672c/public_html/var/cache/dev/ContainerO1cojfg/getPrestashop_ModuleKernel_RepositoryService.php')in appDevDebugProjectContainer.php line 2615 at appDevDebugProjectContainer->load('getPrestashop_ModuleKernel_RepositoryService.php')in appDevDebugProjectContainer.php line 4495 at appDevDebugProjectContainer->getPrestashop_Bundle_Routing_Converter_RoutingCacheKeyGeneratorService()in appDevDebugProjectContainer.php line 4475 at appDevDebugProjectContainer->getPrestashop_Bundle_Routing_Converter_CacheProviderService()in appDevDebugProjectContainer.php line 2982 at appDevDebugProjectContainer->getPrestashop_Bundle_Routing_Converter_LegacyUrlConverterService()in appDevDebugProjectContainer.php line 3241 at appDevDebugProjectContainer->getPrestashop_LegacyUrlListenerService()in appDevDebugProjectContainer.php line 3896 at appDevDebugProjectContainer->ContainerO1cojfg\{closure}()in EventDispatcher.php line 231 at EventDispatcher->sortListeners('kernel.request')in EventDispatcher.php line 61 at EventDispatcher->getListeners('kernel.request')in ContainerAwareEventDispatcher.php line 129 at ContainerAwareEventDispatcher->getListeners('kernel.request')in TraceableEventDispatcher.php line 259 at TraceableEventDispatcher->preProcess('kernel.request')in TraceableEventDispatcher.php line 137 at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in HttpKernel.php line 127 at HttpKernel->handleRaw(object(Request), 1)in HttpKernel.php line 68 at HttpKernel->handle(object(Request), 1, false)in Kernel.php line 200 at Kernel->handle(object(Request), 1, false)in index.php line 82 (3/4) DriverException An exception occurred in driver: SQLSTATE[42000] [1203] User c1651672c_pre430 already has more than 'max_user_connections' active connections in AbstractMySQLDriver.php line 106 at AbstractMySQLDriver->convertException('An exception occurred in driver: SQLSTATE[42000] [1203] User c1651672c_pre430 already has more than \'max_user_connections\' active connections', object(PDOException))in DBALException.php line 169 at DBALException::wrapException(object(Driver), object(PDOException), 'An exception occurred in driver: SQLSTATE[42000] [1203] User c1651672c_pre430 already has more than \'max_user_connections\' active connections')in DBALException.php line 155 at DBALException::driverException(object(Driver), object(PDOException))in Driver.php line 28 at Driver->connect(array('driver' => 'pdo_mysql', 'host' => 'localhost', 'port' => '', 'dbname' => 'c1651672c_pre430', 'user' => 'c1651672c_pre430', 'password' => 'Rp[6S1!8tx', 'charset' => 'utf8mb4', 'driverOptions' => array('SET sql_mode=(SELECT REPLACE(@@sql_mode,\'ONLY_FULL_GROUP_BY\',\'\'))'), 'defaultTableOptions' => array()), 'c1651672c_pre430', 'Rp[6S1!8tx', array('SET sql_mode=(SELECT REPLACE(@@sql_mode,\'ONLY_FULL_GROUP_BY\',\'\'))'))in Connection.php line 356 at Connection->connect()in Connection.php line 422 at Connection->getDatabasePlatformVersion()in Connection.php line 382 at Connection->detectDatabasePlatform()in Connection.php line 324 at Connection->getDatabasePlatform()in ConnectionFactory.php line 77 at ConnectionFactory->getDatabasePlatform(object(Connection))in ConnectionFactory.php line 50 at ConnectionFactory->createConnection(array('driver' => 'pdo_mysql', 'host' => 'localhost', 'port' => '', 'dbname' => 'c1651672c_pre430', 'user' => 'c1651672c_pre430', 'password' => 'Rp[6S1!8tx', 'charset' => 'utf8mb4', 'driverOptions' => array('SET sql_mode=(SELECT REPLACE(@@sql_mode,\'ONLY_FULL_GROUP_BY\',\'\'))'), 'defaultTableOptions' => array()), object(Configuration), object(ContainerAwareEventManager), array('enum' => 'string'))in appDevDebugProjectContainer.php line 2718 at appDevDebugProjectContainer->getDoctrine_Dbal_DefaultConnectionService()in getPrestashop_ModuleKernel_RepositoryService.php line 8 at require('/home/c1651672c/public_html/var/cache/dev/ContainerO1cojfg/getPrestashop_ModuleKernel_RepositoryService.php')in appDevDebugProjectContainer.php line 2615 at appDevDebugProjectContainer->load('getPrestashop_ModuleKernel_RepositoryService.php')in appDevDebugProjectContainer.php line 4495 at appDevDebugProjectContainer->getPrestashop_Bundle_Routing_Converter_RoutingCacheKeyGeneratorService()in appDevDebugProjectContainer.php line 4475 at appDevDebugProjectContainer->getPrestashop_Bundle_Routing_Converter_CacheProviderService()in appDevDebugProjectContainer.php line 2982 at appDevDebugProjectContainer->getPrestashop_Bundle_Routing_Converter_LegacyUrlConverterService()in appDevDebugProjectContainer.php line 3241 at appDevDebugProjectContainer->getPrestashop_LegacyUrlListenerService()in appDevDebugProjectContainer.php line 3896 at appDevDebugProjectContainer->ContainerO1cojfg\{closure}()in EventDispatcher.php line 231 at EventDispatcher->sortListeners('kernel.request')in EventDispatcher.php line 61 at EventDispatcher->getListeners('kernel.request')in ContainerAwareEventDispatcher.php line 129 at ContainerAwareEventDispatcher->getListeners('kernel.request')in TraceableEventDispatcher.php line 259 at TraceableEventDispatcher->preProcess('kernel.request')in TraceableEventDispatcher.php line 137 at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in HttpKernel.php line 127 at HttpKernel->handleRaw(object(Request), 1)in HttpKernel.php line 68 at HttpKernel->handle(object(Request), 1, false)in Kernel.php line 200 at Kernel->handle(object(Request), 1, false)in index.php line 82 (2/4) PDOException SQLSTATE[42000] [1203] User c1651672c_pre430 already has more than 'max_user_connections' active connections in PDOConnection.php line 31 at PDOConnection->__construct('mysql:host=localhost;port=;dbname=c1651672c_pre430;charset=utf8mb4;', 'c1651672c_pre430', 'Rp[6S1!8tx', array('SET sql_mode=(SELECT REPLACE(@@sql_mode,\'ONLY_FULL_GROUP_BY\',\'\'))'))in Driver.php line 25 at Driver->connect(array('driver' => 'pdo_mysql', 'host' => 'localhost', 'port' => '', 'dbname' => 'c1651672c_pre430', 'user' => 'c1651672c_pre430', 'password' => 'Rp[6S1!8tx', 'charset' => 'utf8mb4', 'driverOptions' => array('SET sql_mode=(SELECT REPLACE(@@sql_mode,\'ONLY_FULL_GROUP_BY\',\'\'))'), 'defaultTableOptions' => array()), 'c1651672c_pre430', 'Rp[6S1!8tx', array('SET sql_mode=(SELECT REPLACE(@@sql_mode,\'ONLY_FULL_GROUP_BY\',\'\'))'))in Connection.php line 356 at Connection->connect()in Connection.php line 422 at Connection->getDatabasePlatformVersion()in Connection.php line 382 at Connection->detectDatabasePlatform()in Connection.php line 324 at Connection->getDatabasePlatform()in ConnectionFactory.php line 77 at ConnectionFactory->getDatabasePlatform(object(Connection))in ConnectionFactory.php line 50 at ConnectionFactory->createConnection(array('driver' => 'pdo_mysql', 'host' => 'localhost', 'port' => '', 'dbname' => 'c1651672c_pre430', 'user' => 'c1651672c_pre430', 'password' => 'Rp[6S1!8tx', 'charset' => 'utf8mb4', 'driverOptions' => array('SET sql_mode=(SELECT REPLACE(@@sql_mode,\'ONLY_FULL_GROUP_BY\',\'\'))'), 'defaultTableOptions' => array()), object(Configuration), object(ContainerAwareEventManager), array('enum' => 'string'))in appDevDebugProjectContainer.php line 2718 at appDevDebugProjectContainer->getDoctrine_Dbal_DefaultConnectionService()in getPrestashop_ModuleKernel_RepositoryService.php line 8 at require('/home/c1651672c/public_html/var/cache/dev/ContainerO1cojfg/getPrestashop_ModuleKernel_RepositoryService.php')in appDevDebugProjectContainer.php line 2615 at appDevDebugProjectContainer->load('getPrestashop_ModuleKernel_RepositoryService.php')in appDevDebugProjectContainer.php line 4495 at appDevDebugProjectContainer->getPrestashop_Bundle_Routing_Converter_RoutingCacheKeyGeneratorService()in appDevDebugProjectContainer.php line 4475 at appDevDebugProjectContainer->getPrestashop_Bundle_Routing_Converter_CacheProviderService()in appDevDebugProjectContainer.php line 2982 at appDevDebugProjectContainer->getPrestashop_Bundle_Routing_Converter_LegacyUrlConverterService()in appDevDebugProjectContainer.php line 3241 at appDevDebugProjectContainer->getPrestashop_LegacyUrlListenerService()in appDevDebugProjectContainer.php line 3896 at appDevDebugProjectContainer->ContainerO1cojfg\{closure}()in EventDispatcher.php line 231 at EventDispatcher->sortListeners('kernel.request')in EventDispatcher.php line 61 at EventDispatcher->getListeners('kernel.request')in ContainerAwareEventDispatcher.php line 129 at ContainerAwareEventDispatcher->getListeners('kernel.request')in TraceableEventDispatcher.php line 259 at TraceableEventDispatcher->preProcess('kernel.request')in TraceableEventDispatcher.php line 137 at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in HttpKernel.php line 127 at HttpKernel->handleRaw(object(Request), 1)in HttpKernel.php line 68 at HttpKernel->handle(object(Request), 1, false)in Kernel.php line 200 at Kernel->handle(object(Request), 1, false)in index.php line 82 (1/4) PDOException SQLSTATE[42000] [1203] User c1651672c_pre430 already has more than 'max_user_connections' active connections in PDOConnection.php line 27 at PDO->__construct('mysql:host=localhost;port=;dbname=c1651672c_pre430;charset=utf8mb4;', 'c1651672c_pre430', 'Rp[6S1!8tx', array('SET sql_mode=(SELECT REPLACE(@@sql_mode,\'ONLY_FULL_GROUP_BY\',\'\'))'))in PDOConnection.php line 27 at PDOConnection->__construct('mysql:host=localhost;port=;dbname=c1651672c_pre430;charset=utf8mb4;', 'c1651672c_pre430', 'Rp[6S1!8tx', array('SET sql_mode=(SELECT REPLACE(@@sql_mode,\'ONLY_FULL_GROUP_BY\',\'\'))'))in Driver.php line 25 at Driver->connect(array('driver' => 'pdo_mysql', 'host' => 'localhost', 'port' => '', 'dbname' => 'c1651672c_pre430', 'user' => 'c1651672c_pre430', 'password' => 'Rp[6S1!8tx', 'charset' => 'utf8mb4', 'driverOptions' => array('SET sql_mode=(SELECT REPLACE(@@sql_mode,\'ONLY_FULL_GROUP_BY\',\'\'))'), 'defaultTableOptions' => array()), 'c1651672c_pre430', 'Rp[6S1!8tx', array('SET sql_mode=(SELECT REPLACE(@@sql_mode,\'ONLY_FULL_GROUP_BY\',\'\'))'))in Connection.php line 356 at Connection->connect()in Connection.php line 422 at Connection->getDatabasePlatformVersion()in Connection.php line 382 at Connection->detectDatabasePlatform()in Connection.php line 324 at Connection->getDatabasePlatform()in ConnectionFactory.php line 77 at ConnectionFactory->getDatabasePlatform(object(Connection))in ConnectionFactory.php line 50 at ConnectionFactory->createConnection(array('driver' => 'pdo_mysql', 'host' => 'localhost', 'port' => '', 'dbname' => 'c1651672c_pre430', 'user' => 'c1651672c_pre430', 'password' => 'Rp[6S1!8tx', 'charset' => 'utf8mb4', 'driverOptions' => array('SET sql_mode=(SELECT REPLACE(@@sql_mode,\'ONLY_FULL_GROUP_BY\',\'\'))'), 'defaultTableOptions' => array()), object(Configuration), object(ContainerAwareEventManager), array('enum' => 'string'))in appDevDebugProjectContainer.php line 2718 at appDevDebugProjectContainer->getDoctrine_Dbal_DefaultConnectionService()in getPrestashop_ModuleKernel_RepositoryService.php line 8 at require('/home/c1651672c/public_html/var/cache/dev/ContainerO1cojfg/getPrestashop_ModuleKernel_RepositoryService.php')in appDevDebugProjectContainer.php line 2615 at appDevDebugProjectContainer->load('getPrestashop_ModuleKernel_RepositoryService.php')in appDevDebugProjectContainer.php line 4495 at appDevDebugProjectContainer->getPrestashop_Bundle_Routing_Converter_RoutingCacheKeyGeneratorService()in appDevDebugProjectContainer.php line 4475 at appDevDebugProjectContainer->getPrestashop_Bundle_Routing_Converter_CacheProviderService()in appDevDebugProjectContainer.php line 2982 at appDevDebugProjectContainer->getPrestashop_Bundle_Routing_Converter_LegacyUrlConverterService()in appDevDebugProjectContainer.php line 3241 at appDevDebugProjectContainer->getPrestashop_LegacyUrlListenerService()in appDevDebugProjectContainer.php line 3896 at appDevDebugProjectContainer->ContainerO1cojfg\{closure}()in EventDispatcher.php line 231 at EventDispatcher->sortListeners('kernel.request')in EventDispatcher.php line 61 at EventDispatcher->getListeners('kernel.request')in ContainerAwareEventDispatcher.php line 129 at ContainerAwareEventDispatcher->getListeners('kernel.request')in TraceableEventDispatcher.php line 259 at TraceableEventDispatcher->preProcess('kernel.request')in TraceableEventDispatcher.php line 137 at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in HttpKernel.php line 127 at HttpKernel->handleRaw(object(Request), 1)in HttpKernel.php line 68 at HttpKernel->handle(object(Request), 1, false)in Kernel.php line 200 at Kernel->handle(object(Request), 1, false)in index.php line 82 Capture d’écran 2021-06-05 à 14.27.02 Capture d’écran 2021-06-05 à 14.27.46 Capture d’écran 2021-06-05 à 14.31.40 Capture d’écran 2021-06-05 à 14.32.43 Capture d’écran 2021-06-05 à 14.34.54 Capture d’écran 2021-06-05 à 14.35.58 Capture d’écran 2021-06-05 à 14.36.42 Capture d’écran 2021-06-05 à 14.39.29 Link to comment Share on other sites More sharing options...
Allyta Posted June 11, 2021 Share Posted June 11, 2021 Woupla ! Attention, tu donnes tes logs en clair : createConnection(array('driver' => 'pdo_mysql', 'host' => 'localhost', 'port' => '', 'dbname' => 'c1651672c_pre430', 'user' => 'c1651672c_pre430', 'password' => '********, 'charset' => 'utf8mb4', 'driverOptions' => array('SET sql_mode=(SELECT REPLACE(@@sql_mode,\'ONLY_FULL_GROUP_BY\',\'\'))'), 'defaultTableOptions' Je te conseille de masquer au moins le mot de passe Sinon tu as plus d'infos à nous donner ? C'est un site en prod ou en test ? Je vois du localhost. Tu utilises quel environnement de test si c'est le cas ? Je ne suis pas sure mais je pense que ton problème vient de ton serveur. Link to comment Share on other sites More sharing options...
Catherine82 Posted June 14, 2021 Share Posted June 14, 2021 Bonjour, J'ai le même problème depuis début mai, voir forum ici : https://www.prestashop.com/forums/topic/1048779-plus-dacc%C3%A8s-cot%C3%A9-admin-erreur-type-500-sur-site-parfaitement-fonctionnel-cot%C3%A9-client/ Donc vous n'êtes pas la seule ! Je suis chez OVH. Après contact avec eux, ils m'ont dit d'améliorer la configuration de ma base de données...En bref, débrouillez-vous. On m'a suggéré que mon site avait été piraté, parce que j'avais la 1.7.7.0 et que maintenant c'est la 1.7.7.5....Je ne crois pas que ce soit le cas. Je n'ai pas trouvé la solution à ce problème. Je n'ai pas eu le temps de m'en occuper étant en pleine saison pour moi, mais j'envisage de tout ré-installer en tachant de récupérer la base de données pour garder les fiches produits, etc... Si vous trouvez une solution autre, merci de m'en faire part ! Bon courage Link to comment Share on other sites More sharing options...
Blue Bear Posted January 6, 2022 Share Posted January 6, 2022 Bonjour, Au cas où je rencontre également ce problème si quelqu'un a trouvé la solution ? Bonne journée, Clément Link to comment Share on other sites More sharing options...
jcoke Posted January 17, 2023 Share Posted January 17, 2023 Here i have the same problem, after using 1 click upgrade from 1.7.8.7 to 1.7.8.8 ... Cant access admin page... error 500 Been searching but still no solution Link to comment Share on other sites More sharing options...
Mediacom87 Posted January 18, 2023 Share Posted January 18, 2023 Il y a 5 heures, jcoke a dit : Here i have the same problem, after using 1 click upgrade from 1.7.8.7 to 1.7.8.8 ... Cant access admin page... error 500 Been searching but still no solution Merci de poster en français dans la section française du forum ou de poster dans la section correspondant à votre langue. Link to comment Share on other sites More sharing options...
Michel-T3 Posted February 15, 2023 Share Posted February 15, 2023 Bonjour à tous, j'ai eu le même problème (1.7.8.4 á 1.7.8.8). Après avoir cherché pendant un certain temps, j'ai découvert que le "Interclassement" de la base de données de certaines tables était sur utf8mb3_general_ci au lieu de utf8mb4_general_ci. Tous les Tables ont changé en utf8mb4_general_ci et le site fonctionne à nouveau. C'est une solution qui a fonctionné pour moi. Sauvegardez d'abord votre base de données avant de passer à cette étape. J'espère que cela fonctionnera pour vous aussi. Merci Google pour la traduction 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