New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Whoops pages stopped displaying for errors in some pages #162
Comments
To begin with, could you let me know the version of Whoops you are using? |
I don't know how to check the version. I just installed Laravel 4.1 a week back. |
That's okay. It means you are using Whoops 1.0.10. If you would be willing to debug this, I could guide you on what to do. |
your help is much appreciated. I'll look around. In the meanwhile, I've pasted the stack trace of last error, not displayed by whoops. http://laravel.io/bin/Y2V6 where can I find set_error_handler? I'm just a couple of months into frameworks as such. |
ok, found quite a few instances of set_error_handler E:\My Data\htdocs\laravel4\compliance\vendor\filp\whoops\src\Whoops\Run.php: |
To give you further insight, this is precisely what I was coding when the whoops pages first disappeared. Wonder anything wrong I did here thats a no no in laravel 4. |
I'm sorry, after reviewing everything, I'm no closer to the solution. |
Ok, I'll try to do that and get back to you. Thanks for your time and help. |
i've finally traced the issue. I had following code in my routes.php.
|
Ah, so you have installed your own error handler, I see. |
Well that makes sense no, if you catch the Exception, then there's no reason for Whoops to trigger is there ? |
Actually, like I mentioned, I'm still new to Laravel. And I didn't know how whoops operates. Thats one step up the learning curve though. Another thing I found though. I've got this code in
And then I have this another piece in my
Isn't this redundancy? |
I think you should really seek some help on Laravel about this. |
ok, thanks alot for your help and time. . |
I'm using Laravel 4.1 and Whoops pages were working perfectly for me, when all of a sudden, it stopped displaying errors in certain pages in the middle of programming, however, for some pages, it still shows errors, e.g. if I make a deliberate mistake in app.php, routes.php, views.php etc... it does show whoops page, however, certain other pages like, filters.php, config/auth.php, contollers/, views/, models and most others, it stopped displaying errors. Just shows white screen.
However, it is logging all the errors in laravel.log file along will whole stack trace and time etc. This has happened to me second time. Any guess?
The text was updated successfully, but these errors were encountered: