disabling PHP Error/Severity notices |
[eluser]niyogi[/eluser]
Hi folks I'd like to disable the errors that appear within our application like the following: Code: A PHP Error was encountered Is there a setting withing CI that will disable this?
[eluser]Adam Griffiths[/eluser]
Line 12 of index.php Code: error_reporting(E_ALL); Info on error_reporting
[eluser]xwero[/eluser]
Disabling errors is not a good solution. You should prevent errors from happening. in you case you need to add Code: $gender = ''; somewhere of use this function Code: function echo_var($name) |
Welcome Guest, Not a member yet? Register Sign In |