Bug #51493
closedError Reporting always set with E_WARNING
0%
Description
There is something in the core that sets the error reporting to 22519 (E_ALL ^ E_NOTICE ^ E_DEPRECATED
), even with the following localconf.php configuration:
$TYPO3_CONF_VARS['SYS']['displayErrors'] = 0; $TYPO3_CONF_VARS['SYS']['errorHandlerErrors'] = 22517; // E_ALL ^ E_DEPRECATED ^ E_NOTICE ^ E_WARNING (everything except deprecated-msgs and notices and warnings) $TYPO3_CONF_VARS['SYS']['syslogErrorReporting'] = 22517; // E_ALL ^ E_DEPRECATED ^ E_NOTICE ^ E_WARNING (everything except deprecated-msgs and notices and warnings) $TYPO3_CONF_VARS['SYS']['belogErrorReporting'] = 22517; // E_ALL ^ E_DEPRECATED ^ E_NOTICE ^ E_WARNING (everything except deprecated-msgs and notices and warnings)
This can be reproduced on all systems using TYPO3 4.5.X with PHP 5.3 on Windows and Linux.
Even when set directly in the php.ini, the value get's set to 22519
again.
To check I used extdeveval's phpinfo.
This wouldn't be as much as a problem, if the PHP errors weren't logged to PHP's error log (which can only be avoided by either setting the correct error_reporting bitmask or disabling error reporting completly which should not be seen as an option).
I made absolutely sure that none of the installed extensions in the system actually sets this value by:
- grep'ing the whole thing for 22519, E_WARNING, ini_set and error_reporting
- deinstalling all non-core extensions
- tracing the execution of the extdeveval module
All this showed that there is nothing that actually modifies the error reporting, but still, the error_reporting get's flawnd (see attached screenshot from extdeval).
Files
Updated by Markus Klein about 11 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
4.5.30)
Is it possible that your PHP configuration enforces this value?
Updated by Tizian Schmidlin about 11 years ago
I don't think so, the master Value in the phpinfo shows 22517, but the running value is still 22519.
Updated by Alexander Opitz almost 11 years ago
- Is Regression set to No
Hi,
I do not have this issue in our installations nor do I find a part in the source which sets this mask value.
Can you recheck you .htaccess files, server config and so on?
Updated by Alexander Opitz over 10 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this ticket.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.