I'm trying to install CDash at VPS. Usually it works great for a while after apache is restarted, but after few minutes it starts failing randomly with following errors:
Warning: XSLTProcessor::importStylesheet(): I/O warning : failed to load external entity "/cdash/footer.xsl" in /cdash/cdash/common.php on line 55
Warning: XSLTProcessor::importStylesheet(): compilation error: file /cdash/ line 4 element include in /cdash/cdash/common.php on line 55
Warning: XSLTProcessor::importStylesheet(): xsl:include : unable to load /cdash/footer.xsl in /cdash/cdash/common.php on line 55
Warning: XSLTProcessor::importStylesheet(): I/O warning : failed to load external entity "/cdash/local/footer.xsl" in /cdash/cdash/common.php on line 55
Warning: XSLTProcessor::importStylesheet(): compilation error: file /cdash/ line 5 element include in /cdash/cdash/common.php on line 55
Warning: XSLTProcessor::importStylesheet(): xsl:include : unable to load /cdash/local/footer.xsl in /cdash/cdash/common.php on line 55
Warning: XSLTProcessor::importStylesheet(): I/O warning : failed to load external entity "/cdash/headscripts.xsl" in /cdash/cdash/common.php on line 55
Warning: XSLTProcessor::importStylesheet(): compilation error: file /cdash/ line 6 element include in /cdash/cdash/common.php on line 55
Warning: XSLTProcessor::importStylesheet(): xsl:include : unable to load /cdash/headscripts.xsl in /cdash/cdash/common.php on line 55
Warning: XSLTProcessor::importStylesheet(): I/O warning : failed to load external entity "/cdash/local/headscripts.xsl" in /cdash/cdash/common.php on line 55
Warning: XSLTProcessor::importStylesheet(): compilation error: file /cdash/ line 7 element include in /cdash/cdash/common.php on line 55
Warning: XSLTProcessor::importStylesheet(): xsl:include : unable to load /cdash/local/headscripts.xsl in /cdash/cdash/common.php on line 55
Warning: XSLTProcessor::transformToXml(): No stylesheet associated to this object in /cdash/cdash/common.php on line 65
I'm using Ubuntu Server 13.10. I've tried CDash 2.0.2 and latest version from svn trunk with the same result.
Best Answer
I solved that by adding
libxml_disable_entity_loader(false);
at the beginning ofcdash/common.php
file. Inspired by https://stackoverflow.com/questions/20534866/intermittent-simplexml-load-file-i-o-warning-on-local-joomla-site