Hi, i'm trying to restore course, but the upload progress never finish and stuck.
when i click Restore button, it shows
Error code: invalidrestorefile
- line 225 of \backup\util\ui\restore_ui_stage.class.php: restore_ui_exception thrown
- line 72 of \backup\restore.php: call to restore_ui_stage_confirm->process()
and if I inspect element, the console shows:
Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at XMLHttpRequest.xhr.onreadystatechange (dndupload.js:45)
Oh, i try it in Moodle 2.6 and Moodle 3.4 but both of them produce the same error.
I really need your help. Thank you.