FAQ
Edit report at https://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: Verified
Type: Bug
Package: PhpDocumentor
Operating System: Mac OS X 10.4
Package Version: 1.4.1
PHP Version: 5.2.5
-Roadmap Versions: 1.4.4
+Roadmap Versions: 1.4.5
New Comment:

-Roadmap Versions: 1.4.4
+Roadmap Versions: 1.4.5



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

[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

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedNov 30, '11 at 9:29p
activeNov 30, '11 at 9:29p
posts1
users1
websitepear.php.net

1 user in discussion

Demon Gene: 1 post

People

Translate

site design / logo © 2022 Grokbase