FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix error reporting for invalid queries executed via pla by nico-abram · Pull Request #45 · phpLiteAdmin/pla · GitHub

Fix error reporting for invalid queries executed via pla - #45

Open
nico-abram wants to merge 1 commit into
phpLiteAdmin:masterfrom
nico-abram:wololo
Open

Fix error reporting for invalid queries executed via pla#45
nico-abram wants to merge 1 commit into
phpLiteAdmin:masterfrom
nico-abram:wololo

Conversation

nico-abram commented Mar 31, 2025
edited
Loading

Copy link
Copy Markdown

The default of PDO::ATTR_ERRMODE changed to PDO::ERRMODE_EXCEPTION in PHP 8, which makes it throw an exception which stops the html output halfway through.

This sets it to the old default PDO::ERRMODE_SILENT.

Fixes #46

Since the default changed to PDO::ERRMODE_EXCEPTION
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Successfully merging this pull request may close these issues.

Executing queries with errors does not display the error on PHP 8

1 participant


Back | FazBrowse Home | New Git URL