| 1 |
|
******************************* |
| 2 |
|
*****CiviCRM Error Handler***** |
| 3 |
|
******************************* |
| 4 |
|
|
| 5 |
|
Sometimes CiviCRM can be real tough to debug. Especially when you are getting fatal errors, but |
| 6 |
|
only by some users, and you can't recreate the problems. This utility will send you a detailed |
| 7 |
|
email when a civicrm fatal error occurs. |
| 8 |
|
|
| 9 |
|
|
| 10 |
|
*****INSTALLATION***** |
| 11 |
|
|
| 12 |
|
- Enable the module. |
| 13 |
|
- civicrm_error will attempt to set civicrm to use this module as its error handler. If |
| 14 |
|
civicrm_error is unsuccessful it will direct you to do it yourself at: |
| 15 |
|
Administer CiviCRM » Global Settings » Debugging |
| 16 |
|
- Choose an email address to send errors to at |
| 17 |
|
admin/logs/civicrm_error |
| 18 |
|
- If you want to receive an email on all civicrm errors (not just fatal ones), you must apply the |
| 19 |
|
report_on_all_errors.diff patch to civicrm/CRM/Core/Error.php |
| 20 |
|
For info on how to use patches see: |
| 21 |
|
http://drupal.org/patch/apply |
| 22 |
|
|