Welcome Guest, Not a member yet? Register   Sign In
Using Whoops Error Handling library with CodeIgniter to show all errors
#1

[eluser]Ehs4n[/eluser]
I am using Whoops error handling framework with my CodeIgniter framework to display errors. Whoops catches php syntax errors and displays them nicely, as expected.

The problem is that Whoops cannot display PHP Errors with severity as Notice, because they are caught by CodeIgniter core and displayed by CI itself.

Please guide how can I make Whoops to display all kinds of errors.
#2

[eluser]InsiteFX[/eluser]
You could try and extend the CI exception class.
#3

[eluser]CroNiX[/eluser]
You can see how Dan did it here, or just use this which is similar: https://github.com/dhrrgn/codeigniter-uhoh




Theme © iAndrew 2016 - Forum software by © MyBB