Fatal error: Uncaught mysqli_sql_exception

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
poloadmin
Posts: 2
Joined: 13 Jul 2023, 08:54

Fatal error: Uncaught mysqli_sql_exception

Post by poloadmin »

Hi,When I install MantisBT 2.25.7,there is a error show after I click the install button,and my Mysql version is 5.7.42, php version is 8.2.4 ,Apache version is 2.4.56 I don't know what wrong with my system.Thanks.
I've try upgrade and downgrade mysql still not working .
Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schema()schema()' at line 5 in D:\XAMPP\htdocs\mantisbt\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php:808 Stack trace: #0 D:\XAMPP\htdocs\mantisbt\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php(808): mysqli_query(Object(mysqli), 'SELECT\n\t\t\tTABLE...', 0) #1 D:\XAMPP\htdocs\mantisbt\vendor\adodb\adodb-php\adodb.inc.php(1282): ADODB_mysqli->_query('SELECT\n\t\t\tTABLE...', false) #2 D:\XAMPP\htdocs\mantisbt\vendor\adodb\adodb-php\adodb.inc.php(1260): ADOConnection->_Execute('SELECT\n\t\t\tTABLE...', false) #3 D:\XAMPP\htdocs\mantisbt\vendor\adodb\adodb-php\adodb.inc.php(2599): ADOConnection->Execute('SELECT\n\t\t\tTABLE...') #4 D:\XAMPP\htdocs\mantisbt\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php(569): ADOConnection->MetaTables('TABLE', false) #5 D:\XAMPP\htdocs\mantisbt\core\database_api.php(868): ADODB_mysqli->MetaTables('TABLE') #6 D:\XAMPP\htdocs\mantisbt\core\database_api.php(506): db_get_table_list() #7 D:\XAMPP\htdocs\mantisbt\core\config_api.php(82): db_table_exists('mantis_config_t...') #8 D:\XAMPP\htdocs\mantisbt\core\lang_api.php(159): config_get('language_choice...') #9 D:\XAMPP\htdocs\mantisbt\core\lang_api.php(124): lang_map_auto() #10 D:\XAMPP\htdocs\mantisbt\core\error_api.php(164): lang_get_default() #11 [internal function]: error_handler(256, '-1', 'D:\\XAMPP\\htdocs...', 92) #12 D:\XAMPP\htdocs\mantisbt\core\error_api.php(92): trigger_error('-1', 256) #13 [internal function]: error_exception_handler(Object(mysqli_sql_exception)) #14 {main}thrown in D:\XAMPP\htdocs\mantisbt\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php on line 808
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Fatal error: Uncaught mysqli_sql_exception

Post by atrol »

PHP 8.2 is currently not supported, see this issue and the related ones https://www.mantisbt.org/bugs/view.php?id=32027
Please use Search before posting and read the Manual
poloadmin
Posts: 2
Joined: 13 Jul 2023, 08:54

Re: Fatal error: Uncaught mysqli_sql_exception

Post by poloadmin »

Thanks , I did not notice that .
Post Reply