Open swerder opened 12 years ago
set the debug off on productive version.
on productive debug is disable, you will no longer see code snippets on errors. todo do you need to us the testsysten from now on.
The behavior show simple errormessage instant of no change is ok I think? it would also be possible to show no information about the error message only show a "sorry error occurred" page. And sending a E-Mail with error information to a tech address.
OK sho a message "Sorry, something went wrong, but our technician just got a mail and will fix it asap"
I changed the behavior if an error occur on a AJAX request. Now you will also see the errormessage as you would open the page without AJAX. So no longer need to look on browsers console, to see the error.
The current visible message layout is for the YII_DEBUG = true variant. Should I change YII_DEBUG to false, on main/productive version, and only have it to debug in the test version? or/and Should I change the display of error pages in any way?