Customising the Appearance of Oops! Error Pages
An Oops! Error Page occurs in version 7.2 and above when a catchable error occurs.
The appearance of these error pages can be customised if you have a custom theme by creating the following files:
/templates/*your custom template*/error/internal-error.tpl
/templates/*your custom template*/error/page-not-found.tpl
/templates/*your custom template*/error/unknown-routepath.tpl
The following variables are available:
- systemurl - the configured System URL defined in Settings >> General Settings >> General tab
- email - the configured default email address defined in Settings >> General Settings >> General tab
- stacktrace - the PHP stacktrace of the error condition. This is only populated if Display Errors is enabled (via configuration file or in Settings >> General Settings >> Other tab)
NOTE: These are not standard Smarty templates, so other smarty variables are not available here.
For more information, please refer to http://docs.whmcs.com/Error_Management