Project

General

Profile

Actions

Bug #38645

closed

New error_reporting settings cause notice "undefined constant E_DEPRECATED " with PHP 5.2

Added by Ivan Dharma Kartolo over 12 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Performance
Target version:
Start date:
2012-07-04
Due date:
% Done:

100%

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

Description

After #35154 updating to 4.5.17 shows the following PHP Notice:

PHP Notice:  Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in typo3_src-4.5.17/typo3/init.php on line 69

Problem is, that the site still uses PHP 5.2.

Since TYPO3 4.5.x should be still working with PHP 5.2, I thinks the line

error_reporting(E_ALL & ~(E_STRICT | E_NOTICE | E_DEPRECATED));

should be change to

error_reporting(E_ALL & ~(E_STRICT | E_NOTICE));

in typo3/init.php

Thanks,

Ivan


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #38691: Exclude E_STRICT on PHP 5.4ClosedPhilipp Gampe2012-07-05

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

Actions
Follows TYPO3 Core - Bug #35154: Exclude E_STRICT from exceptionalErrors in PHP 5.4Closed2012-03-22

Actions
Actions

Also available in: Atom PDF