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

master分支最新版,全新安装时报错 #1152

Closed
noisky opened this issue Sep 7, 2021 · 1 comment
Closed

master分支最新版,全新安装时报错 #1152

noisky opened this issue Sep 7, 2021 · 1 comment
Milestone

Comments

@noisky
Copy link

noisky commented Sep 7, 2021

1. 该问题的重现步骤是什么?

直接clone master分支最新版
git clone https://github.com/typecho/typecho.git
安装页面报错

Missing Database Object
Typecho\Db\Exception: Missing Database Object in F:\Develop\PHPStormProject\typecho-new\var\Typecho\Db.php:277
Stack trace:
#0 F:\Develop\PHPStormProject\typecho-new\var\Widget\Base.php(82): Typecho\Db::get()
#1 F:\Develop\PHPStormProject\typecho-new\var\Typecho\Widget.php(94): Widget\Base->init()
#2 F:\Develop\PHPStormProject\typecho-new\var\Typecho\Widget.php(150): Typecho\Widget->__construct(Object(Typecho\Widget\Request), Object(Typecho\Widget\Response), Array)
#3 F:\Develop\PHPStormProject\typecho-new\var\Typecho\Widget.php(183): Typecho\Widget::widget('Widget\\Options', Array, NULL, true)
#4 F:\Develop\PHPStormProject\typecho-new\install.php(1372): Typecho\Widget::alloc(Array)
#5 F:\Develop\PHPStormProject\typecho-new\install.php(1447): install_dispatch()
#6 {main}

2. 你期待的结果是什么?实际看到的又是什么?

3. 问题出现的环境

  • 操作系统版本:Debian 10 / Win10
  • Apache/NGINX 版本:nginx/1.20.1
  • 数据库版本:MySQl v8.0.25
  • PHP 版本:7.4.20
  • Typecho 版本:master分支最新版
  • 浏览器版本:Microsoft Edge 93.0.961.38

QQ20210907152814.png

@JohnsonRan
Copy link

刚测试我Typecho-Docker项目时也是这样,我以为我哪里写错了 (

@joyqi joyqi closed this as completed in ee00fc5 Sep 7, 2021
@joyqi joyqi added this to the v1.2.0-beta.2 milestone Sep 10, 2021
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

3 participants