Bug #382

Email notification about errors not working

Added by Michael Schlechtinger over 2 years ago. Updated over 2 years ago.

Status:Closed Start date:08/20/2009
Priority:Normal Due date:
Assignee:Ryan Gordon % Done:

100%

Category:Other
Target version:1.4.10
Reproducibility:Always Database Type:MySQLi
Reported In MyBB Version:1.4.8 Database Version:5.1.36
PHP Version:5.2.9 SQA assignments:
Browser:Opera

Description

The email notification about errors is not working.

Fix: Open inc/class_error.php and search for:

function email_error($type, $message, $file, $line)
{
    if(!$mybb->settings['adminemail'])
    {
    return false;
    }

Add "global $mybb;" to the function:
function email_error($type, $message, $file, $line)
{
    global $mybb;

    if(!$mybb->settings['adminemail'])
    {
    return false;
    }

Associated revisions

Revision 4431
Added by Ryan Gordon over 2 years ago

Fixes Email notification about errors not working (fixes:382)

History

Updated by Stefan T. over 2 years ago

  • Status changed from New to Confirmed

Updated by Ryan Gordon over 2 years ago

  • Category set to Other
  • Assignee set to Ryan Gordon
  • Target version set to 1.4.9

Updated by Ryan Gordon over 2 years ago

  • Status changed from Confirmed to Resolved
  • % Done changed from 0 to 100

Applied in changeset r4431.

Updated by Michael Schlechtinger over 2 years ago

  • Status changed from Resolved to Closed

Updated by Ryan Gordon over 2 years ago

  • Target version changed from 1.4.9 to 1.4.10

Also available in: Atom PDF