Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loading file '/templates/html/index.xsl' failed. #112

Closed
georgbez opened this issue Oct 4, 2013 · 4 comments
Closed

loading file '/templates/html/index.xsl' failed. #112

georgbez opened this issue Oct 4, 2013 · 4 comments

Comments

@georgbez
Copy link

georgbez commented Oct 4, 2013

[04.10.2013 - 11:56:51] Starting generator

Oups... phpDox encountered a problem and has terminated!
It most likely means you've found a bug, so please file a report for this and paste the stacktrace (if given) along!

Exception: TheSeer\fDOM\fDOMException
Location: phar://C:/xampp/php/phpdox.phar/fDOMDocument-1.3.2/TheSeer/fDOMDocument/fDOMDocument.php (Line 137)

loading file '/templates/html/index.xsl' failed.

[XML-STRING] [Line: 0 - Column: 0] Warning 1549: failed to load external entity "file:///C:/templates/html/index.xsl"
#0 phar://C:/xampp/php/phpdox.phar/phpdox/generator/engine/html/Html.php(80): TheSeer\phpDox\Generator\Engine\AbstractEngine->getXSLTProcess

or()
#1 phar://C:/xampp/php/phpdox.phar/phpdox/generator/engine/html/Html.php(94): TheSeer\phpDox\Generator\Engine\Html->getXSLTProcessor()
#2 phar://C:/xampp/php/phpdox.phar/phpdox/generator/engine/html/Html.php(76): TheSeer\phpDox\Generator\Engine\Html->buildStart()
#3 phar://C:/xampp/php/phpdox.phar/phpdox/generator/Generator.php(151): TheSeer\phpDox\Generator\Engine\Html->handle()
#4 phar://C:/xampp/php/phpdox.phar/phpdox/generator/Generator.php(133): TheSeer\phpDox\Generator\Generator->triggerEvent()
#5 phar://C:/xampp/php/phpdox.phar/phpdox/Application.php(182): TheSeer\phpDox\Generator\Generator->run()
#6 phar://C:/xampp/php/phpdox.phar/phpdox/CLI.php(136): TheSeer\phpDox\Application->runGenerator()
#7 C:\xampp\php\phpdox.phar(406): TheSeer\phpDox\CLI->run()

@chernjie
Copy link

I have the same issue on Ubuntu. I suspect it might have something to do with some misconfiguration on my phpdox.xml file.

                ${phpDox.home}            Directory of the phpDox installation
                <template dir="${phpDox.home}/templates/html" />

@theseer
Copy link
Owner

theseer commented Oct 23, 2013

@chernjie: That's most probably a problem with resolving ${phpDox.home}.
When using phpDox as phar, this is the known issue #105 that has been fixed in git.

@chernjie
Copy link

Thanks @theseer. I think this issue can be closed now :+1

@theseer
Copy link
Owner

theseer commented Dec 8, 2013

This problem should be fixed in the 0.6 release.
Please reopen / comment on this issue in case it re-appears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants