PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Tools and Utilities » PhpDocumentor » Bug #7528

missconfiguration of app directories

Details

Submitted2006-04-30 17:39 UTC
Frommiguelangeldavila at prodigy dot net dot mx
StatusBogus
PackagePhpDocumentor
PHP Version5.1.2
OSUbuntu Linux 5.10
Roadmaps(Not assigned)

Comments

[2006-04-30 17:39 UTC] miguelangeldavila at prodigy dot net dot mx

Description:
------------
The program does not find directories assigned in some variables.

Case one:

in docbuilder/file_dialog.php line 50

The program tries to load a file with the variable $root_dir that is not declared (is declared after include_once calls)

Case two

Some Output styles does not work because this error:

Fatal error: Smarty error: unable to write to $compile_dir

I found this error when trying to use HTML:frames:DOM/earthli

Test script:
---------------
// docbuilder/file_dialog.php line 50
$root_dir = dirname(dirname(__FILE__));

/**
* common file information
*/
include_once("$root_dir/phpDocumentor/common.inc.php");
include_once("$root_dir/HTML_TreeMenu-1.1.2/TreeMenu.php");
include_once("$root_dir/docbuilder/includes/utilities.php" );

[2006-05-01 21:02 UTC] miguelangeldavila at prodigy dot net dot mx

Solved in CVS version 1.3.0RC6