Project

General

Profile

Actions

Bug #51493

closed

Error Reporting always set with E_WARNING

Added by Tizian Schmidlin almost 11 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Miscellaneous
Target version:
-
Start date:
2013-08-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
hard
Is Regression:
No
Sprint Focus:

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #39232: PHP error_reporting cannot be set properly, E_STRICT errors shown on PHP 5.4Closed2012-07-25

Actions
Actions #1

Updated by Markus Klein almost 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?

Actions #2

Updated by Tizian Schmidlin over 10 years ago

I don't think so, the master Value in the phpinfo shows 22517, but the running value is still 22519.

Actions #3

Updated by Alexander Opitz over 10 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?

Actions #4

Updated by Alexander Opitz about 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.

Actions

Also available in: Atom PDF