403 Error: Unable to Save Result Data

Hello,

I have H5P installed on a WordPress site. I have been using it to design a branching scenario for use in a LearnDash course. It was working fine until a month or so ago. Now, I cannot access any H5P content without receiving a 403 error: Unable to Save Result Data. This happens when I try and access any H5P content files. Once I clear it, it appears again when I progress to the next slide.

I have tried this on Mac Safari, Mac Firefox, iPhone iOS and MS Edge, all with the same result. I have Uncanny Reporting installed and thought it might be interference from that, but I contacted them and they said it is not. From reading other threads in this forum I found the .htaccess file in uploads and deleted it but this had no effect. I have also tried deleting and completely reinstalling H5P.

Wordpress Version: 5.4.2

H5P Version: 1.15.0

I realise removing the other plugins would be one strategy to find the issue, however this is problematic as many of them are supporting an existing course in the LMS. Any suggestions would be greatly appreciated!

Thank you,

Martin.

 

Content types: 
otacke's picture

Hi Martin!

This is not a message sent by H5P, but probably by WP-H5P-XAPI, cmp. https://github.com/tunapanda/wp-h5p-xapi/blob/bdc4cd1e5e7b5fe79b8dc99906d6f521f9c435f6/wp-h5p-xapi.js#L29 Do you have that one installed?

Best,
Oliver

Hi Oliver,

Thanks very much - I searched for that file and found it in a Tin Canny Reporting folder:

/public_html/wp-content/plugins/tin-canny-learndash-reporting/src/h5p-xapi/wp-h5p-xapi.js

So does that mean it is in fact a conflict issue with Tin Canny Reporting? Any advice in dealing with it (other than removing Tin Canny Reporting)? If it is specific to H5P, can I just remove that particular file?

Cheers,

Martin.

otacke's picture

Hi Martin!

I don't know that plugin, but obviously it's not working as it is supposed to (forwarding xAPI statements to some data sink). It may well be that this plugin itself isn't to be blamed, but some server setting that has changed. Definitely, it's not H5P's fault.

I am sorry, but I cannot give you any advice, because I don't know that plugin and I assume that the Tin Canny Reporting team would be the right addressee for questions. I am pretty confident to say, however, that simply removing that file could make the situation even worse.

Best,

Oliver 

Hi Oliver,

I just wanted to let you know that we finally got it resolved. It turned out to be a firewall issue on the domain host side - they initially said it wasn't but then found it was - the files just needed to be on their whitelist. Thanks very much for the help!

Cheers,

Martin.

 

Hi Martin,

I'm facing the same issue on my website. I've disabled the plugin for now but will probably need to enable it again. Do you think you could tell me which files needed to be whitelisted exactly?

Thanks,
Sherry.

Hi Sherry,

It was: /wp-content/plugins/tin-canny-learndash-reporting/src/h5p-xapi/process-xapi-statement.php

Hope that helps. 

Best regards,

Martin.

Martin

Do have a fix for the  /wp-content/plugins/tin-canny-learndash-reporting/src/h5p-xapi/process-xapi-statement.php file?

We need the Tin Canny