473,466 Members | 1,443 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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\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
0 1660

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jan van Mansum | last post by:
Hello group, I am trying to generate my API-documentation with PHPDocumentor (http://phpdocu.sourceforge.net/). It works nicely, only I don't understand the package-level documentation...
1
by: Oliver Grätz | last post by:
I am using phpDocumentor to generate documentation for my files. This worked without problems but today it told me "has no page-level DocBlock, use @package in the first DocBlock to create one" for...
0
by: alexander.stuckenholz | last post by:
Hello. I have two questions regarding the PHPDocumentor package: 1] Is it possible to add the html-output of phpdocumentor to existing output of the program? I have some pear packages and i'm...
4
by: R. Rajesh Jeba Anbiah | last post by:
If you're working in PHP 5 and used APD, phpDocumentor, PHPMailer & ADODB, you might be knowing that these projects are not maintained and the old codes are throwing bunch of errors in higher error...
2
by: mayankbpatel | last post by:
Has anyone gotten PhpDocumentor from http://www.phpdoc.org/ to work from the command line? I run it on the examples directory like it is described in the tutorial: phpdoc -t docs -f...
2
by: awebguynow | last post by:
Overall, I'm pleased with phpDocumentor, but I've only been using it a day, and I'm not getting exactly what I expected. I've read the FAQ, Tutorial and Manual briefly. I'm using WinXP PHP...
0
by: comp.lang.php | last post by:
I'm not having a good coding week. The following PHPDocumentor code displays wrong: /** * Class for alternatively handling sessions other than the {@link...
19
by: McKirahan | last post by:
I am working in two environments neither configuration of which I can change; one's my Web host the other a client. My Web host requires the use of the ".php5" extension to use PHP v5.1.4; where...
3
by: xhe | last post by:
I have just upgraded my php version form php4 to php5. and I met this problem, and don't know if you know the solution. My site was written in PHP4, and most parts can be running smoothly in PHP5,...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.