fulldecent / fulldecent/beginner-project-php-sql

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

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Read index.php around line 22 and reproduce the PDO query after checking whether php-sqlite3 is available. Compare the project setup with the reported dependency requirement. Done means the expected setup is explicit and the query no longer produces the fetchAll-on-boolean error.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, sqlite
Domain
databases
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.