It has something to do with file permissions,
LO's are created weirdly when there are not enough file permissions in place.
those weirdly created LO's dont have all xmls created....
The standard 755/644 combo clearly does not cut it
Edit:
On publishing a new LO...
error;
appache logs show:
[Fri Apr 01 13:35:01.545724 2016] [:error] [pid 15725] [client 10.0.0.167:46674] PHP Notice: Use of undefined constant get_magic_quotes_gpc - assumed 'get_magic_quotes_gpc' in /var/www/html/moodle/xerte/editor/upload.php on line 42, referer: https://10.0.0.183/xerte/edithtml.php?template_id=61
[Fri Apr 01 13:35:03.831684 2016] [:error] [pid 15725] [client 10.0.0.167:46674] PHP Notice: Use of undefined constant get_magic_quotes_gpc - assumed 'get_magic_quotes_gpc' in /var/www/html/moodle/xerte/editor/upload.php on line 4
Edit 2:
Turn off ON magic qoutes
Edit 3:
upgrade to new php (5.6)
Edit 4:
Still have the error, which is stupid, since 'get magic quotes" is scrapped in my version
Edit 5:
scrapped this out of line 42 of editor.php
function_exists(get_magic_quotes_gpc) &&
leave the rest. It will work again.