phpdocumentor doesn't work

Problems with the Windows version of XAMPP, questions, comments, and anything related.

phpdocumentor doesn't work

Postby miau » 14. May 2009 02:58

PhpDocumentor(phpdoc.bat) falis with an error below.
Parsing configuration file phpDocumentor.ini...
(found in C:\php5\pear\data/PhpDocumentor/)...
ERROR: cannot open phpDocumentor.ini in directory D:/xampp/php/PEAR/PhpDocumentor


I looked into the problem and I found wrong path "C:\php5\pear\data" exists on files below. It must be replaced with "xampp\php\data".
    php\procwatch-lint
    php\PEAR\Console\CommandLine\XmlParser.php
    php\PEAR\docs\examples\example.php
    php\PEAR\phing\Phing.php
    php\PEAR\PHP\CompatInfo\Renderer\Html.php
    php\PEAR\PhpDocumentor\phpDocumentor\Converter.inc
    php\PEAR\PhpDocumentor\phpDocumentor\Setup.inc.php

And defenition below might be added in xampp\install\xamppbasic.inc.
Code: Select all
$backslashrootreal[] = "$partwampp\php\\procwatch-lint
$backslashrootreal[] = "$partwampp\php\PEAR\phing\\Phing.php
$backslashrootreal[] = "$partwampp\php\PEAR\PHP\CompatInfo\Renderer\\Html.php


Furthermore phpDocumentor.ini is missing. The file should be included as php\data\PhpDocumentor\phpDocumentor.ini.
miau
 
Posts: 2
Joined: 14. May 2009 02:36

Re: phpdocumentor doesn't work

Postby miau » 14. May 2009 05:15

Moreover, I found wrong path "C:\php\pear" exists on files below. It must be replaced with "xampp\php\PEAR".
    php\PEAR\PhpDocumentor\phpDocumentor\IntermediateParser.inc
    php\PEAR\PhpDocumentor\phpDocumentor\common.inc.php
miau
 
Posts: 2
Joined: 14. May 2009 02:36


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 50 guests