Issue Bug Closed

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

Christian Hünniger 07/27/14, 22:14 updated 10/02/18, 11:52

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

Reviews 2