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

laravel octane 下扩展功能导致菜单不显示以及扩展不显示 #1841

Open
lanstar2 opened this issue Jul 15, 2022 · 5 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@lanstar2
Copy link

  • Laravel Version: 9.20.0
  • PHP Version: 8.0
  • Dcat Admin Version: 2.2.2-beta

第一次启动扩展列表有显示 点设置报
file: "/vendor/dcat/laravel-admin/src/Extend/Setting.php"
line: 95
message: "Call to a member function config() on null"

@laradocs
Copy link
Contributor

octane 貌似对 dcat-admin 不太友好,我这边并没有报错,只是刷新时不时会丢页面,也有可能是我设备的原因

@lanstar2
Copy link
Author

octane 貌似对 dcat-admin 不太友好,我这边并没有报错,只是刷新时不时会丢页面,也有可能是我设备的原因

已经停掉octane了- -,它导致扩展里面的扩展全部都没了,扩展的菜单也消失

@laradocs
Copy link
Contributor

已经停掉octane了- -,它导致扩展里面的扩展全部都没了,扩展的菜单也消失

我这边也是同样的情况

@laradocs
Copy link
Contributor

我帮你 Reopen 标记 bug 等作者看看吧

@laradocs laradocs reopened this Jul 16, 2022
@laradocs laradocs added the bug Something isn't working label Jul 16, 2022
@qdladoooo
Copy link

location /admin {
    fastcgi_pass php-fpm;
    fastcgi_index index.php;
    fastcgi_param SCRIPT_FILENAME $realpath_root/index.php;
    include fastcgi_params;
}

admin 直接走 php-fpm 吧,api 还能利用长连接加速。凑活一下:P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants