Tuurlijk / t3ext-h5p

TYPO3 H5P plugin
5 stars 18 forks source link

Upload not working for non-admin users #33

Open ulrike-cosmoblonde opened 2 years ago

ulrike-cosmoblonde commented 2 years ago

Hi,

I am using the H5P extension (10.0.5) on a TYPO3 v10 LTS website. The upload of h5p files does not succeed for any editor, but only for admin users.

Editors cause an error like the following: Uncaught TYPO3 Exception: #1423347324: Folder "editor/FontAwesome-4.5" already exists. Uncaught TYPO3 Exception: #1423347324: Folder "editor/H5P.Image-1.1" already exists.

All folders and files have read and write permissions (777). The user group for editors has the h5p module and tables allowed.

Can anyone confirm this error? Or is there a fix to this issue?

Thanks in advance! Ulrike

marcelmacasso commented 1 year ago

I can confirm this. The moment we add a module with a non-admin user, we get a 500 internal server error because a file in the folder from the module that we just added cannot be found. Because the whole folder is not added to fileadmin/h5p/library. But the module got an entry in the table tx_h5p_domain_model_contenttypecacheentry

rrohaczek commented 1 year ago

I can confirm this too with TYPO3 11.5.13 and the latest EXT:h5p version. There are no problems with the admin but as soon as i install modules with an editor there are the internal server errors.

christophrunkel commented 1 year ago

If you create a filemount (on the system root) for the fileadmin/h5p folder - and grant access to the user_groups that should be able to edit h5p content, it should work.