e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
GNU General Public License v3.0
318
stars
212
forks
source link
[Bug]: PHP 8.2. fatal error if there are some issue with database #5220
Closed
Jimmi08 closed 3 months ago
What e107 version are you using?
Latest Github version (just updated)
Bug description
If you have f.e. wrong database prefix, you will not get that familiar red message with class2.php error, but fatal error:
How to reproduce
set wrong database prefix in config file
Expected behavior
red message about not able to connect to database
commenting those lines in check_class() helped this should be the result, not fatal error
What browser(s) are you seeing the problem on?
Chrome / Brave
PHP Version
PHP 8.2