Output Errors
4 years ago
4 years ago
#1
Hello, I left out a semi-colon, the page was blank there were no errors. I enabled errors in the controller with ini_set('display_errors', 1); but nothing showed. Is there a method in the config to direct all errors to a log file?
4 years ago
#2
Hello, I think a page error would show depending on your code. Maybe where the error is would not cause a error message, it would just not render properly. Dan
4 years ago
#3
Hi Andrew, If you want to display errors in a log file you can either add the following in your php.ini (note: this is mine on Windows, add your own path if you are on Mac or Linux) or you can add this code into your controller