It's very interesting. I think, it's not an error of this issue. Please check apache error logs, https://www.espocrm.com/documentatio...ent-check-logs.
Do you use MySQL? What version?
Somtimes Error 500 and config.php was updated wrongly!
Collapse
X
-
Somtimes Error 500 and config.php was updated wrongly!
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.
Last edited by Vincent; 03-13-2018, 05:59 AM.Tags: None
Leave a comment: