Welcome Guest, Not a member yet? Register   Sign In
Error messages in Production
#1

Hey CodeIgniter Forums!

Wasn't 100% sure where to post this, so I'm going to try here.

I'm about to roll an application out to production that a few people have been working on for a while, and we're just doing the last of the testing. When in a production mode, there are no PHP errors shown, which is good, but if an error in encountered in the PHP, it just shows a blank page. Now I know the goal is that in production you wouldn't have any php errors, but things happen and sometime you've just missed something.

The problem with a blank page is the user has no idea what has happened, for all they know, it could be a problem on their end. Is there anyway to have a view defined for errors that happen in production? that way I could provide a message to the user that says "oops, we've had a problem" and a link back to the homepage?

I've been looking around google for a while and haven't found anything like this. Any help or just a point in the right direction would be much appreciated.

Thanks
Reply


Messages In This Thread
Error messages in Production - by brennan - 08-16-2015, 11:47 PM
RE: Error messages in Production - by mwhitney - 08-17-2015, 08:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB