Loading...
 
Skip to main content

H5P upload/create does not work

Status
Open
Subject
H5P upload/create does not work
Version
29.x
Category
  • Bug
Feature
H5P
Resolution status
New
Submitted by
Joseph Rézeau
Lastmod by
Joseph Rézeau
Rating
(0)
Description

Environment:
- Windows 11
- WampServer
- PHP 8.3.18
- Tiki 29.x fresh install
- Also tested Tiki 27.x
- Apache local VirtualHost: tiki.local / tiki29.local
- H5P support enabled
- Plugin H5P enabled
- Default H5P gallery set to File Galleries > H5P

Problem:
H5P upload/create does not work.

1. In the H5P editor, using the Upload tab produces:
POST /tiki-ajax_services.php?controller=h5p&action=library_upload
Result: 404 Not Found

2. In the Tiki source file:
lib/core/Services/H5P/Controller.php

there is no:
action_library_upload

I searched for:
action_library_upload
library_upload

and neither is present.

3. Uploading a valid .h5p file through:
File Galleries > H5P

stores the file as a normal/plain text file instead of processing it as H5P content.

Expected:
The .h5p file should be processed as H5P content and become usable with:


Actual:
The file is uploaded as a normal file/text file, and:


returns:
H5P Plugin: Cannot find H5P content with fileId: ...

Additional observations:
- PHP extensions curl, zip, and fileinfo are enabled.
- storage/public/h5p exists and is writable.
- storage/public/h5p/libraries was populated once, but content was not created.
- H5P editor AJAX calls such as content_type_cache/libraries appear to reach Services_H5P_Controller, but library_upload returns 404.

Importance
10 high
Easy to solve?
5
Priority
50
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
9006
Created
Thursday 09 July, 2026 22:19:27 UTC
by Joseph Rézeau
LastModif
Thursday 09 July, 2026 22:19:27 UTC


Show PHP error messages