Edit report at https://pear.php.net/bugs/bug.php?id=12733&edit=1
ID: 12733
Updated by: [email protected]
Reported By: [email protected]
Summary: Warning in error.html file with XML:DocBook:peardoc2
-Status: Verified
+Status: Wont fix
Type: Bug
Package: PhpDocumentor
Operating System: Mac OS X 10.4
Package Version: 1.4.1
PHP Version: 5.2.5
-Assigned To:
+Assigned To: ashnazg
-Roadmap Versions: 1.4.5
+Roadmap Versions:
New Comment:
-Status: Verified
+Status: Wont fix
-Assigned To:
+Assigned To: ashnazg
-Roadmap Versions: 1.4.5
+Roadmap Versions:
No more feature work on phpDocumentor 1.x. Check out the new
phpDocumentor 2.x (http://www.phpdoc.org/).
Previous Comments:
------------------------------------------------------------------------
[2011-11-30 22:29:26] ashnazg
-Roadmap Versions: 1.4.4
+Roadmap Versions: 1.4.5
------------------------------------------------------------------------
[2009-10-12 16:19:24] ashnazg
-Status: Open
+Status: Verified
------------------------------------------------------------------------
[2007-12-19 16:59:12] rudis
Description:
------------
Hi,
I'm using PhpDocumentor with XML:DocBook:peardoc2 with the following
option:
--output XML:DocBook/peardoc2:default
The problem is that the errors.html file contains the following errors:
Warning: Smarty error: unable to read resource: "header.tpl" in
/Library/WebServer/Documents/util/phpdocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php
on line 1144
Warning: Smarty error: unable to read resource: "footer.tpl" in
/Library/WebServer/Documents/util/phpdocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php
on line 1144
This happens because the "header.tpl" and "footer.tpl" files don't exist
in
phpDocumentor/Converters/XML/DocBook/peardoc2/templates/default/templates/.
To fix it they have to be added and then everything works fine.
Maybe errors.xml should be generated instead of errors.html with valid
XML code in it which can be easily parsed.
Thanks,
Simon
------------------------------------------------------------------------