Project

General

Profile

Actions

Bug #36976

closed

PHP warning when a language pack does not exist

Added by Xavier Perseguers over 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Category:
Miscellaneous
Target version:
-
Start date:
2012-05-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Problem found in TYPO3 4.7. When retrieving language packs, I get lots of error messages shown as flash messages:

This is related to a developer configuration to show all problems that transforms PHP warning (that should be removed anyway) into fatal exceptions:

$TYPO3_CONF_VARS['SYS']['displayErrors'] = '1';
$TYPO3_CONF_VARS['SYS']['devIPmask'] = '*';
$TYPO3_CONF_VARS['SYS']['errorHandler'] = 't3lib_error_ErrorHandler';
$TYPO3_CONF_VARS['SYS']['errorHandlerErrors'] = E_ALL ^ E_NOTICE;
$TYPO3_CONF_VARS['SYS']['exceptionalErrors'] = 30711;
$TYPO3_CONF_VARS['SYS']['debugExceptionHandler'] = 't3lib_error_DebugExceptionHandler';
$TYPO3_CONF_VARS['SYS']['productionExceptionHandler'] = 't3lib_error_DebugExceptionHandler';
$TYPO3_CONF_VARS['SYS']['systemLogLevel'] = '0';
$TYPO3_CONF_VARS['SYS']['systemLog'] = 'error_log';
$TYPO3_CONF_VARS['SYS']['enable_errorDLOG'] = '1';
$TYPO3_CONF_VARS['SYS']['enable_exceptionDLOG'] = '1';
$TYPO3_CONF_VARS['SYS']['enableDeprecationLog'] = 'console';


Files

flash_lp.png (41 KB) flash_lp.png Xavier Perseguers, 2012-05-09 09:46

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #35847: t3lib_div::getUrl() providing wrong error informationClosedIngo Renner2012-04-11

Actions
Related to TYPO3 Core - Bug #36380: t3lib_div::getUrl() with local file throws a warning while file does not existsClosed2012-04-20

Actions
Actions #1

Updated by Gerrit Code Review over 12 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11093

Actions #2

Updated by Jochen Weiland over 12 years ago

The problem also exists in 4.5.15 (but not in 4.5.14 and below). When displayErrors is set to 1, then updating language packs for extensions fails.
Temporary workaround: set displayErrors to 0

Actions #3

Updated by Oliver Hader over 12 years ago

I can reproduce, the issue was introduced as side-effect of #35847

Actions #4

Updated by Gerrit Code Review over 12 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11093

Actions #5

Updated by Gerrit Code Review over 12 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11093

Actions #6

Updated by Gerrit Code Review over 12 years ago

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/11354

Actions #7

Updated by Gerrit Code Review over 12 years ago

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/11355

Actions #8

Updated by Gerrit Code Review over 12 years ago

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/11356

Actions #9

Updated by Xavier Perseguers over 12 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #10

Updated by Gerrit Code Review over 12 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/13144

Actions #11

Updated by Gerrit Code Review over 12 years ago

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/13260

Actions #12

Updated by Alexander Opitz over 11 years ago

  • Status changed from Under Review to Closed

The gerrit code review messages after closing are false. So closing again.

Actions

Also available in: Atom PDF