File import problem "Could not get posted H5P."

https://imgur.com/bwQgZB9

When importing an h5p file from another site I get an error message "Could not get posted H5P."

I suspect this may be to do with php upload limits as this is a new Wordpress installation on a new vps installation - but I've increased the php upload imits to 5M, which is beyond the 2.8M size of the file I'm trying to upoad and the initial error message about this issue has also gone.

However, a smaller file of 0.5M has uploaded without problem.

Any ideas? 

BV52's picture

Hi Colin,

In order to give your bug report the best chance of getting answered, please include the following information:

  1. Detailed steps to reproduce the bug (exactly how and when did it happen)
  2. Platform and version number.Wordpress
  3. Mobile or Desktop
  4. Browser: Chrome, Firefox, Safari etc
  5. H5P plugin version
  6. H5P content type and version (if a content type was used), and a sample URL or attached H5P.
  7. Screenshot of the browser console
  8. Any PHP errors
  9. Screenshots if it's a visual problem

If it worked before:

  1. Any recent changes to the environment (new plugins/modules, updates, configuration changes etc.)
  2. Any recent changes to the browser you're using (new extensions, updates etc.)

The more information you provide, the quicker the community will be able to fix it and the quicker you'll have a working solution!

-BV