Hi,
I'm usiing moodle 1.3.3
and having the following error restoring backups:
XML error: not well-formed (invalid token) at line 4923
removing the the following line from the xml file, makes the restore works
but I didn't find waht is wrong with that line....
Anybody can take a look on this line, the xml piece is attached
the 4923 line is the next line to ALLTEXT tag
Thanks
Hi Hamilton,
some similar issues have been posted here in the past:
http://moodle.org/mod/forum/discuss.php?d=8304
The root cause of them was the inclusion of some "strange" chars in different parts of the course. Such chars (or combination of them) can be converted to UTF-8 correctly by the backup so they cannot be converted from UTF-8 by the restore.
So, I think that you'll have to edit that text and avoid such chars...
Ciao
some similar issues have been posted here in the past:
http://moodle.org/mod/forum/discuss.php?d=8304
The root cause of them was the inclusion of some "strange" chars in different parts of the course. Such chars (or combination of them) can be converted to UTF-8 correctly by the backup so they cannot be converted from UTF-8 by the restore.
So, I think that you'll have to edit that text and avoid such chars...
Ciao
Eloy, thanks for the response,
But I believe that the point is not exactly avoid the characters ...
I can go in the HTML source and edit the char that I need, but I'm worry about some teachers that don't know html, and need for example to put in the doc the path of some file,
take a look at this example :
1. the user input
2. the result on the browser
3. editing the html
As you can see the back slashes went away ... is this a html editor problem, or I 'm doing something wrong ?
regards
But I believe that the point is not exactly avoid the characters ...
I can go in the HTML source and edit the char that I need, but I'm worry about some teachers that don't know html, and need for example to put in the doc the path of some file,
take a look at this example :
1. the user input
2. the result on the browser
3. editing the html
As you can see the back slashes went away ... is this a html editor problem, or I 'm doing something wrong ?
regards
Hi Hamilton,
sorry but I didn't see your 2nd post before answering you. I've make your test and everything seems to work fine in my server/browser/DB/OS combination!!
Perhaps, if you send here more details about your environment, somebody could test it.
Anyway, now that I understand (I hope ) your problem, I think that it has nothing to do with the backup/restore process (sure that it cannot convert that "negative bullet" char).
Now we've to analyse why your HTML editor is doing that!!
Ciao
sorry but I didn't see your 2nd post before answering you. I've make your test and everything seems to work fine in my server/browser/DB/OS combination!!
Perhaps, if you send here more details about your environment, somebody could test it.
Anyway, now that I understand (I hope ) your problem, I think that it has nothing to do with the backup/restore process (sure that it cannot convert that "negative bullet" char).
Now we've to analyse why your HTML editor is doing that!!
Ciao