Project

General

Profile

Actions

Bug #39287

closed

get_html_translation_table expects at most 2 parameters, 3 given

Added by Stephan Großberndt over 12 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2012-07-26
Due date:
% Done:

100%

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

Description

When converting the encoding of a string an error message is added to the log:

Core: Error handler (FE): PHP Warning: get_html_translation_table() expects at most 2 parameters, 3 given in /xxxxxx/typo3/typo3_src-4.7.2/t3lib/class.t3lib_cs.php line 819

This happens because the encoding 'UTF-8' is given as third parameter, but this parameter has been added with PHP 5.3.4 [http://php.net/manual/en/function.get-html-translation-table.php#refsect1-function.get-html-translation-table-changelog].

The TYPO3 page [https://typo3.org/download/] states 5.3.x as required PHP version.

Since for Debian Squeeze only 5.3.3 is available, please add a workaround for 5.3.x versions older than 5.3.4.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #34094: Change fallbacks to iso-8859-1 to utf-8ClosedSteffen Ritter2012-02-202012-02-20

Actions
Actions

Also available in: Atom PDF