![]() |
|
sfErrorNotifierPlugin - 1.5.1Sends email notifications when application errors (exceptions) occur. |
|
![]() |
76
users
Sign-in
to change your status |
Sends email notifications when application errors (exceptions) occur. Its easy configuration allows you to set which environments to enable for the notifications. The details about the thrown exceptions are sent via email. |
The sfErrorNotifierPlugin sends automatically email notifications when application errors (exceptions) occur and are not caught.
Optionally, it will send notifications also for PHP Fatal Errors and/or PHP Warnings.
Its easy configuration allows you to set which environments to enable for the notifications.
The details about the thrown exceptions and other useful parameters are sent via email.
NEW! It is also possible to trigger notifications explicitly from anywhere in your code (the email will be sent only from the environments enabled for the notifications)
NEW! You can specify a mailer function (or method) to use rather than the native PHP mail method
NEW! It work on Symfony 1.2, 1.3 and 1.4
Brought to you by Plancake (http://www.plancake.com): your online task manager is now free and Opensource (and built on Symfony)
For any problem or question, ask the official forum hosted by the Plancake project: http://www.plancake.com/forums/forum/10/sferrornotifierplugin/
| Name | Status | |
|---|---|---|
|
|
lead | moc.liamg <<ta>> ti.itnipihccoeleinad |
Copyright (c) 2008-2009 Daniele Occhipinti (http://www.danieleocchipinti.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| Version | License | API | Released |
|---|---|---|---|
| 1.6.0stable | MIT license | 1.6.0stable | 13/10/2010 |
| 1.5.4stable | MIT license | 1.5.4stable | 19/09/2010 |
| 1.5.3stable | MIT license | 1.5.3stable | 16/09/2010 |
| 1.5.2stable | MIT license | 1.5.2stable | 13/08/2010 |
| 1.5.1stable | MIT license | 1.5.1stable | 06/08/2010 |
| Version | License | API | Released |
|---|---|---|---|
| 1.6.0stable | MIT license | 1.6.0stable | 13/10/2010 |
| 1.5.4stable | MIT license | 1.5.4stable | 19/09/2010 |
| 1.5.3stable | MIT license | 1.5.3stable | 16/09/2010 |
| 1.5.2stable | MIT license | 1.5.2stable | 13/08/2010 |
| 1.5.1stable | MIT license | 1.5.1stable | 06/08/2010 |
| 1.1.6stable | MIT license | 1.1.6stable | 09/02/2010 |
| 1.1.2stable | MIT license | 1.1.2stable | 29/10/2009 |
| 1.1.1stable | MIT license | 1.1.1stable | 29/10/2009 |
| Version | License | API | Released |
|---|---|---|---|
| 1.6.0stable | MIT license | 1.6.0stable | 13/10/2010 |
| 1.5.4stable | MIT license | 1.5.4stable | 19/09/2010 |
| 1.5.3stable | MIT license | 1.5.3stable | 16/09/2010 |
| 1.5.2stable | MIT license | 1.5.2stable | 13/08/2010 |
| 1.5.1stable | MIT license | 1.5.1stable | 06/08/2010 |
| 1.5.0stable | MIT license | 1.5.0stable | 05/08/2010 |
| 1.2.0stable | MIT license | 1.2.0stable | 23/03/2010 |
| 1.1.6stable | MIT license | 1.1.6stable | 09/02/2010 |
| 1.1.5stable | MIT license | 1.1.5stable | 25/01/2010 |
| 1.1.2stable | MIT license | 1.1.2stable | 29/10/2009 |
| 1.1.1stable | MIT license | 1.1.1stable | 29/10/2009 |
| 1.0.5stable | MIT license | 1.0.5stable | 25/01/2010 |
| 1.0.4stable | MIT license | 1.0.4stable | 08/12/2009 |
| 1.0.3stable | MIT license | 1.0.3stable | 29/04/2009 |
| 1.0.1stable | MIT license | 1.0.1stable | 26/04/2009 |
| 1.0.0stable | MIT license | 1.0.0stable | 26/04/2009 |
| Version | License | API | Released |
|---|---|---|---|
| 1.5.0stable | MIT license | 1.5.0stable | 05/08/2010 |
| 1.2.0stable | MIT license | 1.2.0stable | 23/03/2010 |
| 1.1.6stable | MIT license | 1.1.6stable | 09/02/2010 |
| 1.1.5stable | MIT license | 1.1.5stable | 25/01/2010 |
| 1.1.2stable | MIT license | 1.1.2stable | 29/10/2009 |
| 1.1.1stable | MIT license | 1.1.1stable | 29/10/2009 |
| 1.0.5stable | MIT license | 1.0.5stable | 25/01/2010 |
| 1.0.4stable | MIT license | 1.0.4stable | 08/12/2009 |
| 1.0.3stable | MIT license | 1.0.3stable | 29/04/2009 |
| 1.0.1stable | MIT license | 1.0.1stable | 26/04/2009 |
| 1.0.0stable | MIT license | 1.0.0stable | 26/04/2009 |
| Version | License | API | Released |
|---|---|---|---|
| 1.5.0stable | MIT license | 1.5.0stable | 05/08/2010 |
| 1.2.0stable | MIT license | 1.2.0stable | 23/03/2010 |
| 1.1.6stable | MIT license | 1.1.6stable | 09/02/2010 |
| 1.1.5stable | MIT license | 1.1.5stable | 25/01/2010 |
| 1.0.5stable | MIT license | 1.0.5stable | 25/01/2010 |
| 1.0.4stable | MIT license | 1.0.4stable | 08/12/2009 |
| 1.0.3stable | MIT license | 1.0.3stable | 29/04/2009 |
| 1.0.1stable | MIT license | 1.0.1stable | 26/04/2009 |
| 1.0.0stable | MIT license | 1.0.0stable | 26/04/2009 |
Array
Array
Array
Array
Array
Array
Array
Array
Array
Array
Array
Array
Array
Array
Array
Array
Array
The sfErrorNotifierPlugin sends automatically email notifications when application errors (exceptions) occur and are not caught.
Its easy configuration allows you to set which environments to enable for the notifications.
The details about the thrown exceptions and other useful parameteers are sent via email.
NEW! It is also possible to trigger notifications explicitly by using this line from anywhere in your code (the email will be sent only from the environments enabled for the notifications):
sfErrorNotifier::alert('Message To Send With The Alert')
NEW! You can specify a mailer function (or method) to use rather than the native PHP mail method
NEW! It work on Symfony 1.2, 1.3 and 1.4
Install the plugin
symfony plugin:install sfErrorNotifierPlugin
In the file /plugins/sfErrorNotifierPlugin/config/app.yml, set the email address(es) to deliver the notifications to, for the environments you want to enable (tipically only 'prod'). You can comma-separate multiple recipients.
prod:
sfErrorNotifier:
emailTo: errors@mysite.com
In this configuration file, you can also set the format of the email (html or txt) and, optionally, the From: field for the email.
Clear the cache
symfony cc
Should you have any problem running the previous command, just delete the files in the cache directory manually
Some users have mentioned they needed to override the default error page in order to get this plugin to work. You shouldn't need that, but just in case the plugin doesn't work, try to do it. The way to set a custom error page is explained in the Symfony books.
You're done.
