You are here: phpdocumentor under php5 error! « PHP Programming Language « IT news, forums, messages
phpdocumentor under php5 error!

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация