ecampbell / moodle-atto_wordimport

Import Word file contents into Moodle Atto text box
2 stars 7 forks source link

Intermitent I/O Warning cause fail #12

Open collegemathieu opened 8 years ago

collegemathieu commented 8 years ago

Good morning! First good job on this plugin. I added it last week and I am facing an intermitent issue and I hope you may be able to help.

For the same documents, sometime it will work the first time, other time not. When it does not work I have the following error in apache logs:

PHP Warning: DOMDocument::load(): I/O warning : failed to load external entity "/home/moodle/moodleData/temp/tempup_iYCAo\ 7.wml" in {Path to moodle install}/lib/editor/atto/plugins/wordimport/xslemulatexslt.inc on line 73,

When the problem occur, I refresh the page, sometimes once, sometime 3-4 times until it works. There is a javascript error linked with this. in:

http://...../theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1455137010/mcore-debug.js Could it be theme related? We are using Essential and it is up to date.

The actual error is:

Cannot read property 'parentNode' of null

Any pointer that may help?