Tuurlijk / t3ext-h5p

TYPO3 H5P plugin
7 stars 16 forks source link

The file you are trying to upload might be too large. #9

Closed falscher20er closed 3 years ago

falscher20er commented 4 years ago

Hello,

thanks for your Work to H5P and Typo3!

Every time I try to upload a graphic I get an error message that the file is too large: The file you are trying to upload might be too large. Upload in PHP is set to 128MB. The graphics range from 100 - 1000kb. Fileupload in Typo3 is possible.

Best regards Matthias

Holger273 commented 4 years ago

Same issue here on Typo3 9.5.15: Core: Exception handler (WEB): Uncaught TYPO3 Exception: Call to undefined method TYPO3\CMS\Core\Utility\File\ExtendedFileUtility::init() | Error thrown in file /xxx/xxx/typo3/public/typo3conf/ext/h5p/Classes/Adapter/Core/FileStorage.php in line 465. Requested URL: https://xxx/typo3/index.php?route=%%2Fh5p%%2Feditor%%2Faction&token=--AnonymizedToken--&action=h5p_files

horstmue commented 3 years ago

Hello,

remove or comment out the line

$fileProcessor->init([], []);

in function "savefile" in typo3conf/ext/h5p/Classes/Adapter/Core/FileStorage.php

The init function was removed on newer TYPO3 Versions.

Hope this helps Horst

Tuurlijk commented 3 years ago

This should be fixed in coming releases