vernal pool
Mittineague
Scripting
Class of '72
Family & Friends
Mittineague Park
Music
Walk Photos
Wildflowers
Scripting
Forums
Home
Blossoming Wildflowers
There are 10 plants in blossom on October the 15th.
Chicory Cichorium intybus blossoms between Jun 28 and Oct 24
Daisy Fleabane Erigeron annuus May 30 to Oct 24
Heart-leaved Aster Aster cordifolius Sep 28 to Oct 24
Lady's Thumb Polygonum persicaria Aug 12 to Oct 20
New England Aster Aster novae-angliae Sep 28 to Oct 18
Nodding Smartweed Polygonum lapathifolium Aug 12 to Oct 22
Red Clover Trifolium pratense May 23 to Oct 24
Sweet Everlasting Gnaphalium obtusifolium Aug 28 to Oct 24
Virgin's Bower Clematis vir....
rss feed

WordPress Error Reporting Plugin

Logs Errors to files and/or Sends Error Notification emails. The current version is Beta 0.9.4 If you find any bugs or have any suggestions for improvement, Please let me know.

Log Error Reporting

Depending on where an error occurs, it will be logged to a wp-logs folder that's either under the blog's installation folder, or under the wp-admin folder. New files are created for each day with names having the format 'WP-dd-Mmm-yyyy.log'
eg. WP-05-Mar-2007.log

Email Error Reporting

Email Error Reporting does not have a 'no repeat errors' setting. This means that the blog administrator's email address will get an email for every reported error, every time.
For example, while testing this plugin using the default settings, 10 failed pings generated 190+ emails. It is strongly suggested that you 'fine tune' your options using Log Error Reporting first (with the Repeat Error option set to yes to get an accurate indication of how many emails would have been sent) and get the errors down to a manageable amount before experimenting with the Email Error Reporting settings.
Be very careful setting these options. You could end up flooding the inbox with hundreds, and MORE LIKELY THOUSANDS, of emails in a relatively short amount of time.
Note that the default Email Error Reporting settings are not enabled on install.

Error Types Options

The Error Reporting plugin can report E-WARNING, E_NOTICE and E_STRICT errors.
Any E_RECOVERABLE_ERROR, and any 'trigger' errors, E_USER_ERROR, E_USER_WARNING, and E_USER_NOTICE, will be reported if the option settings report 'other error types' (see the 'Option Settings Logic' section).
If you want to ensure that all error types are reported, check 'Yes, All Error Types'.
If you are interested in only certain error types 'Include' them.
Conversely, if you specifically do not want an error type, 'Exclude' it.

AND / OR Option

The AND / OR option setting will only matter if neither 'Types' nor 'Folders' are set to 'All'.
But, if both are either 'Exclude' - 'Include', it will make a big difference (see the 'Option Settings Logic' section).

Folder Options

Errors in Files that are under the blog's install folder, and are not in the wp-admin, wp-content, or wp-includes folders, will be reported if the option settings report 'other folders' (see the 'Option Settings Logic' section).
Note that the plugins folder is inside the wp-content folder. It is presented as a separate option to allow for more precise control.
If the wp-content folder is included / excluded, so too will be the plugin folder with it. Likewise for any folders under the other folders.

Context and Repeat Errors Options

Including the Context of the error may provide some helpful information, but as it adds significantly to the size of the log file, it is by default not included.
Likewise, there may be times when it would be helpful to see that a line of a file is causing the same error 'X' amount of times, but because including Repeat errors would add significantly to the size of the log file, it too is by default not included.
Note that there is no repeat error option for Email Error Reporting.
Because each error will be sent as an individual email, the Context is not as crucial a setting here as it is for the Log options. So once you're sure you have the number of emails being sent under control, you may want to include it if that information will help you.

Timezone Option

This value is initially set to the server's timezone and controls what time is used.
*Note* This option requires PHP version 5+

Option Settings Logic

Tables that provide a visual explanation by example.

Log Files

Provides links to the log files for viewing / saving, and a way to delete them.

Installation

  1. Upload 'errorreporting.php' to the '/wp-content/plugins/' directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Click the 'Options' admin menu link, and select 'ErrorReporting'
  4. Configure the options

Email Options Screenshot

screenshot of plugin GUI

Option Settings Logic Screenshot

screenshot of plugin GUI

Log Files Screenshot

screenshot of plugin GUI

Version History

Beta 0.9.4 10-Apr-2007
  • made date_default_timezone_get/set OK for PHP < ver. 5
Beta 0.9.3 09-Apr-2007
  • removed error_log from Log block fopen-fwrite fails
  • added natsort to log file display
  • rearranged page sections
  • minor mark-up and info edits
Beta 0.9.2 30-Mar-2007
  • Security improvements
    • make wp-log folders / files not world readable
    • added nonces to form actions
  • minor GUI changes
  • added error_log to Log block fopen-fwrite fails
Beta 0.9.1 29-Mar-2007
  • fixed buggy conditional generating code block
  • added info re E_RECOVERABLE_ERROR
  • added chmod to fix annoying sporadic permission resets
Beta 0.9.0 28-Mar-2007
Download the plugin Error Reporting Beta 0.9.4
For support, please visit the Mittineague Forums (registration required to post)
For comments / suggestions, please visit the Mittineague Blog
About - Blog - Sitemap - Contact - Forums - Home 

Wireless devices:
The Wildflower list can be searched from the list serve data available at www.mittineague.com/wildflowers.wml


PHP icon.PEAR icon.MySQL icon.phpBB icon.Sitepoint icon.Valid XHTML 1.0 icon.Valid CSS! icon.Level A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0