Posts Tagged ‘moodle’

0

Moodle & libxml2

Thursday, September 30, 2010
posted by otioti

This is too weird, but when I tried to restore a course from backup, all HTML tags was broken. I thought it was related to PHP and XML but I could never think it was caused of libxml2 version. I had installed libxml2-2.7.3, so to resolv this problem you just have to uninstall this version and install the recommended versions: 2.6.32 or 2.7.0.

If you have an old system, in Gentoo would be:

echo “>=dev-libs/libxml2-2.7.1″ >> /etc/portage/package.mask
emerge -av libxml2

If you have a newly fashioned portage:

emerge -av ‘=dev-libs/libxml2-2.7.6′

See: http://docs.moodle.org/en/Backup_FAQ#Restoring_a_course_results_in_broken_HTML_tags._What_can_I_do.3F