Bug #82006
closedWrong interpretation of post_max_size and/or upload_max_filesize
0%
Description
TYPO3 8.7.1
PHP 7.1.6 7-71LATEST-STANDARD
Server domainfactory
file upload of files (backend file list) with a size more than 2 MB fails, because of an error:
Datei "20170514_111240.jpg" überschreitet maximale Dateigröße von 2.0 MB!
In the install tool under system environement > more php info i habe the following values according to my php.ini
upload_max_filesize 8M
post_max_size 8M
I'm not able to upload a file with e.G. 4MB because of the error message above.
If i change line 2621 of the file typo3_src-8.7.1/typo3/sysext/core/Classes/Utility/GeneralUtility.php
from
return floor(($phpUploadLimit)) / 1024;
to
return 8000;
the errormessage from above disappears.
I can see the file uploading progress bar working as normal, but at the end i get another red error message:
The upload has failed, no uploaded file found!Hochladen von Datei "20170514_111240.jpg" fehlgeschlagen.
What is going wrong here?
I have the correct php values, but file upload fails.