fulldecent / fulldecent/beginner-project-php-sql

php-sqlite 3 must installed in order to run queries using PDO technique.

未关闭
#1 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
1
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

I had to run `sudo apt install php-sqlite3` in order to get the line queries to run without an error. Before running `sudo apt install php-sqlite3`, I received this error in the Bash terminal:
```
127.0.0.1:60862 [500]: / - Uncaught Error: Call to a member function fetchAll() on boolean in /home/someone/Desktop/practice-php/index.php:22
Stack trace:
#0 {main}
thrown in /home/rob/Desktop/practice-php/index.php on line 22
```

贡献指南

这个仓库没有索引到贡献指南

调研方向

阅读第 22 行附近的 index.php,并在检查 php-sqlite3 是否可用后重现 PDO 查询。将项目设置与报告中的依赖项要求进行比较。当预期的设置已明确,并且查询不再产生 fetchAll-on-boolean 错误时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
php, sqlite
领域
databases
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。