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-shop]

The settings of [ErrorSettings-shop] in error.ini: ErrorHandler, RedirectURL, RerunURL, EmbedURL, HTTPError

Download as PDF

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

On this page

error.ini [ErrorSettings-shop]

The block [ErrorSettings-shop] of settings/error.ini, with 5 setting(s).

Allow the default Exponential 500 error message to be overridden
Note: this will not work with siteaccess settings, will only be global (settings/override/error.ini.append.php), because of how early this is registered
FatalErrorHandler=CustomFatalErrorHandlerClass::FatalErrorHandlerFunction
Error handling for shop errors
See the kernel errors for details on usage

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).

ErrorHandler

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/error.ini.append.php
[ErrorSettings-shop]
# an empty "ErrorHandler[]" first replaces the shipped list; without it the items are added
ErrorHandler[]
*/ ?>

RedirectURL

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/error.ini.append.php
[ErrorSettings-shop]
# an empty "RedirectURL[]" first replaces the shipped list; without it the items are added
RedirectURL[]
*/ ?>

RerunURL

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/error.ini.append.php
[ErrorSettings-shop]
# an empty "RerunURL[]" first replaces the shipped list; without it the items are added
RerunURL[]
*/ ?>

EmbedURL

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/error.ini.append.php
[ErrorSettings-shop]
# an empty "EmbedURL[]" first replaces the shipped list; without it the items are added
EmbedURL[]
*/ ?>

HTTPError

Default: a hash of 1: 1=404.

<?php /* #?ini charset="utf-8"?
# settings/override/error.ini.append.php
[ErrorSettings-shop]
# an empty "HTTPError[]" first replaces the shipped list; without it the items are added
HTTPError[]
HTTPError[1]=404
*/ ?>

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