Error 500 with nothing in the logs
Hi,
I'm experiencing an Error 500 on my Joomla site (only by the frontend, the backend is working flawlessly).
I do not find any errors anywhere I can get to:
/home/user/logs (defaut for Easyapache right?)
/public_html/logs (Joomla's own logs)
cPanel/Errors.
All other sites are working fine (both Joomla, Worpress, even a Dolibarr one)
Is there any other place I can find logs?
Anyone has any clue on this?
Thanks.
-
Well, it was apparently somethig about security, as it's working again now, without my intervention... Can some of cPanel/WHM security engines throw that behaviour on a site? Where can I look for the right incident? 0 -
Ok, found it: it was a low PHP memory_limit Having no tip from the logs caused me an headache ;) 0 -
k, found it: it was a low PHP memory_limit Having no tip from the logs caused me an headache
Hello @Nicola Urbinati, I'm glad to see you were able to determine the cause of the issue. Generally, PHP errors are logged to the error_log file located in the document root of the domain name that was accessed when the error was generated. Do you see an error_log file in the document root of the affected website? If not, can you verify which PHP handler is assigned to the domain? Thank you.0 -
The handler should be suPHP (7.2) with FPM (as noted in MultiPHP Manager, even if my other sources like the system information page in joomla say: Server API FPM/FastCGI, I think from phpinfo). In the directory root I have the logs directory, and in the file for that domain (domain_com.php.error.log) there was no hint at the incident, as I noted before. Nor I saw any line about it in the Errors page in cPanel. Thank you, I'm eager to help investigating if you need it. 0 -
PS: I noted now "PHP Handlers do not apply to PHP-FPM." So joomla is right: FastCGI/FPM. 0 -
Hello @Nicola Urbinati, With PHP-FPM, the individual error log for PHP scripts is located in the following location: /home/username/logs/domain_com.php.error.log Are you sure that no entries exist at all in this log file at the times when the memory limit was reached? Thank you. 0 -
That's exactly where I searched for hints, and found nothing. Might be Joomla thew the error before PHP could do it, but even Joomla logs were without lines about the incident. 0 -
Ticket: 10082599 0 -
Sorry @cPanelMichael I must have problems opening the ticket: I have errror 500 on your store and ticket sites from Chrome, trying again from Mozilla (they're working from there) 0 -
Ticket: 10082823 0 -
Hello, To update, it looks like the global PHP-FPM error log for PHP version 7.2 was helpful for troubleshooting the specific error message: /opt/cpanel/ea-php72/root/usr/var/log/php-fpm/error.log Thank you. 0
Please sign in to leave a comment.
Comments
12 comments