We have a system running using below EspoCRM
Version 4.84
Advance Pack 1.30.2
It suddenly showed Error 500 and cannot be accessed. Below is the log when 500 shown
[2018-03-09 10:39:56] Espo.ERROR: Uncaught Exception PDOException: "SQLSTATE[HY000] [1040] Too many connections" at C:\inetpub\wwwroot\espo\application\Espo\ORM\Entit yManager.php line 155 {"exception":"[object] (PDOException(code: 1040): SQLSTATE[HY000] [1040] Too many connections at C:\\inetpub\\wwwroot\\espo\\application\\Espo\\ORM \\EntityManager.php:155)"} []
then we run rebuild rebuild.php and the site always went to installation page (but with error)!
Finally we found that the config.php was updated as below
<?php
return 1;
?>
After restoring the config.php, the site works without problem.
It is very strange and we want to know how to prevent this problem occurs. Thanks.
Version 4.84
Advance Pack 1.30.2
It suddenly showed Error 500 and cannot be accessed. Below is the log when 500 shown
[2018-03-09 10:39:56] Espo.ERROR: Uncaught Exception PDOException: "SQLSTATE[HY000] [1040] Too many connections" at C:\inetpub\wwwroot\espo\application\Espo\ORM\Entit yManager.php line 155 {"exception":"[object] (PDOException(code: 1040): SQLSTATE[HY000] [1040] Too many connections at C:\\inetpub\\wwwroot\\espo\\application\\Espo\\ORM \\EntityManager.php:155)"} []
then we run rebuild rebuild.php and the site always went to installation page (but with error)!
Finally we found that the config.php was updated as below
<?php
return 1;
?>
After restoring the config.php, the site works without problem.
It is very strange and we want to know how to prevent this problem occurs. Thanks.
Comment