Error while processing the requested operation

Install and configure FormaLMS and DoceboCE
Post Reply
jiculi
Newbie
Posts: 4
Joined: Wed Feb 14, 2024 6:15 pm
Contact:

Error while processing the requested operation

Post by jiculi »

Hello everyone !

Once I installed formaLMS 3.3.17 with php, I started by registering a course, but, I can't register courses, I get the following error.

"Error while processing the requested operation"



in php_errors.log I have:

================================
thrown in /home/paco/www/formalms/db/drivers/docebodb.mysqli.php on line 127
[29-Mar-2024 08:35:17 America/Mexico_City] PHP Fatal error: Uncaught mysqli_sql_exception: Variable 'sql_mode' can't be set to the value of 'NO_AUTO_CREATE_USER' in /home/paco/www/formalms/db/drivers/docebodb.mysqli.php:127
Stack trace:
#0 /home/paco/www/formalms/db/drivers/docebodb.mysqli.php(127): mysqli_query()
#1 /home/paco/www/formalms/db/drivers/docebodb.mysqli.php(83): mysqli_DbConn->query()
#2 /home/paco/www/formalms/db/drivers/docebodb.mysqli.php(62): mysqli_DbConn->select_db()
#3 /home/paco/www/formalms/db/lib.docebodb.php(83): mysqli_DbConn->connect()
#4 /home/paco/www/formalms/lib/lib.utils.php(280): DbConn::getInstance()
#5 /home/paco/www/formalms/lib/lib.bootstrap.php(352): Util::load_setting()
#6 /home/paco/www/formalms/lib/lib.bootstrap.php(93): Boot::loadSetting()
#7 /home/paco/www/formalms/index.php(35): Boot::init()

=============================



Thanks for the answers.
alfa24
Senior Boarder
Posts: 2020
Joined: Fri Nov 24, 2017 8:45 am

Re: Error while processing the requested operation

Post by alfa24 »

Search the forum. You will find tons if topics regarding sql_mode directive
Per supporto GRATUITO contattatemi in privato qui
jiculi
Newbie
Posts: 4
Joined: Wed Feb 14, 2024 6:15 pm
Contact:

Re: Error while processing the requested operation

Post by jiculi »

The error is due to the fact that in the instance I have mysql version 8.1, and:

NO_AUTO_CREATE_USER has been deprecated and removed from MySQL 8 and is no longer available. It was considered an unsafe setting.
alfa24
Senior Boarder
Posts: 2020
Joined: Fri Nov 24, 2017 8:45 am

Re: Error while processing the requested operation

Post by alfa24 »

So you can solve, can't you?
Per supporto GRATUITO contattatemi in privato qui
Post Reply