FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=12733&edit=1

ID: 12733
Updated by: demon.gene@gmail.com
Reported By: simon at ruderich dot com
Summary: Warning in error.html file with XML:DocBook:peardoc2
-Status: Open
+Status: Verified
Type: Bug
Package: PhpDocumentor
Operating System: Mac OS X 10.4
Package Version: 1.4.1
PHP Version: 5.2.5
Roadmap Versions:
New Comment:

-Status: Open
+Status: Verified



Previous Comments:
------------------------------------------------------------------------

[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

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedOct 12, '09 at 2:19p
activeOct 12, '09 at 2:19p
posts1
users1
websitepear.php.net

1 user in discussion

Demon Gene: 1 post

People

Translate

site design / logo © 2022 Grokbase