Code commits
phpBB 3.3.x
-
Marc 565053f508b0be88c2a6f22c636ed5aa0cbc1acf
Merge pull request #6573 from rxu/ticket/17232
[ticket/17232] Improve SQL error messages handling -
rxu 6a8140e82b3a9854283ac5c5794be530a6163ba0 m
[ticket/17232] Improve SQL error messages handling
PHP 7 changes how most errors are reported by PHP. Instead of reporting errors
through the traditional error reporting mechanism used by PHP 5, most errors
are now reported by throwing Error exceptions.
Use it to display meaningful SQL error messages instead of PHP fatal errors
for SQL errors.
PHPBB3-17232- phpBB/phpbb/db/driver/mssql_odbc.php (version 6a8140e82b3a9854283ac5c5794be530a6163ba0)
- phpBB/phpbb/db/driver/mssqlnative.php (version 6a8140e82b3a9854283ac5c5794be530a6163ba0)
- phpBB/phpbb/db/driver/mysqli.php (version 6a8140e82b3a9854283ac5c5794be530a6163ba0)
- phpBB/phpbb/db/driver/postgres.php (version 6a8140e82b3a9854283ac5c5794be530a6163ba0)
- phpBB/phpbb/db/driver/sqlite3.php (version 6a8140e82b3a9854283ac5c5794be530a6163ba0)
- phpBB/phpbb/db/tools/factory.php (version 6a8140e82b3a9854283ac5c5794be530a6163ba0)
- phpBB/phpbb/db/tools/sqlite3.php (version 6a8140e82b3a9854283ac5c5794be530a6163ba0)