PHPBB2 - How to receive email upon error

Discussion in 'PHP' started by ScottHughes, Oct 22, 2009.

  1. #1
    Every now and then my databases will crash and I have to restart them. While they are down, my phpBB2 forum of course becomes unusable. When one tries to go to it they get error messages.

    I want to set it up so that whenever phpBB2 encounters one of these major errors, it sends me an email.

    My forum could be down for hours and if I don't happen to check it out and nobody else happens to email me, I won't know. Something that could be fixed in minutes won't be fixed for hours simply because I don't know about it.

    It seems like it would be a simple modification to the phpBB2 code to have it send an email to me when one of these database connection errors is encountered.

    Can anyone post a quick guide for me to make that change?

    Thanks!
    Scott
     
    ScottHughes, Oct 22, 2009 IP
  2. JAY6390

    JAY6390 Peon

    Messages:
    918
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #2
    JAY6390, Oct 22, 2009 IP
  3. shortcut

    shortcut Peon

    Messages:
    116
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Are you using the latest version of phpbb ?
     
    shortcut, Oct 23, 2009 IP