error.ini [ErrorSettings]
The block [ErrorSettings] of settings/error.ini, with 4 setting(s).
Global error settings which are used for all error types
A specific error type group is defined with ErrorSettings followed
by a - (dash) and the error type name, e.g. ErrorSettting-kernel
Never edit settings/error.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/error.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/error.ini.append.phpfor one siteaccess,extension/<extension>/settings/error.ini.append.phpin an extension (read when the extension is active).
DefaultErrorHandler
Static pages for failures outside the template engine (lib/ezutils/classes/ezexecution.php):
StaticErrorPage[500], StaticErrorPage[503], StaticErrorPage[default], and one per known error
case, shown instead of the general page when the installation explains the failure:
StaticErrorPage[dependencies] the Composer libraries (vendor/) are missing; placeholders
{status} {title} {message} {steps} {repair} {reference} {home} {detail}. Unset: a built-in page.
StaticErrorPage[dependencies]=design/standard/errors/dependencies.html
Which handler to use, possible handlers are:
displayerror - Displays a text explaining the error
redirect - Redirect to a specific url
rerun - Rerun a module/view on the page, specified by a url
embed - Run a module/view and embed the results on the
same page used in displayerror
Default: displayerror.
# settings/override/error.ini.append.php
[ErrorSettings]
DefaultErrorHandler=displayerror
*/ ?>DefaultRedirectURL
Default: /content/view/full/2.
# settings/override/error.ini.append.php
[ErrorSettings]
DefaultRedirectURL=/content/view/full/2
*/ ?>DefaultRerunURL
Default: /content/view/full/2.
# settings/override/error.ini.append.php
[ErrorSettings]
DefaultRerunURL=/content/view/full/2
*/ ?>DefaultEmbedURL
Default: /user/login.
# settings/override/error.ini.append.php
[ErrorSettings]
DefaultEmbedURL=/user/login
*/ ?>Related
Generated by ./console exp:help:examples from settings/error.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.