Loading...
 
Skip to main content

Features / Usability


Tiki H5P: H5P editor upload returns 404 because action_library_upload is missing

Joseph Rézeau wrote:

Tiki H5P: H5P editor upload returns 404 because action_library_upload is missing

Environment:
- Windows 11
- WampServer
- PHP 8.3.18
- Tiki 27.x
- H5P support enabled
- Plugin H5P enabled
- Default H5P gallery set
Problem:
When using the H5P editor Upload tab, Firefox Network shows:
POST /tiki-ajax_services.php?controller=h5p&action=library_upload
Result: 404 Not Found

In:
lib/core/Services/H5P/Controller.php =

there is no:
action_library_upload

Also, uploading .h5p files through File Galleries stores them as ordinary/plain text files and does not create playable H5P content. Only storage/public/h5p/libraries was populated.

The service really meets everyone's needs. The updates and sharing about uploading .h5p files through File Galleries stores are valuable.