Answer the question
In order to leave comments, you need to log in
Cron_events stopped working after updating php to 7.3 and Bitrix and gave a database error undefined function mysql_query (), how to start?
Good afternoon!
The cron_events file was added to the site using this code and with the same settings: https://diee.ru/notes/info/execution_of_all_agents...
Everything worked fine before the update. After the update, when starting this file, the module connection error first appeared, which was resolved through short_open_tag, and after the error appeared, the error
is caused in this line
In the php.ini settings, extance = mysqli is uncommented,
The following recommendations are made:
To the file /bitrix/php_interface/dbconn.php
Add: define("BX_USE_MYSQLI", true);
And to the file: /bitrix/.settings.php Change the
line: 'className' => '\\Bitrix\\Main\\DB\\MysqlConnection' to 'className' => '
No tricks helped. the error remains. What else can be done?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question