phpdocumentor under php5 error!

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Yarco

    phpdocumentor under php5 error!

    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\worksh op\web\php>phpd oc.bat -f test.php -pp on -s on -o
    HTML:frames:def ault -t test
    PHP Warning: main(PhpDocumen tor/phpDocumentor/phpdoc.inc): failed to
    open stream: No such file or directory in
    D:\unix\usr\loc al\lib\PEAR\php doc on line 39

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

    I run:
    E:\yarco\worksh op\web\php>phpd oc.bat -f test.php -pp on -s on -o
    HTML:frames:def ault -t E:\yarco\worksh op\web\php\test

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

    Parsing configuration file phpDocumentor.i ni...
    done
    using tokenizer Parser

    Notice: Undefined variable: masterPath in
    D:\unix\usr\loc al\lib\PEAR\pea r\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\loc al\lib\PEAR\pea r\PhpDocumentor \phpDocumentor\ Io.inc on
    line 472
    PHP Notice: Undefined variable: masterPath in
    D:\unix\usr\loc al\lib\PEAR\pea r\P
    hpDocumentor\ph pDocumentor\Io. inc on line 391
    PHP Fatal error: Only variables can be passed by reference in
    D:\unix\usr\loc al
    \lib\PEAR\pear\ PhpDocumentor\p hpDocumentor\Io .inc on line 472

    Anyone who can help me?

Working...