FAQ
Edit report at https://pear.php.net/bugs/bug.php?id=20442&edit=1

  ID: 20442
  Updated by: joel.aldor@gmail.com
  Reported By: joel dot aldor@gmail.com
  Summary: Fatal Error: Cannot find XML definition file when
  Status: Open
  Type: Bug
  Package: PHP_UML
  Operating System: Windows 8.1
  Package Version: 1.6.1
  PHP Version: 5.5.11
  Roadmap Versions:
  New Comment:

Hi Baptiste,

Was able to uninstall and reinstall PHPUML. Installation now looks OK,
as far as typing "phpuml -
h" is concerned. However I now get this error message whenever I type
the phpuml command.

Warning:
file_get_contents(C:\Users\User\Desktop\ezibills_web\app\controllers\co
re\..): failed to open stream: Permission denied in
C:\xampp\php\pear\PHP\UML\In
put\PHP\ParserImpl.php on line 182

Warning: XSLTProcessor::importStylesheet(): compilation error: file
file:///C:/x
ampp/php/pear/PHP/UML/Output/Html/documentation-common.xsl line 93
element attri
bute in C:\xampp\php\pear\PHP\UML\Output\ExporterXSL.php on line 194

Warning: XSLTProcessor::importStylesheet(): xsl:attribute: The attribute
name 'x
mlns' is not allowed. in
C:\xampp\php\pear\PHP\UML\Output\ExporterXSL.php on lin
e 194

Warning: XSLTProcessor::transformToDoc(): No stylesheet associated to
this objec
t in C:\xampp\php\pear\PHP\UML\Output\ExporterXSL.php on line 201

Any help from you? Merci!

Joel


Previous Comments:
------------------------------------------------------------------------

[2014-11-20 10:24:36] baptiste

PHP_UML delegates its CLI management to another PEAR package:
Console_CommandLine
From your error message, it seems that a class of this package can't
find a file. Maybe your current install of Console_CommandLine is
corrupted.
Which version of Console_CommandLine is currently installed in your
repo?

You may try to uninstall completely PHP_UML as well as
Console_CommandLine, and then reinstall PHP_UML : PEAR should then
automatically reinstall Console_CommandLine at the same time.

------------------------------------------------------------------------

[2014-11-20 06:53:32] joelaldor

Description:
------------
I get this error mesasge when I try to enter parsing commands to convert

PHP to XMI:

Fatal error: XML definition file
"C:\xampp\php\pear\Console\CommandLine\..\..\da
ta\xmlschema.rng" does not exists or is not readable in
C:\xampp\php\pear\Consol
e\CommandLine.php on line 843

------------------------------------------------------------------------

Search Discussions

  • Ohlesbeauxjours at Nov 24, 2014 at 9:01 pm
    Edit report at https://pear.php.net/bugs/bug.php?id=20442&edit=1

      ID: 20442
      Updated by: ohlesbeauxjours@yahoo.fr
      Reported By: joel dot aldor@gmail.com
      Summary: Fatal Error: Cannot find XML definition file when
      Status: Open
      Type: Bug
      Package: PHP_UML
      Operating System: Windows 8.1
      Package Version: 1.6.1
      PHP Version: 5.5.11
      Roadmap Versions:
      New Comment:

    The first warning says that PHP_UML has not enough permission to read
    your input file.
    Solution: just modify the security settings of the file you want to
    analyse (under Windows 7 and later versions, this typically happens with
    the files located under the user directory, C:\Users\...)

    The second warning is more annoying, as it seems to suggest that the
    XSLT PHP extension no longer accepts a particular code it used to
    accept. I'll have to look at it further, but cannot in a short term.
    Quick fix if you can't wait: simply delete the line 93 in
    .../pear/PHP/UML/Output/Html/documentation-common.xsl. It should do the
    trick, though I can't promise.

    The third warning is a consequence of the second.


    Previous Comments:
    ------------------------------------------------------------------------

    [2014-11-24 08:22:37] joelaldor

    Hi Baptiste,

    Was able to uninstall and reinstall PHPUML. Installation now looks OK,
    as far as typing "phpuml -
    h" is concerned. However I now get this error message whenever I type
    the phpuml command.

    Warning:
    file_get_contents(C:\Users\User\Desktop\ezibills_web\app\controllers\co
    re\..): failed to open stream: Permission denied in
    C:\xampp\php\pear\PHP\UML\In
    put\PHP\ParserImpl.php on line 182

    Warning: XSLTProcessor::importStylesheet(): compilation error: file
    file:///C:/x
    ampp/php/pear/PHP/UML/Output/Html/documentation-common.xsl line 93
    element attri
    bute in C:\xampp\php\pear\PHP\UML\Output\ExporterXSL.php on line 194

    Warning: XSLTProcessor::importStylesheet(): xsl:attribute: The attribute
    name 'x
    mlns' is not allowed. in
    C:\xampp\php\pear\PHP\UML\Output\ExporterXSL.php on lin
    e 194

    Warning: XSLTProcessor::transformToDoc(): No stylesheet associated to
    this objec
    t in C:\xampp\php\pear\PHP\UML\Output\ExporterXSL.php on line 201

    Any help from you? Merci!

    Joel

    ------------------------------------------------------------------------

    [2014-11-20 10:24:36] baptiste

    PHP_UML delegates its CLI management to another PEAR package:
    Console_CommandLine
    From your error message, it seems that a class of this package can't
    find a file. Maybe your current install of Console_CommandLine is
    corrupted.
    Which version of Console_CommandLine is currently installed in your
    repo?

    You may try to uninstall completely PHP_UML as well as
    Console_CommandLine, and then reinstall PHP_UML : PEAR should then
    automatically reinstall Console_CommandLine at the same time.

    ------------------------------------------------------------------------

    [2014-11-20 06:53:32] joelaldor

    Description:
    ------------
    I get this error mesasge when I try to enter parsing commands to convert

    PHP to XMI:

    Fatal error: XML definition file
    "C:\xampp\php\pear\Console\CommandLine\..\..\da
    ta\xmlschema.rng" does not exists or is not readable in
    C:\xampp\php\pear\Consol
    e\CommandLine.php on line 843

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedNov 24, '14 at 7:18a
activeNov 24, '14 at 9:01p
posts2
users2
websitepear.php.net

2 users in discussion

Ohlesbeauxjours: 1 post Joel Aldor: 1 post

People

Translate

site design / logo © 2022 Grokbase