Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

imax57

Newbie
  
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

imax57's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Проблема решена путем внесения изменений в следующие файлы скрипта: install/cli_install.php строка: $db->query("SET @@session.sql_mode = 'MYSQL40'"); заменена на: $db->query("SET @@session.sql_mode = ''"); install/model/install/install.php строка: $db->query("SET @@session.sql_mode = 'MYSQL40'"); заменена на: $db->query("SET @@session.sql_mode = ''"); после очистил БД, которая заполнилась таблицами и заново прошел шаг 3. Успешно произошел переход к шагу 4.
  2. У меня такая же ситуация(Apache 2.4, PHP 7.2.11, opencart 3.0.3.2). В логах на выполнении шага три появляется строка: [Fri Apr 17 14:58:12.988143 2020] [proxy_fcgi:error] [pid 7797:tid 139743505397504] [client localhost:51026] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Exception: Error: Variable 'sql_mode' can't be set to the value of 'MYSQL40'<br />Error No: 1231<br />SET @@session.sql_mode = 'MYSQL40' in /var/www/localhost/system/library/db/mysqli.php:40\nStack trace:\n#0 /var/www/localhost/system/library/db.php(45): DB\\MySQLi->query('SET @@session.s...')\n#1 /var/www/localhost/install/model/install/install.php(35): DB->query('SET @@session.s...')\n#2 /var/www/localhost/system/engine/loader.php(248): ModelInstallInstall->database(Array)\n#3 /var/www/localhost/system/engine/proxy.php(47): Loader->{closure}(Array, Array)\n#4 /var/www/localhost/install/controller/install/step_3.php(11): Proxy->__call('database', Array)\n#5 /var/www/localhost/system/engine/action.php(79): ControllerInstallStep3->index()\n#6 /var/www/localhost/system/engine/router.php(67): Action->execute(Object(Registry))\n#7 /var/www/localhost/system/engine/router.php(56): Router->execute(Object(Action))\n#8 /var...\n', referer: http://localhost/install/index.php?route=install/step_3
Guest
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.