Project

General

Profile

Actions

Bug #3503

closed

E-Mail Reports syslog error: "rrdcolors.inc.php for theme does not exist" (and proposed fix)

Added by Late Night about 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
03/05/2014
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:

Description

I've been using the "E-Mail Reports" package, with good success, except that it fills my syslog with error messages: "rrdcolors.inc.php for theme does not exist".

I took a quick look today, and found that /etc/inc/mail_reports.inc references a non-existent global variable, g$['theme'].

I fixed this by creating /etc/inc/globals_override.inc, containing the following:

<?php
global $g;
$g['theme'] = 'pfsense';
?>

I suppose the "correct" fix would be to add a line to /etc/inc/globals.inc.

Actions #1

Updated by Jim Pingle almost 10 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Applied in changeset pfsense-packages:commit:85254446a1d482496a2b619d028533e885ca77e6.

Actions #2

Updated by Chris Buechler almost 10 years ago

  • Status changed from Feedback to Resolved
  • Target version set to 2.2
Actions

Also available in: Atom PDF