The `error` template allows you to customize the information displayed on error pages such as 404, 500 and 503.
NOTE: An error page typically contains a message about what went wrong, and prompts users to send as many details as possible back to a Support contact. It's a good rule of thumb to request as much information as possible, so that important data can be sent back to the Support team for troubleshooting.
A. Requirements
- Create a new Application Template and call it 'error' or something appropriately named. It should have its Default Wrapper set (can be the `Default` wrapper).
- The Default Wrapper should have the Header, Footer and CSS references that are consistent with your application.
B. Variables supported by the `error` page:
- $cookieInfo ( array )
- $exception ( string )
- $errorInfo ( array )
- $errorType (int) : 404, 500, or 503
- $requestInfo ( array )
- $OS_Browser_Info ( array )
C. Attributes in the cookieInfo array
$cookieInfo = array (
[_ga]
[SABRE_ID]
[__utma]
[__utmz]
[s_pers]
[aam_did]
[TAJc]
[_parsely_visitor]
[__gads]
[aam_tnt]
[s_sess]
[cookies_js_domain_test]
[__utmc]
[TAJ]
[__utmb]
[__utmt]
[__utmt_~1]
[__utmt_~2]
[__vrf]
[_parsely_session]
)
D. Attributes in the requestInfo array
$requestInfo = array
(
[ _ga]
[SABRE_ID]
[__utma]
[__utmz]
[s_pers]
[aam_did]
[TAJc]
[_parsely_visitor]
[__gads]
[aam_tnt]
[s_sess]
[cookies_js_domain_test]
[__utmc]
[TAJ] =>
[__utmb]
[__vrf]
[_parsely_session]
)
E. Attributes in the OS_Browser_Info array
$OS_Browser_Info = Array
(
[0] => Browser Version, i.e.: 38.0
[1] => The OS, i.e.: Mac
[2] => Browser, i.e.: Firefox
)