Search code examples
phpdocblox

DocBlox Configuration: The given template default could not be found or is not readable


I have installed the latest 0.18.1 DocBlox on Ubuntu 11.10 using PEAR. Everything seems to work fine if I specify everything on the command line. However, using the docblox alone will not find the docblox.xml in the current directory. Specifying the doxblox -c (or --config) ./docblox.xml does not work either. I have verified permissions and that the file exists.

I have a directory Testing with some simple files for testing.

/home/Testing$ docblox --config ./docblox.xml    
DocBlox version 0.18.1    

ERROR: The given template default could not be found or is not readable    

/home/Testing$ ls -l    
total 20    
-rw-rw-rw- 1 dev      dev       992 2012-01-17  12:03  docblox.xml    
-rw-rw-rw- 1 dev      dev       107 2012-01-17  11:59  index.php    
-rw-rw-rw- 1 dev      dev       769 2012-01-17  12:01  SOME_CLASS.class    
-rw-rw-rw- 1 dev      dev      1335 2012-01-17  12:02  SOME_CLASS.class.test    

Solution

  • The default template was until version 0.18.0 the de-facto template and has been renamed to new_black in version 0.18. Perhaps you directly mention the default template in your own configuration?

    try to install the new_black template and either omit the template name in your configuration or define new_black.