Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #18994 > unrolled thread

phpdoc not work

Started byFlash <new@flash.foto>
First post2022-06-29 16:55 +0200
Last post2022-07-03 16:02 +0200
Articles 14 — 5 participants

Back to article view | Back to comp.lang.php


Contents

  phpdoc not work Flash <new@flash.foto> - 2022-06-29 16:55 +0200
    Re: phpdoc not work Angel <he12091983@gmail.com> - 2022-06-29 09:40 -0700
      Re: phpdoc not work Flash <new@flash.foto> - 2022-06-29 20:01 +0200
      Re: phpdoc not work Flash <new@flash.foto> - 2022-07-01 18:51 +0200
    Re: phpdoc not work De ongekruisigde <ongekruisigde@news.eternal-september.org> - 2022-06-29 18:04 +0000
      Re: phpdoc not work Flash <new@flash.foto> - 2022-06-30 09:02 +0200
      Re: phpdoc not work Arno Welzel <usenet@arnowelzel.de> - 2022-06-30 10:43 +0200
    Re: phpdoc not work Arno Welzel <usenet@arnowelzel.de> - 2022-06-30 10:43 +0200
      Re: phpdoc not work SupaPlex <old@gamer.s> - 2022-06-30 15:36 +0200
        Re: phpdoc not work Arno Welzel <usenet@arnowelzel.de> - 2022-07-02 02:16 +0200
          Re: phpdoc not work SupaPlex <old@gamer.s> - 2022-07-02 19:42 +0200
            Re: phpdoc not work Arno Welzel <usenet@arnowelzel.de> - 2022-07-03 12:44 +0200
              Re: phpdoc not work SupaPlex <old@gamer.s> - 2022-07-03 14:25 +0200
                Re: phpdoc not work Arno Welzel <usenet@arnowelzel.de> - 2022-07-03 16:02 +0200

#18994 — phpdoc not work

FromFlash <new@flash.foto>
Date2022-06-29 16:55 +0200
Subjectphpdoc not work
Message-ID<t9hp4q$gd2$1@gioia.aioe.org>
$ 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?

[toc] | [next] | [standalone]


#18995

FromAngel <he12091983@gmail.com>
Date2022-06-29 09:40 -0700
Message-ID<2e0d1e0f-5684-439a-8ae6-cb7f115d3b09n@googlegroups.com>
In reply to#18994
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?

[toc] | [prev] | [next] | [standalone]


#19001

FromFlash <new@flash.foto>
Date2022-06-29 20:01 +0200
Message-ID<t9i412$1unl$1@gioia.aioe.org>
In reply to#18995
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

[toc] | [prev] | [next] | [standalone]


#19025

FromFlash <new@flash.foto>
Date2022-07-01 18:51 +0200
Message-ID<t9n8n6$i4d$2@gioia.aioe.org>
In reply to#18995
Il 29/06/22 18:40, Angel ha scritto:
> I don't know, I haven't used it m

and what do you use?

[toc] | [prev] | [next] | [standalone]


#19002

FromDe ongekruisigde <ongekruisigde@news.eternal-september.org>
Date2022-06-29 18:04 +0000
Message-ID<t9i48b$1gf0l$1@dont-email.me>
In reply to#18994
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]

[toc] | [prev] | [next] | [standalone]


#19003

FromFlash <new@flash.foto>
Date2022-06-30 09:02 +0200
Message-ID<t9jhq0$1i12$1@gioia.aioe.org>
In reply to#19002
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

[toc] | [prev] | [next] | [standalone]


#19006

FromArno Welzel <usenet@arnowelzel.de>
Date2022-06-30 10:43 +0200
Message-ID<ji5626Fb9k0U3@mid.individual.net>
In reply to#19002
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

[toc] | [prev] | [next] | [standalone]


#19005

FromArno Welzel <usenet@arnowelzel.de>
Date2022-06-30 10:43 +0200
Message-ID<ji561aFb9k0U2@mid.individual.net>
In reply to#18994
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




-- 
Arno Welzel
https://arnowelzel.de

[toc] | [prev] | [next] | [standalone]


#19010

FromSupaPlex <old@gamer.s>
Date2022-06-30 15:36 +0200
Message-ID<t9k8tb$1ul$1@gioia.aioe.org>
In reply to#19005
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

[toc] | [prev] | [next] | [standalone]


#19027

FromArno Welzel <usenet@arnowelzel.de>
Date2022-07-02 02:16 +0200
Message-ID<ji9h3qF1lkbU1@mid.individual.net>
In reply to#19010
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

[toc] | [prev] | [next] | [standalone]


#19029

FromSupaPlex <old@gamer.s>
Date2022-07-02 19:42 +0200
Message-ID<t9q026$17l7$2@gioia.aioe.org>
In reply to#19027
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

[toc] | [prev] | [next] | [standalone]


#19031

FromArno Welzel <usenet@arnowelzel.de>
Date2022-07-03 12:44 +0200
Message-ID<jida7vFi399U1@mid.individual.net>
In reply to#19029
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

[toc] | [prev] | [next] | [standalone]


#19032

FromSupaPlex <old@gamer.s>
Date2022-07-03 14:25 +0200
Message-ID<t9s1r6$6p2$1@gioia.aioe.org>
In reply to#19031
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

[toc] | [prev] | [next] | [standalone]


#19033

FromArno Welzel <usenet@arnowelzel.de>
Date2022-07-03 16:02 +0200
Message-ID<jidlr5Fjn8kU1@mid.individual.net>
In reply to#19032
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web