You can configure CiviCRM to use a customized "fatal error" screen. You may want to include specific site administrator contact information or other problem resolution instructions on the screen, as well as "theme" it for a more professional or consistent look.
- Save a copy of civicrm/templates/CRM/error.tpl
- Edit the text and layout of this file as desired. You can add site administrator contact info, site logos, etc. as needed.
- Login (with Admin CiviCRM rights) and navigate to Administer CiviCRM » Global Settings » Debugging
- Replace the default value (CRM/error.tpl) with the relative path (from civicrm/templates) and name of your new file.
- Save your changes.
You can also configure CiviCRM to use a custom error handler by referencing a custom PHP function in Administer CiviCRM » Global Settings » Debugging
Dave Hansen-Lange has contributed a Drupal module for debugging errors:
 |
"Sometimes CiviCRM can be real tough to debug. Especially when you are getting fatal errors, but only by some users, and you can't recreate the problems. I wrote a utility that will send you a detailed email when a
CiviCRM fatal error occurs. Hopefully this can help some other devs."
http://drupal.org/project/civicrm_error |