Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth与最新开发版不兼容 #195

Open
1 task done
LittleChest opened this issue May 28, 2023 · 1 comment
Open
1 task done

OAuth与最新开发版不兼容 #195

LittleChest opened this issue May 28, 2023 · 1 comment

Comments

@LittleChest
Copy link

Blessing Skin 版本

bs-community/blessing-skin-server@46cccdb

PHP 版本

8.1

出现问题时所使用的浏览器

Chrome

您正在使用的 Web Server

Apache

您正在使用宝塔吗?

出现了什么问题?

在最新开发版中安装OAuth后刷新就会出现这个
image

错误日志

[2023-05-28 18:24:15] production.ERROR: require(/www/wwwroot/Skin/plugins/oauth/vendor/composer/../guzzlehttp/promises/src/functions_include.php): Failed to open stream: No such file or directory {"exception":"[object] (ErrorException(code: 0): require(/www/wwwroot/Skin/plugins/oauth/vendor/composer/../guzzlehttp/promises/src/functions_include.php): Failed to open stream: No such file or directory at /www/wwwroot/Skin/plugins/oauth/vendor/composer/autoload_real.php:71)
[stacktrace]
#0 /www/wwwroot/Skin/plugins/oauth/vendor/composer/autoload_real.php(71): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
bs-community/blessing-skin-server#1 /www/wwwroot/Skin/plugins/oauth/vendor/composer/autoload_real.php(71): require()
bs-community/blessing-skin-server#2 /www/wwwroot/Skin/plugins/oauth/vendor/composer/autoload_real.php(61): composerRequirea8da9aa474ea7ba9f818d455d118162d()
bs-community/blessing-skin-server#3 /www/wwwroot/Skin/plugins/oauth/vendor/autoload.php(7): ComposerAutoloaderInita8da9aa474ea7ba9f818d455d118162d::getLoader()
bs-community/blessing-skin-server#4 /www/wwwroot/Skin/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107): require('...')
bs-community/blessing-skin-server#5 /www/wwwroot/Skin/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}()
bs-community/blessing-skin-server#6 /www/wwwroot/Skin/app/Services/PluginManager.php(160): Illuminate\\Filesystem\\Filesystem->getRequire()
bs-community/blessing-skin-server#7 /www/wwwroot/Skin/app/Services/PluginManager.php(130): App\\Services\\PluginManager->loadVendor()
bs-community/blessing-skin-server#8 /www/wwwroot/Skin/app/Services/PluginManager.php(116): App\\Services\\PluginManager->registerPlugin()
bs-community/blessing-skin-server#9 /www/wwwroot/Skin/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(245): App\\Services\\PluginManager->App\\Services\\{closure}()
bs-community/blessing-skin-server#10 /www/wwwroot/Skin/app/Services/PluginManager.php(116): Illuminate\\Support\\Collection->each()
bs-community/blessing-skin-server#11 /www/wwwroot/Skin/app/Providers/PluginServiceProvider.php(18): App\\Services\\PluginManager->boot()
bs-community/blessing-skin-server#12 /www/wwwroot/Skin/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\\Providers\\PluginServiceProvider->boot()
bs-community/blessing-skin-server#13 /www/wwwroot/Skin/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
bs-community/blessing-skin-server#14 /www/wwwroot/Skin/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
bs-community/blessing-skin-server#15 /www/wwwroot/Skin/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
bs-community/blessing-skin-server#16 /www/wwwroot/Skin/vendor/laravel/framework/src/Illuminate/Container/Container.php(653): Illuminate\\Container\\BoundMethod::call()
bs-community/blessing-skin-server#17 /www/wwwroot/Skin/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(924): Illuminate\\Container\\Container->call()
bs-community/blessing-skin-server#18 /www/wwwroot/Skin/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(905): Illuminate\\Foundation\\Application->bootProvider()
bs-community/blessing-skin-server#19 [internal function]: Illuminate\\Foundation\\Application->Illuminate\\Foundation\\{closure}()
bs-community/blessing-skin-server#20 /www/wwwroot/Skin/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(906): array_walk()
bs-community/blessing-skin-server#21 /www/wwwroot/Skin/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\\Foundation\\Application->boot()
bs-community/blessing-skin-server#22 /www/wwwroot/Skin/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(237): Illuminate\\Foundation\\Bootstrap\\BootProviders->bootstrap()
bs-community/blessing-skin-server#23 /www/wwwroot/Skin/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(153): Illuminate\\Foundation\\Application->bootstrapWith()
bs-community/blessing-skin-server#24 /www/wwwroot/Skin/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(137): Illuminate\\Foundation\\Http\\Kernel->bootstrap()
bs-community/blessing-skin-server#25 /www/wwwroot/Skin/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
bs-community/blessing-skin-server#26 /www/wwwroot/Skin/public/index.php(61): Illuminate\\Foundation\\Http\\Kernel->handle()
bs-community/blessing-skin-server#27 {main}
"}

重现步骤

  1. 下载最新预构建快照
  2. 覆盖现有的Blessing Skin(或者自己建一个)
  3. 去插件市场装OAuth插件
  4. 刷新页面或打开任意页面
@mochaaP mochaaP transferred this issue from bs-community/blessing-skin-server Jul 30, 2023
@zhinaijiang32
Copy link

我也一样但是预构都是最新的OAuth插件还是不能正常使用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants