• phpdoc not work

    From Flash@21:1/5 to All on Wed Jun 29 16:55:22 2022
    $ php ~/Scaricati/phpDocumentor.phar --version

    Fatal error: Uncaught RuntimeException: Unable to find vendor directory
    for phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor in phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor/AutoloaderLocator.php
    on line 75

    RuntimeException: Unable to find vendor directory for phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor in phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor/AutoloaderLocator.php
    on line 75

    Why?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Angel@21:1/5 to All on Wed Jun 29 09:40:44 2022
    I don't know, I haven't used it much.
    Maybe You accidently deleted a directory ?



    Flash kirjutas Kolmapäev, 29. juuni 2022 kl 16:55:30 UTC+2:
    $ php ~/Scaricati/phpDocumentor.phar --version

    Fatal error: Uncaught RuntimeException: Unable to find vendor directory
    for phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor in phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor/AutoloaderLocator.php
    on line 75

    RuntimeException: Unable to find vendor directory for phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor in phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor/AutoloaderLocator.php
    on line 75

    Why?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From De ongekruisigde@21:1/5 to Flash on Wed Jun 29 18:04:59 2022
    On 2022-06-29, Flash <new@flash.foto> wrote:
    $ php ~/Scaricati/phpDocumentor.phar --version

    Fatal error: Uncaught RuntimeException: Unable to find vendor directory
    for phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor in phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor/AutoloaderLocator.php
    on line 75

    RuntimeException: Unable to find vendor directory for phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor in phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor/AutoloaderLocator.php
    on line 75

    Why?

    Because PHP is CRAP! That said, try uninstalling, reinstalling,
    installing, via instructions here:

    https://docs.phpdoc.org/guide/getting-started/installing.html

    --
    Without followers, evil cannot spread.
    [Spock, "And The Children Shall Lead", stardate 5029.5]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Flash@21:1/5 to All on Wed Jun 29 20:01:06 2022
    Il 29/06/22 18:40, Angel ha scritto:
    I don't know, I haven't used it much.
    Maybe You accidently deleted a directory ?

    no

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Flash@21:1/5 to All on Thu Jun 30 09:02:24 2022
    Il 29/06/22 20:04, De ongekruisigde ha scritto:
    On 2022-06-29, Flash <new@flash.foto> wrote:
    $ php ~/Scaricati/phpDocumentor.phar --version

    Fatal error: Uncaught RuntimeException: Unable to find vendor directory
    for phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor in
    phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor/AutoloaderLocator.php
    on line 75

    RuntimeException: Unable to find vendor directory for
    phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor in
    phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor/AutoloaderLocator.php
    on line 75

    Why?

    Because PHP is CRAP! That said, try uninstalling, reinstalling,
    installing, via instructions here:

    https://docs.phpdoc.org/guide/getting-started/installing.html


    Reinstalling php or phpdoc?
    My php version is 7.4.3

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arno Welzel@21:1/5 to All on Thu Jun 30 10:43:50 2022
    De ongekruisigde:

    On 2022-06-29, Flash <new@flash.foto> wrote:
    $ php ~/Scaricati/phpDocumentor.phar --version

    Fatal error: Uncaught RuntimeException: Unable to find vendor directory
    for phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor in
    phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor/AutoloaderLocator.php
    on line 75

    RuntimeException: Unable to find vendor directory for
    phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor in
    phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor/AutoloaderLocator.php
    on line 75

    Why?

    Because PHP is CRAP! That said, try uninstalling, reinstalling,
    installing, via instructions here:

    https://docs.phpdoc.org/guide/getting-started/installing.html

    If you believe that PHP is crap, why do you participate here?



    --
    Arno Welzel
    https://arnowelzel.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From SupaPlex@21:1/5 to All on Thu Jun 30 15:36:43 2022
    Il 30/06/22 10:43, Arno Welzel ha scritto:
    Flash:

    $ php ~/Scaricati/phpDocumentor.phar --version

    Fatal error: Uncaught RuntimeException: Unable to find vendor directory
    for phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor in
    phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor/AutoloaderLocator.php
    on line 75

    RuntimeException: Unable to find vendor directory for
    phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor in
    phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor/AutoloaderLocator.php
    on line 75

    Why?

    Works for me:

    1) Download phar from <https://docs.phpdoc.org/guide/getting-started/installing.html> (<https://phpdoc.org/phpDocumentor.phar>)

    2) Make it executable

    chmod +x phpDocumentor.phar

    3) Test it

    ./phpDocumentor.phar --version

    Result:

    phpDocumentor v3.3.1






    Fatal error: Uncaught RuntimeException: Unable to find vendor directory
    for phar:///src/phpDocumentor in phar:///src/phpDocumentor/AutoloaderLocator.php on line 75

    RuntimeException: Unable to find vendor directory for
    phar:///src/phpDocumentor in
    phar:///src/phpDocumentor/AutoloaderLocator.php on line 75

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Flash@21:1/5 to All on Fri Jul 1 18:51:50 2022
    Il 29/06/22 18:40, Angel ha scritto:
    I don't know, I haven't used it m

    and what do you use?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arno Welzel@21:1/5 to All on Sat Jul 2 02:16:58 2022
    SupaPlex:

    Il 30/06/22 10:43, Arno Welzel ha scritto:
    [...]
    Works for me:

    1) Download phar from
    <https://docs.phpdoc.org/guide/getting-started/installing.html>
    (<https://phpdoc.org/phpDocumentor.phar>)

    2) Make it executable

    chmod +x phpDocumentor.phar

    3) Test it

    ./phpDocumentor.phar --version

    Result:

    phpDocumentor v3.3.1


    Fatal error: Uncaught RuntimeException: Unable to find vendor directory
    for phar:///src/phpDocumentor in phar:///src/phpDocumentor/AutoloaderLocator.php on line 75

    RuntimeException: Unable to find vendor directory for phar:///src/phpDocumentor in
    phar:///src/phpDocumentor/AutoloaderLocator.php on line 75


    What operating system do you use? What PHP version?


    --
    Arno Welzel
    https://arnowelzel.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From SupaPlex@21:1/5 to All on Sat Jul 2 19:42:30 2022
    Il 02/07/22 02:16, Arno Welzel ha scritto:
    What operating system do you use? What PHP version?

    Ubuntu 20.04.4 LTS
    PHP 7.4.3

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arno Welzel@21:1/5 to All on Sun Jul 3 12:44:15 2022
    SupaPlex:

    Il 02/07/22 02:16, Arno Welzel ha scritto:
    What operating system do you use? What PHP version?

    Ubuntu 20.04.4 LTS
    PHP 7.4.3

    Hmmm - strange. I tested it also with Ubuntu 20.04.4 LTS and PHP 7.4.30:

    $ lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 20.04.4 LTS
    Release: 20.04
    Codename: focal

    $ php -v
    PHP 7.4.30 (cli) (built: Jun 10 2022 13:33:17) ( NTS )
    Copyright (c) The PHP Group
    Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.30, Copyright (c), by Zend Technologies
    with Xdebug v3.1.2, Copyright (c) 2002-2021, by Derick Rethans

    $ ./phpDocumentor.phar --version
    phpDocumentor v3.3.1

    But it also works with PHP 8.1:

    ~$ php8.1 -v
    PHP 8.1.7 (cli) (built: Jun 10 2022 12:22:48) (NTS)
    Copyright (c) The PHP Group
    Zend Engine v4.1.7, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.7, Copyright (c), by Zend Technologies
    with Xdebug v3.1.2, Copyright (c) 2002-2021, by Derick Rethans

    $ php8.1 phpDocumentor.phar --version
    phpDocumentor v3.3.1

    So I have no clue what's wrong with your system. I can only assume that
    some PHP extension may missing. The extensions available here are:

    amqp
    bz2
    calendar
    ctype
    curl
    dom
    exif
    ffi
    fileinfo
    ftp
    gd
    gettext
    iconv
    imap
    intl
    json
    ldap
    mbstring
    mysqli
    mysqlnd
    opcache
    pdo
    pdo_mysql
    pdo_sqlite
    phar
    posix
    readline
    shmop
    simplexml
    sockets
    sqlite3
    sysvmsg
    sysvsem
    sysvshm
    tokenizer
    xdebug
    xml
    xmlreader
    xmlwriter
    xsl
    zip



    --
    Arno Welzel
    https://arnowelzel.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From SupaPlex@21:1/5 to All on Sun Jul 3 14:25:10 2022
    Il 03/07/22 12:44, Arno Welzel ha scritto:
    ...

    $ php -mi
    [PHP Modules]
    calendar
    Core
    ctype
    date
    dom
    exif
    FFI
    fileinfo
    filter
    ftp
    gettext
    gnupg
    hash
    iconv
    imap
    json
    libxml
    mbstring
    openssl
    pcntl
    pcre
    PDO
    Phar
    posix
    readline
    Reflection
    session
    shmop
    SimpleXML
    sockets
    sodium
    SPL
    standard
    sysvmsg
    sysvsem
    sysvshm
    tokenizer
    xdebug
    xml
    xmlreader
    xmlwriter
    xsl
    yaml
    Zend OPcache
    zlib

    [Zend Modules]
    Xdebug
    Zend OPcache

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arno Welzel@21:1/5 to All on Sun Jul 3 16:02:13 2022
    SupaPlex:

    Il 03/07/22 12:44, Arno Welzel ha scritto:
    ...

    $ php -mi
    [PHP Modules]
    [...]
    pcntl
    pcre
    PDO
    Phar
    [...]

    Hmm - sorry, no idea what the problem is.



    --
    Arno Welzel
    https://arnowelzel.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)