website encountered an unexpected error...

 ...when trying to create Drag Text interaction. Get the following error:

The website encountered an unexpected error. Please try again later.   

The UE occurrs in IE, Chrome and in Moodle (Chrome).   

I beleive this hapened b/c I cut and pasted some text from a PDF (into the question's text field in H5P) which had a strange character in it.

timothylim23's picture

Hi, thanks for reporting this. Could I ask what character it was and if I can replicate it, I'll make a bug report. Also, did you manage to get it working eventually?

It's a white box. I think it's created by Acrobat after performing OCR. Even if I put it here it throws a UE on H5P.org 

timothylim23's picture

Hi, thanks for reporting this bug. I've created an issue on our task board. You can follow it here: https://h5ptechnology.atlassian.net/browse/HFP-162

falcon's picture

What webserver are you using, which version and which PHP version?

Don't understand the question: this happens on our hosted Moodle site and at h5p.org, using all Web browsers.

falcon's picture

That is very strange. It seems you were unable to save the H5P so you can't link to it? Could you paste in the text that caused this error here?

 

tomaj's picture

When text is rendered by a computer, sometimes characters are displayed as “tofu”. They are little boxes to indicate your device doesn’t have a font to display the text.

@falcon It's not that uncommon that unsupported symbols makes a submit fail. The strings need to be cleaned before submitted. Or cleaned serverside for unsupported symbols.

It's a white box, which is created by Acrobat after performing OCR. Even if I put it here in this text box it throws a UE on H5P.org 

timothylim23's picture

Hi Rudler, I think that the quickest solution would be to 'clean' the text you are copying by pasting it into a program like Notepad or TextEdit before then pasting it into the editor. 

I concur.