Posted by Yarco on 10/18/05 09:28
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\phpDocumentor\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\phpDocumentor\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?
Navigation:
[Reply to this message]
|