huankong233 / HkList-laravel

https://wp.huankong.top
MIT License
110 stars 23 forks source link

如何安装? #37

Closed MoTeam-org closed 10 months ago

MoTeam-org commented 10 months ago

安装过程中遇到 Warning: require(/www/wwwroot/cdn.dupan.fun/public/../vendor/autoload.php): Failed to open stream: No such file or directory in /www/wwwroot/cdn.dupan.fun/public/index.php on line 34

Fatal error: Uncaught Error: Failed opening required '/www/wwwroot/cdn.dupan.fun/public/../vendor/autoload.php' (include_path='.:') in /www/wwwroot/cdn.dupan.fun/public/index.php:34 Stack trace: #0 {main} thrown in /www/wwwroot/cdn.dupan.fun/public/index.php on line 34

对应三十四排的require DIR.'/../vendor/autoload.php';查询并未发现文件

huankong233 commented 10 months ago

安装过程中遇到 Warning: require(/www/wwwroot/cdn.dupan.fun/public/../vendor/autoload.php): Failed to open stream: No such file or directory in /www/wwwroot/cdn.dupan.fun/public/index.php on line 34

Fatal error: Uncaught Error: Failed opening required '/www/wwwroot/cdn.dupan.fun/public/../vendor/autoload.php' (include_path='.:') in /www/wwwroot/cdn.dupan.fun/public/index.php:34 Stack trace: #0 {main} thrown in /www/wwwroot/cdn.dupan.fun/public/index.php on line 34

对应三十四排的require DIR.'/../vendor/autoload.php';查询并未发现文件

请先使用 composer 安装依赖,或采用 docker 方式安装

huankong233 commented 10 months ago

安装过程中遇到 Warning: require(/www/wwwroot/cdn.dupan.fun/public/../vendor/autoload.php): Failed to open stream: No such file or directory in /www/wwwroot/cdn.dupan.fun/public/index.php on line 34 Fatal error: Uncaught Error: Failed opening required '/www/wwwroot/cdn.dupan.fun/public/../vendor/autoload.php' (include_path='.:') in /www/wwwroot/cdn.dupan.fun/public/index.php:34 Stack trace: #0 {main} thrown in /www/wwwroot/cdn.dupan.fun/public/index.php on line 34 对应三十四排的require DIR.'/../vendor/autoload.php';查询并未发现文件

请先使用 composer 安装依赖,或采用 docker 方式安装

参考 独角数卡

MoTeam-org commented 10 months ago

安装过程中遇到 Warning: require(/www/wwwroot/cdn.dupan.fun/public/../vendor/autoload.php):无法打开流:第 34 行的 /www/wwwroot/cdn.dupan.fun/public/index.php 中没有这样的文件或目录 致命错误:未捕获错误:需要打开失败 '/www/wwwroot/cdn.dupan.fun/public/../www/wwwroot/cdn.dupan.fun/public/.php index:34 中的 /vendor/autoload.php' (include_path='.:') 堆栈跟踪:#0 {main} 在第 34 行的 /www/wwwroot/cdn.dupan.fun/public/.php index 中抛出 对应三十四排的require DIR.'/../供应商/autoload.php';查询并未发现文件

请先使用 安装依赖,或采用 方式安装composer``docker

数据库配置

DB_CONNECTION=mysql DB_HOST= DB_PORT= DB_DATABASE=/var/www/html/database/database.sqlite DB_USERNAME=pokis DB_PASSWORD=pokis

数据库的配置该咋输入呢?

huankong233 commented 10 months ago

安装过程中遇到 Warning: require(/www/wwwroot/cdn.dupan.fun/public/../vendor/autoload.php):无法打开流:第 34 行的 /www/wwwroot/cdn.dupan.fun/public/index.php 中没有这样的文件或目录 致命错误:未捕获错误:需要打开失败 '/www/wwwroot/cdn.dupan.fun/public/../www/wwwroot/cdn.dupan.fun/public/.php index:34 中的 /vendor/autoload.php' (include_path='.:') 堆栈跟踪:#0 {main} 在第 34 行的 /www/wwwroot/cdn.dupan.fun/public/.php index 中抛出 对应三十四排的require DIR.'/../供应商/autoload.php';查询并未发现文件

请先使用 安装依赖,或采用 方式安装composerdocker ``

数据库配置

DB_CONNECTION=mysql DB_HOST= DB_PORT= DB_DATABASE=/var/www/html/database/database.sqlite DB_USERNAME=pokis DB_PASSWORD=pokis

数据库的配置该咋输入呢?

可以采用 sqlitemysql 安装模式 不需要手动输入,安装完成后,直接进入有详细的配置界面

huankong233 commented 10 months ago

安装过程中遇到 Warning: require(/www/wwwroot/cdn.dupan.fun/public/../vendor/autoload.php):无法打开流:第 34 行的 /www/wwwroot/cdn.dupan.fun/public/index.php 中没有这样的文件或目录 致命错误:未捕获错误:需要打开失败 '/www/wwwroot/cdn.dupan.fun/public/../www/wwwroot/cdn.dupan.fun/public/.php index:34 中的 /vendor/autoload.php' (include_path='.:') 堆栈跟踪:#0 {main} 在第 34 行的 /www/wwwroot/cdn.dupan.fun/public/.php index 中抛出 对应三十四排的require DIR.'/../供应商/autoload.php';查询并未发现文件

请先使用 安装依赖,或采用 方式安装composerdocker ``

数据库配置

DB_CONNECTION=mysql DB_HOST= DB_PORT= DB_DATABASE=/var/www/html/database/database.sqlite DB_USERNAME=pokis DB_PASSWORD=pokis

数据库的配置该咋输入呢?

关于 94list 出现国内无法访问的问题可以查看此 pr 你的博客我没留言上

MoTeam-org commented 10 months ago

我使用此命令composer install显示 [root@iZj6c1yzdel4yruht476p3Z cdn.dupan.fun]# composer install Do not run Composer as root/super user! See https://getcomposer.org/root for details Continue as root/super user [yes]? y Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run composer update or composer update <package name>. Your lock file does not contain a compatible set of packages. Please run composer update.

Problem 1

huankong233 commented 10 months ago

我使用此命令composer install显示 [root@iZj6c1yzdel4yruht476p3Z cdn.dupan.fun]# composer install Do not run Composer as root/super user! See https://getcomposer.org/root for details Continue as root/super user [yes]? y Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run composer update or composer update <package name>. Your lock file does not contain a compatible set of packages. Please run composer update.

Problem 1 - Root composer.json requires php ^8.1 but your php version (7.3.31) does not satisfy that requirement. Problem 2 - brick/math is locked to version 0.11.0 and an update of this package was not requested. - brick/math 0.11.0 requires php ^8.0 -> your php version (7.3.31) does not satisfy that requirement. Problem 3 - doctrine/lexer is locked to version 3.0.0 and an update of this package was not requested. - doctrine/lexer 3.0.0 requires php ^8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 4 - egulias/email-validator is locked to version 4.0.1 and an update of this package was not requested. - egulias/email-validator 4.0.1 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 5 - fruitcake/php-cors is locked to version v1.2.0 and an update of this package was not requested. - fruitcake/php-cors v1.2.0 requires php ^7.4|^8.0 -> your php version (7.3.31) does not satisfy that requirement. Problem 6 - laravel/framework is locked to version v10.22.0 and an update of this package was not requested. - laravel/framework v10.22.0 requires composer-runtime-api ^2.2 -> found composer-runtime-api[2.0.0] but it does not match the constraint. Problem 7 - laravel/prompts is locked to version v0.1.6 and an update of this package was not requested. - laravel/prompts v0.1.6 requires php ^8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 8 - laravel/sanctum is locked to version v3.3.0 and an update of this package was not requested. - laravel/sanctum v3.3.0 requires php ^8.0.2 -> your php version (7.3.31) does not satisfy that requirement. Problem 9 - league/commonmark is locked to version 2.4.1 and an update of this package was not requested. - league/commonmark 2.4.1 requires php ^7.4 || ^8.0 -> your php version (7.3.31) does not satisfy that requirement. Problem 10 - league/config is locked to version v1.2.0 and an update of this package was not requested. - league/config v1.2.0 requires php ^7.4 || ^8.0 -> your php version (7.3.31) does not satisfy that requirement. Problem 11 - league/flysystem is locked to version 3.16.0 and an update of this package was not requested. - league/flysystem 3.16.0 requires php ^8.0.2 -> your php version (7.3.31) does not satisfy that requirement. Problem 12 - league/flysystem-local is locked to version 3.16.0 and an update of this package was not requested. - league/flysystem-local 3.16.0 requires php ^8.0.2 -> your php version (7.3.31) does not satisfy that requirement. Problem 13 - league/mime-type-detection is locked to version 1.13.0 and an update of this package was not requested. - league/mime-type-detection 1.13.0 requires php ^7.4 || ^8.0 -> your php version (7.3.31) does not satisfy that requirement. Problem 14 - monolog/monolog is locked to version 3.4.0 and an update of this package was not requested. - monolog/monolog 3.4.0 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 15 - nette/utils is locked to version v4.0.1 and an update of this package was not requested. - nette/utils v4.0.1 requires php >=8.0 <8.4 -> your php version (7.3.31) does not satisfy that requirement. Problem 16 - nunomaduro/termwind is locked to version v1.15.1 and an update of this package was not requested. - nunomaduro/termwind v1.15.1 requires php ^8.0 -> your php version (7.3.31) does not satisfy that requirement. Problem 17 - psr/container is locked to version 2.0.2 and an update of this package was not requested. - psr/container 2.0.2 requires php >=7.4.0 -> your php version (7.3.31) does not satisfy that requirement. Problem 18 - psr/log is locked to version 3.0.0 and an update of this package was not requested. - psr/log 3.0.0 requires php >=8.0.0 -> your php version (7.3.31) does not satisfy that requirement. Problem 19 - psr/simple-cache is locked to version 3.0.0 and an update of this package was not requested. - psr/simple-cache 3.0.0 requires php >=8.0.0 -> your php version (7.3.31) does not satisfy that requirement. Problem 20 - ramsey/collection is locked to version 2.0.0 and an update of this package was not requested. - ramsey/collection 2.0.0 requires php ^8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 21 - ramsey/uuid is locked to version 4.7.4 and an update of this package was not requested. - ramsey/uuid 4.7.4 requires php ^8.0 -> your php version (7.3.31) does not satisfy that requirement. Problem 22 - symfony/console is locked to version v6.3.4 and an update of this package was not requested. - symfony/console v6.3.4 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 23 - symfony/css-selector is locked to version v6.3.2 and an update of this package was not requested. - symfony/css-selector v6.3.2 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 24 - symfony/deprecation-contracts is locked to version v3.3.0 and an update of this package was not requested. - symfony/deprecation-contracts v3.3.0 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 25 - symfony/error-handler is locked to version v6.3.2 and an update of this package was not requested. - symfony/error-handler v6.3.2 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 26 - symfony/event-dispatcher is locked to version v6.3.2 and an update of this package was not requested. - symfony/event-dispatcher v6.3.2 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 27 - symfony/event-dispatcher-contracts is locked to version v3.3.0 and an update of this package was not requested. - symfony/event-dispatcher-contracts v3.3.0 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 28 - symfony/finder is locked to version v6.3.3 and an update of this package was not requested. - symfony/finder v6.3.3 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 29 - symfony/http-foundation is locked to version v6.3.4 and an update of this package was not requested. - symfony/http-foundation v6.3.4 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 30 - symfony/http-kernel is locked to version v6.3.4 and an update of this package was not requested. - symfony/http-kernel v6.3.4 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 31 - symfony/mailer is locked to version v6.3.0 and an update of this package was not requested. - symfony/mailer v6.3.0 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 32 - symfony/mime is locked to version v6.3.3 and an update of this package was not requested. - symfony/mime v6.3.3 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 33 - symfony/process is locked to version v6.3.4 and an update of this package was not requested. - symfony/process v6.3.4 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 34 - symfony/routing is locked to version v6.3.3 and an update of this package was not requested. - symfony/routing v6.3.3 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 35 - symfony/service-contracts is locked to version v3.3.0 and an update of this package was not requested. - symfony/service-contracts v3.3.0 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 36 - symfony/string is locked to version v6.3.2 and an update of this package was not requested. - symfony/string v6.3.2 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 37 - symfony/translation is locked to version v6.3.3 and an update of this package was not requested. - symfony/translation v6.3.3 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 38 - symfony/translation-contracts is locked to version v3.3.0 and an update of this package was not requested. - symfony/translation-contracts v3.3.0 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 39 - symfony/uid is locked to version v6.3.0 and an update of this package was not requested. - symfony/uid v6.3.0 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 40 - symfony/var-dumper is locked to version v6.3.4 and an update of this package was not requested. - symfony/var-dumper v6.3.4 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 41 - fakerphp/faker is locked to version v1.23.0 and an update of this package was not requested. - fakerphp/faker v1.23.0 requires php ^7.4 || ^8.0 -> your php version (7.3.31) does not satisfy that requirement. Problem 42 - laravel/pint is locked to version v1.13.1 and an update of this package was not requested. - laravel/pint v1.13.1 requires php ^8.1.0 -> your php version (7.3.31) does not satisfy that requirement. Problem 43 - laravel/sail is locked to version v1.24.1 and an update of this package was not requested. - laravel/sail v1.24.1 requires php ^8.0 -> your php version (7.3.31) does not satisfy that requirement. Problem 44 - nunomaduro/collision is locked to version v7.8.1 and an update of this package was not requested. - nunomaduro/collision v7.8.1 requires php ^8.1.0 -> your php version (7.3.31) does not satisfy that requirement. Problem 45 - phpunit/php-code-coverage is locked to version 10.1.4 and an update of this package was not requested. - phpunit/php-code-coverage 10.1.4 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 46 - phpunit/php-file-iterator is locked to version 4.1.0 and an update of this package was not requested. - phpunit/php-file-iterator 4.1.0 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 47 - phpunit/php-invoker is locked to version 4.0.0 and an update of this package was not requested. - phpunit/php-invoker 4.0.0 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 48 - phpunit/php-text-template is locked to version 3.0.1 and an update of this package was not requested. - phpunit/php-text-template 3.0.1 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 49 - phpunit/php-timer is locked to version 6.0.0 and an update of this package was not requested. - phpunit/php-timer 6.0.0 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 50 - phpunit/phpunit is locked to version 10.3.3 and an update of this package was not requested. - phpunit/phpunit 10.3.3 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 51 - sebastian/cli-parser is locked to version 2.0.0 and an update of this package was not requested. - sebastian/cli-parser 2.0.0 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 52 - sebastian/code-unit is locked to version 2.0.0 and an update of this package was not requested. - sebastian/code-unit 2.0.0 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 53 - sebastian/code-unit-reverse-lookup is locked to version 3.0.0 and an update of this package was not requested. - sebastian/code-unit-reverse-lookup 3.0.0 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 54 - sebastian/comparator is locked to version 5.0.1 and an update of this package was not requested. - sebastian/comparator 5.0.1 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 55 - sebastian/complexity is locked to version 3.0.1 and an update of this package was not requested. - sebastian/complexity 3.0.1 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 56 - sebastian/diff is locked to version 5.0.3 and an update of this package was not requested. - sebastian/diff 5.0.3 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 57 - sebastian/environment is locked to version 6.0.1 and an update of this package was not requested. - sebastian/environment 6.0.1 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 58 - sebastian/exporter is locked to version 5.0.1 and an update of this package was not requested. - sebastian/exporter 5.0.1 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 59 - sebastian/global-state is locked to version 6.0.1 and an update of this package was not requested. - sebastian/global-state 6.0.1 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 60 - sebastian/lines-of-code is locked to version 2.0.1 and an update of this package was not requested. - sebastian/lines-of-code 2.0.1 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 61 - sebastian/object-enumerator is locked to version 5.0.0 and an update of this package was not requested. - sebastian/object-enumerator 5.0.0 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 62 - sebastian/object-reflector is locked to version 3.0.0 and an update of this package was not requested. - sebastian/object-reflector 3.0.0 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 63 - sebastian/recursion-context is locked to version 5.0.0 and an update of this package was not requested. - sebastian/recursion-context 5.0.0 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 64 - sebastian/type is locked to version 4.0.0 and an update of this package was not requested. - sebastian/type 4.0.0 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 65 - sebastian/version is locked to version 4.0.1 and an update of this package was not requested. - sebastian/version 4.0.1 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 66 - spatie/flare-client-php is locked to version 1.4.2 and an update of this package was not requested. - spatie/flare-client-php 1.4.2 requires php ^8.0 -> your php version (7.3.31) does not satisfy that requirement. Problem 67 - spatie/ignition is locked to version 1.10.1 and an update of this package was not requested. - spatie/ignition 1.10.1 requires php ^8.0 -> your php version (7.3.31) does not satisfy that requirement. Problem 68 - spatie/laravel-ignition is locked to version 2.3.0 and an update of this package was not requested. - spatie/laravel-ignition 2.3.0 requires php ^8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 69 - symfony/yaml is locked to version v6.3.3 and an update of this package was not requested. - symfony/yaml v6.3.3 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. Problem 70 - symfony/deprecation-contracts v3.3.0 requires php >=8.1 -> your php version (7.3.31) does not satisfy that requirement. - guzzlehttp/guzzle 7.8.0 requires symfony/deprecation-contracts ^2.2 || ^3.0 -> satisfiable by symfony/deprecation-contracts[v3.3.0]. - guzzlehttp/guzzle is locked to version 7.8.0 and an update of this package was not requested.

请更新 php8.2 版本或更高

Root composer.json requires php ^8.1 but your php version (7.3.31) does not satisfy that requirement.
MoTeam-org commented 10 months ago

换了php-82显示 [root@iZj6c1yzdel4yruht476p3Z cdn.dupan.fun]# composer install PHP Fatal error: Uncaught Error: Call to undefined function Composer\XdebugHandler\putenv() in phar:///www/server/php/74/bin/composer/vendor/composer/xdebug-handler/src/Process.php:93 Stack trace:

0 phar:///www/server/php/74/bin/composer/vendor/composer/xdebug-handler/src/Status.php(48): Composer\XdebugHandler\Process::setEnv()

1 phar:///www/server/php/74/bin/composer/vendor/composer/xdebug-handler/src/XdebugHandler.php(83): Composer\XdebugHandler\Status->__construct()

2 phar:///www/server/php/74/bin/composer/bin/composer(16): Composer\XdebugHandler\XdebugHandler->__construct()

3 /www/server/php/74/bin/composer(24): require('...')

4 {main}

thrown in phar:///www/server/php/74/bin/composer/vendor/composer/xdebug-handler/src/Process.php on line 93

Fatal error: Uncaught Error: Call to undefined function Composer\XdebugHandler\putenv() in phar:///www/server/php/74/bin/composer/vendor/composer/xdebug-handler/src/Process.php:93 Stack trace:

0 phar:///www/server/php/74/bin/composer/vendor/composer/xdebug-handler/src/Status.php(48): Composer\XdebugHandler\Process::setEnv()

1 phar:///www/server/php/74/bin/composer/vendor/composer/xdebug-handler/src/XdebugHandler.php(83): Composer\XdebugHandler\Status->__construct()

2 phar:///www/server/php/74/bin/composer/bin/composer(16): Composer\XdebugHandler\XdebugHandler->__construct()

3 /www/server/php/74/bin/composer(24): require('...')

4 {main}

thrown in phar:///www/server/php/74/bin/composer/vendor/composer/xdebug-handler/src/Process.php on line 93

huankong233 commented 10 months ago

换了php-82显示 [root@iZj6c1yzdel4yruht476p3Z cdn.dupan.fun]# composer install PHP Fatal error: Uncaught Error: Call to undefined function Composer\XdebugHandler\putenv() in phar:///www/server/php/74/bin/composer/vendor/composer/xdebug-handler/src/Process.php:93 Stack trace: #0 phar:///www/server/php/74/bin/composer/vendor/composer/xdebug-handler/src/Status.php(48): Composer\XdebugHandler\Process::setEnv() #1 phar:///www/server/php/74/bin/composer/vendor/composer/xdebug-handler/src/XdebugHandler.php(83): Composer\XdebugHandler\Status->construct() #2 phar:///www/server/php/74/bin/composer/bin/composer(16): Composer\XdebugHandler\XdebugHandler->construct() #3 /www/server/php/74/bin/composer(24): require('...') #4 {main} thrown in phar:///www/server/php/74/bin/composer/vendor/composer/xdebug-handler/src/Process.php on line 93

Fatal error: Uncaught Error: Call to undefined function Composer\XdebugHandler\putenv() in phar:///www/server/php/74/bin/composer/vendor/composer/xdebug-handler/src/Process.php:93 Stack trace: #0 phar:///www/server/php/74/bin/composer/vendor/composer/xdebug-handler/src/Status.php(48): Composer\XdebugHandler\Process::setEnv() #1 phar:///www/server/php/74/bin/composer/vendor/composer/xdebug-handler/src/XdebugHandler.php(83): Composer\XdebugHandler\Status->construct() #2 phar:///www/server/php/74/bin/composer/bin/composer(16): Composer\XdebugHandler\XdebugHandler->construct() #3 /www/server/php/74/bin/composer(24): require('...') #4 {main} thrown in phar:///www/server/php/74/bin/composer/vendor/composer/xdebug-handler/src/Process.php on line 93

使用的是宝塔吧 putenv 函数被禁用了,请解禁

MoTeam-org commented 10 months ago

哦,忘记了,刚安装

MoTeam-org commented 10 months ago

emm,又出问题了 [root@iZj6c1yzdel4yruht476p3Z cdn.dupan.fun]# composer install PHP Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/vendor/symfony/console/Helper/HelperSet.php on line 112

Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/vendor/symfony/console/Helper/HelperSet.php on line 112 Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar:///www/server/php/74/bin/composer/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48 Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/Repository/ArrayRepository.php:277 Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/Repository/ArrayRepository.php:277 Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/Repository/ArrayRepository.php:277 Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar:///www/server/php/74/bin/composer/src/Composer/Autoload/AutoloadGenerator.php:777 Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar:///www/server/php/74/bin/composer/src/Composer/Autoload/AutoloadGenerator.php:782 Do not run Composer as root/super user! See https://getcomposer.org/root for details Continue as root/super user [yes]? yes Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run composer update or composer update <package name>. Deprecation Notice: Return type of Composer\DependencyResolver\Pool::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/Pool.php:76 Deprecation Notice: Return type of Composer\DependencyResolver\RuleSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/RuleSet.php:116 Deprecation Notice: Return type of Composer\DependencyResolver\RuleSet::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/RuleSet.php:101 Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/Decisions.php:155 Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/Decisions.php:165 Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/Decisions.php:160 Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/Decisions.php:170 Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/Decisions.php:150 Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/Decisions.php:145 Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/RuleSetIterator.php:36 Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/RuleSetIterator.php:46 Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/RuleSetIterator.php:41 Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/RuleSetIterator.php:89 Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/RuleSetIterator.php:70 Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/Problem.php:308 Your lock file does not contain a compatible set of packages. Please run composer update.

Problem 1

To enable extensions, verify that they are enabled in your .ini files:

huankong233 commented 10 months ago

emm,又出问题了 [root@iZj6c1yzdel4yruht476p3Z cdn.dupan.fun]# composer install PHP Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/vendor/symfony/console/Helper/HelperSet.php on line 112

Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/vendor/symfony/console/Helper/HelperSet.php on line 112 Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar:///www/server/php/74/bin/composer/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48 Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/Repository/ArrayRepository.php:277 Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/Repository/ArrayRepository.php:277 Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/Repository/ArrayRepository.php:277 Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar:///www/server/php/74/bin/composer/src/Composer/Autoload/AutoloadGenerator.php:777 Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar:///www/server/php/74/bin/composer/src/Composer/Autoload/AutoloadGenerator.php:782 Do not run Composer as root/super user! See https://getcomposer.org/root for details Continue as root/super user [yes]? yes Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run composer update or composer update <package name>. Deprecation Notice: Return type of Composer\DependencyResolver\Pool::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/Pool.php:76 Deprecation Notice: Return type of Composer\DependencyResolver\RuleSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/RuleSet.php:116 Deprecation Notice: Return type of Composer\DependencyResolver\RuleSet::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/RuleSet.php:101 Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/Decisions.php:155 Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/Decisions.php:165 Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/Decisions.php:160 Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/Decisions.php:170 Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/Decisions.php:150 Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/Decisions.php:145 Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/RuleSetIterator.php:36 Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/RuleSetIterator.php:46 Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/RuleSetIterator.php:41 Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/RuleSetIterator.php:89 Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/RuleSetIterator.php:70 Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar:///www/server/php/74/bin/composer/src/Composer/DependencyResolver/Problem.php:308 Your lock file does not contain a compatible set of packages. Please run composer update.

Problem 1 - laravel/framework is locked to version v10.22.0 and an update of this package was not requested. - laravel/framework v10.22.0 requires composer-runtime-api ^2.2 -> found composer-runtime-api[2.0.0] but it does not match the constraint. Problem 2 - league/flysystem-local is locked to version 3.16.0 and an update of this package was not requested. - league/flysystem-local 3.16.0 requires ext-fileinfo -> it is missing from your system. Install or enable PHP's fileinfo extension. Problem 3 - league/mime-type-detection is locked to version 1.13.0 and an update of this package was not requested. - league/mime-type-detection 1.13.0 requires ext-fileinfo -> it is missing from your system. Install or enable PHP's fileinfo extension. Problem 4 - laravel/framework v10.22.0 requires composer-runtime-api ^2.2 -> found composer-runtime-api[2.0.0] but it does not match the constraint. - spatie/laravel-ignition 2.3.0 requires illuminate/support ^10.0 -> satisfiable by laravel/framework[v10.22.0]. - spatie/laravel-ignition is locked to version 2.3.0 and an update of this package was not requested.

To enable extensions, verify that they are enabled in your .ini files: - /www/server/php/82/etc/php-cli.ini You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.

你的 composer 使用的 php 还是 74 的,直接去 release 里下我装好依赖的吧

MoTeam-org commented 10 months ago

对了,还有个问题,获取账号的Cookie如何设置,我输的我的Cookie显示:请不要使用包含账户的cookie,直接退出登陆获取一个新cookie

huankong233 commented 10 months ago

对了,还有个问题,获取账号的Cookie如何设置,我输的我的Cookie显示:请不要使用包含账户的cookie,直接退出登陆获取一个新cookie

获取列表的cookie直接随便找一个没有登陆的cookie输入即可,但是不能为空,解析使用的cookie在另一个tab

MoTeam-org commented 10 months ago

什么tab,我现在没动过,但就是无法解析,中转账号已经加入

huankong233 commented 10 months ago

什么tab,我现在没动过,但就是无法解析,中转账号已经加入

image

打开无痕模式

MoTeam-org commented 10 months ago

好了,谢谢