Hi folks,
I’m trying to troubleshoot an issue I have on a MODX staging site.
One of my pages generates a 500 error in the browser.
My problem is that I can find no further information about this error - no information is added to either the native PHP error_log file or in MODX’s own error log.
To troubleshoot this, I created a test.php file in the root and added a divide-by-zero calculation:
This file correctly generates a 500 error on the page and it is successfully logged [Divide By Zero error] to the error_log file in the root.
So, next I created a test page in MODX with the same Divide By Zero code:
This too generates a 500 error on the page - but again no information is added to either MODX log or the error_log file.
I can’t understand why PHP errors generated by MODX pages are not appearing in either of the logs.
Where can I start looking?
Thanks in advance for any suggestions.