Actions
Bug #39287
closedget_html_translation_table expects at most 2 parameters, 3 given
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.
Actions