Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Values from ext_localconf not active by default #2

Open
bittner opened this issue Jun 22, 2017 · 0 comments
Open

Values from ext_localconf not active by default #2

bittner opened this issue Jun 22, 2017 · 0 comments

Comments

@bittner
Copy link

bittner commented Jun 22, 2017

All configuration necessary to activate PHP error and exception logging with Sentry is in ext_localconf.php. Yet still, it's necessary to add those values to LocalConfiguration.php to make the extension work, as described in the README.

It can be shown that the values from ext_localconf.php are indeed loaded successfully and active before an exception occurs. Yet still, the values in LocalConfiguration.php take precedence even though AdditionalConfiguration.php and ext_localconf.php are loaded afterwards, overwriting the handler values in the global array. This seems to be a mannerism (a shortcoming?) of TYPO3, and has been discussed on the TYPO3 #cig-deployment Slack channel.

Be Inspired By Helmut

Jigal von Hemert (on Slack) suggests to take a look at Helmut Hummel's TYPO3-Distribution, which also has its own exception handlers.

@bittner bittner changed the title ext_localconf not enabled by default Values from ext_localconf not active by default Jun 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant