Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

error.ini [ErrorSettings]

The settings of [ErrorSettings] in error.ini: DefaultErrorHandler, DefaultRedirectURL, DefaultRerunURL, DefaultEmbedURL

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/ini-settings/error/ErrorSettings.md

On this page

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.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/error.ini.append.php for one siteaccess,
  • extension/<extension>/settings/error.ini.append.php in 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.

<?php /* #?ini charset="utf-8"?
# settings/override/error.ini.append.php
[ErrorSettings]
DefaultErrorHandler=displayerror
*/ ?>

DefaultRedirectURL

Default: /content/view/full/2.

<?php /* #?ini charset="utf-8"?
# settings/override/error.ini.append.php
[ErrorSettings]
DefaultRedirectURL=/content/view/full/2
*/ ?>

DefaultRerunURL

Default: /content/view/full/2.

<?php /* #?ini charset="utf-8"?
# settings/override/error.ini.append.php
[ErrorSettings]
DefaultRerunURL=/content/view/full/2
*/ ?>

DefaultEmbedURL

Default: /user/login.

<?php /* #?ini charset="utf-8"?
# settings/override/error.ini.append.php
[ErrorSettings]
DefaultEmbedURL=/user/login
*/ ?>

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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x