You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using wp-h5p-xapi logging towards wp-xapi-lrs (which I see you also built).
Settings are correct, I've verified by surfing to the endpoint with correct user/pw.
Diving into wp-h5p-xapi.js, the ajax post to process-xapi-statement.php fails with the following response:
code: 404
message: "<!DOCTYPE html>.... almost entire html"
textStatus: "success"
So the 404 indicates a nonexisting page, but surfing to process-xapi-statement.php works fine.
Also textStatus success seems strange.
Any ideas? I know the plugins haven't been updated in a while, so it's likely a problem with newer versions of Wordpress or H5P.
The text was updated successfully, but these errors were encountered:
Sire
changed the title
302 error with latest Wordpress and H5P
404 error with latest Wordpress and H5P: Unable to save result data
Nov 15, 2017
Sire
changed the title
404 error with latest Wordpress and H5P: Unable to save result data
404 error with latest Wordpress and H5P: "Unable to save result data"
Nov 15, 2017
So it would seem that the failure is somewhere inside process-xapi-statement.php ... Because as you say, the page exists but fails... And there shouldn't be a complete html page inside the message field, it should just be a short message... So the way to debug it would be to trace the source of that html and see where it is generated and why...
I think this is doable and I think it would be possible to solve the problem...
However... At this moment I'm a bit tied up with other things and fixing issues here are not in line with my personal interest to the point where I would chip in work "just to be nice" if you see what I mean?
Would you be willing to put this issue on e.g. Bountysource and chip in a little bit of a contribution? If so it will be easier for me to motivate to myself personally to fix it... And... I hop I don't come across as greedy by saying this!
Wordpress v4.8.2
H5P v1.9.4
I'm using wp-h5p-xapi logging towards wp-xapi-lrs (which I see you also built).
Settings are correct, I've verified by surfing to the endpoint with correct user/pw.
Any activity causes the following alert box:
Unable to save result data.
WP_H4P_XAPI_STATEMENT_URL=http://site.com/wp-content/plugins/wp-h5p-xapi/process-xapi-statement.php
WP_H5P_XAPI_CONTEXTACTIVITY=null
Diving into wp-h5p-xapi.js, the ajax post to process-xapi-statement.php fails with the following response:
So the 404 indicates a nonexisting page, but surfing to process-xapi-statement.php works fine.
Also textStatus success seems strange.
Any ideas? I know the plugins haven't been updated in a while, so it's likely a problem with newer versions of Wordpress or H5P.
The text was updated successfully, but these errors were encountered: