Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0a1

Bug #9250 --templatebase does not function as expected
Submitted: 2006-11-07 03:50 UTC
From: selkirk Assigned: ashnazg
Status: No Feedback Package: PhpDocumentor (version 1.3.1)
PHP Version: 5.1.2 OS: Mac OS X
Roadmaps: (Not assigned)    

 [2006-11-07 03:50 UTC] selkirk (Jeff Moore)
Description: ------------ --templatebase does not work as expected. Setting a directory with --templatebase makes phpDocumentor look for inside the --templatebase directory. If you move it there, then phpDocumentor looks for the template files inside / usr/lib/php/data instead of --templatebase, as one would expect. It seems like no possible value for --templatebase can be valid, except to omit it. (at least with the Smarty Converter.) Test script: --------------- phpdoc ... --output "HTML:Smarty:default" --templatebase /usr/lib/php/data/PhpDocumentor/phpDocumentor/Converters Expected result: ---------------- Build using the default template with the smarty converter. Actual result: -------------- ERROR: Converter HTMLSmartyConverter specified by --output command-line option is not a class ERROR: No Converters have been specified by -- output command-line option ERROR: No Converters have been specified by -- output command-line option


 [2006-11-29 22:06 UTC] ashnazg at users dot sourceforge dot net (Chuck Burgess)
If I'm reading the manual correctly (, then the -tb value you want to pass is "/usr/lib/php/data/PhpDocumentor/phpDocumentor", without the "/Converters" subdirectory piece. Can you retry it that way and post the results?
 [2006-12-27 22:16 UTC] ashnazg at php dot net (Chuck Burgess)
This report sounds a lot like Sourceforge #1551631. I'm unable to reproduce a failure using -tb on my v1.3.1 installation. selkirk, are you able to try my suggestion from 11/29 regarding the -tb argument value you're using?
 [2006-12-28 02:54 UTC] selkirk
I will recheck in a few days.