Can't upload course presentation to WordPress on Pantheon
Submitted by andygagnon on Wed, 03/13/2019 - 23:31
WP 5.1
htp 1.11.3
host: pantheon
Getting a 504 time out when trying to upload attached file.
Works fine on host wpengine.
Pantheon has a system where you can't write to folders outside of wp-content/uploads.
Does h5p create tmp directories for uploading? This won't work on pantheon.
How can I control the tmp directories for file uploading?
Thanks for your time,
-Andre Gagnon
H5P file:
icc
Fri, 10/18/2019 - 15:06
Permalink
No, all files should be
No, all files should be within the wp-content/upload/h5p folder.
It sounds like PHP might be hanging on some sort of operation. You may have to add some debugging in order to determine what's happening.
ironhead
Sat, 10/02/2021 - 01:55
Permalink
I'm using Drupal/Opigno at
I'm using Drupal/Opigno at Pantheon. Just ran into same problem. 2 years same issue? Any ideas on what can be done?
ctli
Fri, 07/26/2024 - 20:48
Permalink
we also have this issue
How can I support a new feature? Pantheon will not change its infrastructure. There is also memory issues when adding H5P content. I've tried upgrading the hosting package to the max and it did not eliminate the issue.
Php-slow.log
[19-Jul-2024 16:50:41] [pool www] pid 47
script_filename = /code//wp-admin/admin.php
[0x00007d847b415cb0] copy() /code/wp-content/plugins/h5p/h5p-php-library/h5p-default-storage.class.php:522
[0x00007d847b415be0] copyFileTree() /code/wp-content/plugins/h5p/h5p-php-library/h5p-default-storage.class.php:519
[0x00007d847b415b10] copyFileTree() /code/wp-content/plugins/h5p/h5p-php-library/h5p-default-storage.class.php:138
[0x00007d847b415a40] exportLibrary() /code/wp-content/plugins/h5p/h5p-php-library/h5p.classes.php:1843
[0x00007d847b415890] createExportFile() /code/wp-content/plugins/h5p/h5p-php-library/h5p.classes.php:2230
[0x00007d847b415780] filterParameters() /code/wp-content/plugins/h5p/public/class-h5p-plugin.php:939
[0x00007d847b415610] get_content_settings() /code/wp-content/plugins/h5p/public/class-h5p-plugin.php:1033
[0x00007d847b415500] add_assets() /code/wp-content/plugins/h5p/admin/class-h5p-content-admin.php:250
[0x00007d847b415410] display_contents_page() /code/wp-includes/class-wp-hook.php:324
[0x00007d847b415330] apply_filters() /code/wp-includes/class-wp-hook.php:348
[0x00007d847b4152c0] do_action() /code/wp-includes/plugin.php:517
[0x00007d847b4151e0] do_action() /code/wp-admin/admin.php:259
[25-Jul-2024 18:45:20] NOTICE: child 22 stopped for tracing
[25-Jul-2024 18:45:20] NOTICE: about to trace 22
[25-Jul-2024 18:45:20] NOTICE: finished trace of 22
[25-Jul-2024 18:46:23] WARNING: [pool www] child 24, script '/code//wp-admin/admin.php' (request: "GET /wp-admin/admin.php?page=h5p&task=show&id=11") executing too slow (5.998271 sec), logging
italian person
Sat, 08/31/2024 - 01:16
Permalink
same issue as well
Exact same error in our php-slow logs on Pantheon as well - be happy to encourage a fix or assist in updating this as the module is rendered useless (it is triggered on the Create/Update step, the creation of the H5P modile or uploading one works fine).
[email protected]
Tue, 10/22/2024 - 21:00
Permalink
Same problem on Pantheon here!
Please help!