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 #1012

web installation does not work as described in the ChangeLog

Details

Submitted2004-03-14 10:59 UTC
Fromchristian at wenz dot org
Assignedcellog
StatusClosed
PackagePhpDocumentor
PHP Version4.3.4
OSWindows XP
Roadmaps(Not assigned)

Comments

[2004-03-14 10:59 UTC] christian at wenz dot org

Description:
------------
the changelog for 1.3.0RC2 says:

--SNIP--
on Windows with default apache setup, it might be

C:\> pear config-set data_dir "C:\Program Files\Apache\htdocs\pear"

After this, install/upgrade phpDocumentor

$ pear upgrade phpDocumentor

and you can browse to:

http://localhost/pear/PhpDocumentor/

for the web interface
--SNIP--

however phpDocumentor tries to include a file "phpDocumentor/clone.inc.php". This results in the following error:

Warning: main(phpDocumentor/clone.inc.php): failed to open stream: No such file or directory in c:\php\pear\PhpDocumentor\phpDocumentor\common.inc.php on line 39

Reason: clone.inc.php resides in %PEAR_DIR%/PhpDocumentor/phpDocumentor

Setting include_path to ...;c:\php\pear\PhpDocumentor works.

I cannot say if this is just a documentation problem or if veen common.inc.php should be changed (I think it's rather a documentation thing).

Regards
Christian

Reproduce code:
---------------
C:\> pear config-set data_dir "C:\Program Files\Apache\htdocs\pear"

C:\> pear upgrade phpDocumentor

browse to: http://localhost:port/pear/PhpDocumentor/

Expected result:
----------------
start docBuilder without errors

Actual result:
--------------
error message, cannot find clone.inc.php