Bug #60627

TYPO3 // Install Tool / Check.php - checkMaximumFileUploadSize ignores the same value

Added by Christian Hünniger about 8 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
Start date:
2014-07-27
Due date:
% Done:

100%

Estimated time:
0.50 h
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

Hi

I found a bug in the file typo3_src/typo3/sysext/install/Classes/SystemEnvironment/Check.php on line 186 (\TYPO3\CMS\Install\SystemEnvironment\Check::checkMaximumFileUploadSize)

The error message

It is recommended that the value of upload_max_filesize is at least equal to the value

But if I set the value in the php.ini to the same value TYPO3_CONF_VARS[BE][maxFileSize] the errors throws again (look to the attached screenshot)

The code must be changed as follows

// old compare
if ($maximumUploadFilesize < $configuredMaximumUploadFilesize) {

// new compare
if ($maximumUploadFilesize <= $configuredMaximumUploadFilesize) {

Facts
TYPO3 Version: 6.2.3


Files

t3_install_tool_check.PNG (28.7 KB) t3_install_tool_check.PNG Christian Hünniger, 2014-07-27 22:14
t3_install_tool_check_debug.PNG (50.1 KB) t3_install_tool_check_debug.PNG Christian Hünniger, 2014-07-27 22:44
t3_install_tool_check_debug_2.PNG (57.3 KB) t3_install_tool_check_debug_2.PNG Christian Hünniger, 2014-07-27 22:54

Related issues

Related to TYPO3 Core - Bug #58260: Installtool-Check "checkMaximumFileUploadSize" doesn't look at BE/maxFileSize, but message suggests thatClosed2014-04-27

Actions

Also available in: Atom PDF