Issue Feature Rejected

#107684Modify how $GLOBALS['TYPO3_CONF_VARS']['FE']['pageUnavailable_force'] works

Pablo Hidalgo Martínez 10/13/25, 10:15 updated 10/13/25, 18:59

Description

When activating $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘pageUnavailable_force’] it shows that the page is unavailable, which is OK.

The HTTP code that is thrown is a 503. However, if in a Site Configuration an Error Handler is configured to Handle a 503 to show a page (or file or what is configured as “callback”), the configured element will not be shown because the sub-request still returns a 503, and, as a result, the Error Handler configuration is ignored since the returned response is a “Server Error”.

Does this makes sense?

Maybe, if a Error Handler is configured when $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘pageUnavailable_force’] the content of that Error Handler should be shown to be able to easily configure a “Maintenance Mode” for the Frontend if needed.

So, as a summary, maybe developers and/or site admins may expect that when $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘pageUnavailable_force’] and a Error Handler is configured for that case, the content of that Handler is shown.

Regards.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 1

  1. Georg Ringer commented and changed status New Rejected <span data-processor="relativetime" data-value="2025-10-13T18:59:03+00:00" > 10/13/25, 18:59 </span>

    Hi,

    thanks for creating the issue! Sorry to reject it.
    The description states

    > If TRUE, every frontend page is shown as “unavailable”

    This setting can be used if some bigger stuff needs to be done which can lead to e.g. not having a working frontend at all or a kind of broken frontend. So it is more than possible that rendering of pages or content won’t work. Maybe not even a proper site can be retrieved and no site configuration can be fetched. therefore no error handling is possible.

    hope you understand. feel free to contact me on slack for further discussions if required.