Zenphoot generelly uses the server setting actually which IMHO should be off by default. Zenphoto enableds error reporting specifically if in debug mode.
You can do this via PHP or via htaccess.
For example:
http://php.net/manual/de/function.error-reporting.php
https://perishablepress.com/advanced-php-error-handling-via-htaccess/
I just looked and it disables it if the function date_default_timezone_set is avaialble. A bit weird actually I don't remember why this is that way (not my code). We probably should add an config setting or option (for admin rights users) for this.
If I remember well, then I asked our hosting provider - already a veeery long time ago - to make this setting.
I was lazy and it is more convenient if you have a "shocking" news right infront of you, instead of tracking the error.log(s).
It would be nice if it would be possible to integrate such feature ($TYPO3_CONF_VARS['SYS']['displayErrors'] =) in ZPC as well
I am maybe old fashioned.
I like to chat with humans. I prefer it that way.
Maybe when my kids read this in the future, they will laugh.
I ask the hoster what the app needs and then we decide if and what action will be taken. The worst case(for the app) is, that we can't use this one but another.
Thanks for taking action.
As you're already working on this matter would it be possible to extend it a little bit
$TYPO3_CONF_VARS['SYS']['displayErrors'] = 'what I need';
https://docs.typo3.org/typo3cms/SecurityGuide/GuidelinesIntegrators/GlobalTypo3Options/#displayerrors
and integrate something "more"
$TYPO3_CONF_VARS['SYS']['devIPmask'] = 'my ip';
https://docs.typo3.org/typo3cms/SecurityGuide/GuidelinesIntegrators/GlobalTypo3Options/#devipmask
As said you can enable display errors via the constant if really needed. It should really be off generally, better use your php server error log instead (and there is also the ZP own debug log). It maybe be more accurat as well.
I probably won't extend this currently.