By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,857 Members | 1,768 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,857 IT Pros & Developers. It's quick & easy.

phpdocumentor under php5 error!

P: n/a
I have just installed phpdocumentor on using:

pear.bat install phpdocumentor-beta

to suitable my php version.

Then i create a test file "test.php" to have a trial.
But the result is:
E:\yarco\workshop\web\php>phpdoc.bat -f test.php -pp on -s on -o
HTML:frames:default -t test
PHP Warning: main(PhpDocumentor/phpDocumentor/phpdoc.inc): failed to
open stream: No such file or directory in
D:\unix\usr\local\lib\PEAR\phpdoc on line 39

So, i add:
chdir('D:\unix\usr\local\lib\PEAR\pear');
into phpdoc.

I run:
E:\yarco\workshop\web\php>phpdoc.bat -f test.php -pp on -s on -o
HTML:frames:default -t E:\yarco\workshop\web\php\test

But get the following errors:
PHP Version 5.1.0RC1
phpDocumentor version 1.3.0RC3

Parsing configuration file phpDocumentor.ini...
done
using tokenizer Parser

Notice: Undefined variable: masterPath in
D:\unix\usr\local\lib\PEAR\pear\PhpDocumentor\phpD ocumentor\Io.inc on
line 391

Grabbing README/INSTALL/CHANGELOG

done

Tutorial/Extended Documentation Parsing Stage

done

General Parsing Stage

done

Converting From Abstract Parsed Data

Processing Class Inheritance

Processing Root Trees

Processing leftover classes (classes that extend root classes not found
in the same package)
done processing leftover classes

Processing Procedural Page Element Name Conflicts

Sorting page elements...done
Formatting @uses list...done

Fatal error: Only variables can be passed by reference in
D:\unix\usr\local\lib\PEAR\pear\PhpDocumentor\phpD ocumentor\Io.inc on
line 472
PHP Notice: Undefined variable: masterPath in
D:\unix\usr\local\lib\PEAR\pear\P
hpDocumentor\phpDocumentor\Io.inc on line 391
PHP Fatal error: Only variables can be passed by reference in
D:\unix\usr\local
\lib\PEAR\pear\PhpDocumentor\phpDocumentor\Io.inc on line 472

Anyone who can help me?

Oct 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.