Welcome Guest, Not a member yet? Register   Sign In
Error reporting sending to email

I am about to change my environment from development to production, however I still want to be made aware of any errors that may popup for any reason.

I don't want the end user to get a php error on their screen however I would like to receive an email reporting the error so I can fix quickly.

Is there a way to catch any error with a class extension?

You could keep error log file enabled and still have access to errors regardless if they are shown to visitors or not.

Hi Pertti,

Thanks for your reply

I probably will keep the error log file enabled.

If there is an error though I need to be advised as soon as the error happens I don't really want to have to go in to the error lof file every day to check if there was an error or not.

(This post was last modified: 07-19-2018, 03:25 AM by InsiteFX.)

Here is an extended library for sending emails to you.

You will need to change the constructor to the new type.

Email log messages library in CodeIgniter
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Theme © iAndrew 2016 - Forum software by © MyBB