Details
-
Type:
Task
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 5.11.0-b3
-
Fix Version/s: 5.14.0-b1
-
Component/s: None
-
Labels:None
Description
People turn on errorReporting and debugging and leave it on and it causes all kinds of problems. Currently the config/blesta.php file contains the following:
//////////////////////////////////////////////////////////////////////////////// // Debugging //////////////////////////////////////////////////////////////////////////////// // PHP error_reporting. 0 to disable error reporting, -1 to to show all errors // Consult php's documentation for additional options Configure::errorReporting(0); // Override minPHP's debugging setting. true to enable debugging, false to disable it Configure::set('System.debug', false);
Update the comments so it reads like the following:
//////////////////////////////////////////////////////////////////////////////// // Debugging // NEVER LEAVE THESE OPTIONS ENABLED. MAY CAUSE ISSUES. // CHECK THE LOG DIRECTORY FOR ERRORS INSTEAD. //////////////////////////////////////////////////////////////////////////////// // PHP error_reporting. 0 to disable error reporting, -1 to to show all errors // Consult php's documentation for additional options Configure::errorReporting(0); // Override minPHP's debugging setting. true to enable debugging, false to disable it Configure::set('System.debug', false);