H5P feature partially breaks File Gallery when activated
- Status
- Pending
- Subject
- H5P feature partially breaks File Gallery when activated
- Version
- 21.x
- Category
- Bug
- Error
- Regression
- Feature
- File Gallery (elFinder or standard UI)
H5P - Resolution status
- Works For Me
- Submitted by
- Torsten Fabricius
- Volunteered to solve
- Jonny Bradley
- Keep informed
- John Morris, luci, Xavier de Pedro
- Lastmod by
- Torsten Fabricius
- Rating
- Description
Please mind that the described H5P related bug occurs whilst not using H5P, but using the file gallery when H5P is activated. Deactivating H5P makes the bug disappear.
- Upgraded existing Tiki 19 to Tiki 21.x (future, currently trunk) at 16 Oct 2019.
- Activated H5P
- created an extra new file gallery for H5P
- did not (yet) set Site Key and H5P UUID, as I do not yet heard about them
- did not yet upload any H5P files and not yet try to use H5P in this Tiki instance
- the folder in tikiroot storage/public/h5p is existing, likely created automatically during upgrade
- When I got to the preferences of an arbitrary file in an arbitrary existing file gallery, maybe change some preference like editing the description or even do no change at all and then I save this file, two things happen:
- The file is saved/updated correctly (ex: description updated
- Tiki does not refer back to the file gallery, but instead to a WSOD blank page with an error message. I have to manually alter the url in the browsers address line or to use the browsers back button to get back to my Tiki.
This is the error message:Copy to clipboardParse error: syntax error, unexpected ')' in /www/htdocs/Path-To-Tikiroot/lib/core/H5P/H5PTiki.php on line 947- Upgraded existing Tiki 19 to Tiki 21.x (future, currently trunk) at 16 Oct 2019.
- Solution
Hi @Torsten Fabricius
Is this still happening for you? (sorry for the late attention on this)
Seems absolutely fine for me (although found a few other issues and had to delete all my old h5p's from before again, then had to enable the h5p hub to be able to create new ones).
Which version of php is this on? And assuming it's 7.2+ can you make a show2 instance?
- Importance
- 5
- Easy to solve?
- 7
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Accessing the Tiki instance that demonstrates this bugThe URL for the show2.tiki.org instance that demonstrates this bug is at: http://torsten-11143-7193.show2.tiki.org. Note that if you get a popup asking for a username/password, please just enter "show" and "show". This is different from the initial login and password for a new Tiki which is "admin" and "admin".
For the install log, see http://torsten-11143-7193.show2.tiki.org/info.txt
Note that if you see PHP errors or a Tiki claiming to be missing third party software, the instance creation is probably not finished. Please wait a couple minutes and reload.
SnapshotsSnapshots are database dumps of the configuration that developers can download for debugging. Once you have reproduced your bug on the show2.tiki.org instance, create a snapshot that can then be downloaded by developers for further investigation.
Snapshots can be accessed at: http://torsten-11143-7193.show2.tiki.org/snapshots/. Note that if you get a popup asking for a username/password, please just enter "show" and "show".
Create new snapshot - Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is currently unavailableUnable to connect to show.tikiwiki.org. Please let us know of the problem so that we can do something about it. Thanks.
- Ticket ID
- 7193
- Created
- Thursday 17 October, 2019 13:56:12 UTC
by Torsten Fabricius - LastModif
- Wednesday 03 March, 2021 17:30:04 UTC