質問 > その他 > 2.17.2移行 mysql DBが読み込めない |
その他
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | 下へ |
投稿者 | スレッド |
---|---|
kazz_oga |
投稿日時: 2022/3/16 14:46
対応状況: 確認中
|
一人前 登録日: 2013/8/5 居住地: 東京都北区赤羽西 投稿: 144 |
2.17.2移行 mysql DBが読み込めない ▼テンプレート
[EC-CUBE] 2.17.2 [レンタルサーバ] localhost [OS] MacOS 12.1 [PHP] PHP 8.0 [データベース] MySQL 5.7 [WEBサーバ] Apache 2.4 [ブラウザ] Safari [導入プラグインの有無] [カスタマイズの有無] [現象] 2.17.1から2.17.2に移行中です(移行としてマージしたgitのタグ:eccube-2.17.2)。 起動すると次のメッセージがエラーログにだされ、予定した画面が表示されません。 解決のヒントを教えていただければ幸いです <以下のメッセージが多数> 2022/03/16 13:02:52 [/**********/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/**********/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 MySQLのstatusは次のとおり mysql> status -------------- mysql Ver 14.14 Distrib 5.7.29, for osx10.15 (x86_64) using EditLine wrapper Connection id: 56 Current database: Current user: *******@localhost SSL: Not in use Current pager: stdout Using outfile: '' Using delimiter: ; Server version: 5.7.29 Homebrew Protocol version: 10 Connection: Localhost via UNIX socket Server characterset: utf8 Db characterset: utf8 Client characterset: utf8 Conn. characterset: utf8 UNIX socket: /tmp/mysql.sock Uptime: 1 hour 37 sec Threads: 1 Questions: 429 Slow queries: 0 Opens: 154 Flush tables: 1 Open tables: 147 Queries per second avg: 0.117 --------------- config.phpのDB関連は次のとおり define('DB_TYPE', 'mysqli'); define('DB_USER', '*******'); define('DB_PASSWORD', '*******'); define('DB_SERVER', '127.0.0.1'); define('DB_NAME', '*******'); define('DB_PORT', false); |
red |
投稿日時: 2022/3/16 15:55
対応状況: −−−
|
神 登録日: 2010/2/15 居住地: 東京都 投稿: 1570 |
Re: 2.17.2移行 mysql DBが読み込めない Warning 以外のエラーは出ていませんか?
|
kazz_oga |
投稿日時: 2022/3/17 9:09
対応状況: −−−
|
一人前 登録日: 2013/8/5 居住地: 東京都北区赤羽西 投稿: 144 |
Re: 2.17.2移行 mysql DBが読み込めない ありがとうございます。
Warning以外はFatal error(E_COMPILE_ERROR)が出ています 2022/03/16 13:02:52 [/******/html/admin/index.php] Fatal error(E_COMPILE_ERROR): Cannot make static method SC_Plugin_Base::install() non static in class DelivFreePerShipping on [/***************/data/downloads/plugin/DelivFreePerShipping/DelivFreePerShipping.php(45)] from ::1 以下は一回の起動時のエラーログです。 2022/03/16 13:02:52 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:52 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:52 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:52 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:52 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:52 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:52 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:52 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:52 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:52 [/******/html/admin/index.php] Warning(E_WARNING): Undefined array key "login_id" on [/***************/data/class/util/GC_Utils.php(199)] from ::1 2022/03/16 13:02:52 [/******/html/admin/index.php] Warning(E_WARNING): Undefined array key "authority" on [/***************/data/class/util/GC_Utils.php(199)] from ::1 2022/03/16 13:02:52 [/******/html/admin/index.php] Warning(E_WARNING): Undefined array key "file" on [/***************/data/class/util/GC_Utils.php(88)] from ::1 2022/03/16 13:02:52 [/******/html/admin/index.php] Fatal error(E_COMPILE_ERROR): Cannot make static method SC_Plugin_Base::install() non static in class DelivFreePerShipping on [/***************/data/downloads/plugin/DelivFreePerShipping/DelivFreePerShipping.php(45)] from ::1 login_id = ()[9baa0b85] 2022/03/16 13:02:52 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:54 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:54 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:54 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:54 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:54 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:54 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:54 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:54 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:54 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:54 [/******/html/admin/index.php] Warning(E_WARNING): Undefined array key "login_id" on [/***************/data/class/util/GC_Utils.php(199)] from ::1 2022/03/16 13:02:54 [/******/html/admin/index.php] Warning(E_WARNING): Undefined array key "authority" on [/***************/data/class/util/GC_Utils.php(199)] from ::1 2022/03/16 13:02:54 [/******/html/admin/index.php] Warning(E_WARNING): Undefined array key "file" on [/***************/data/class/util/GC_Utils.php(88)] from ::1 2022/03/16 13:02:54 [/******/html/admin/index.php] Fatal error(E_COMPILE_ERROR): Cannot make static method SC_Plugin_Base::install() non static in class DelivFreePerShipping on [/***************/data/downloads/plugin/DelivFreePerShipping/DelivFreePerShipping.php(45)] from ::1 login_id = ()[9baa0b85] 2022/03/16 13:02:54 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:57 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:57 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:57 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:57 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:57 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:57 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:57 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:57 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:57 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 2022/03/16 13:02:57 [/******/html/admin/index.php] Warning(E_WARNING): Undefined array key "login_id" on [/***************/data/class/util/GC_Utils.php(199)] from ::1 2022/03/16 13:02:57 [/******/html/admin/index.php] Warning(E_WARNING): Undefined array key "authority" on [/***************/data/class/util/GC_Utils.php(199)] from ::1 2022/03/16 13:02:57 [/******/html/admin/index.php] Warning(E_WARNING): Undefined array key "file" on [/***************/data/class/util/GC_Utils.php(88)] from ::1 2022/03/16 13:02:57 [/******/html/admin/index.php] Fatal error(E_COMPILE_ERROR): Cannot make static method SC_Plugin_Base::install() non static in class DelivFreePerShipping on [/***************/data/downloads/plugin/DelivFreePerShipping/DelivFreePerShipping.php(45)] from ::1 login_id = ()[9baa0b85] 2022/03/16 13:02:57 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 |
kazz_oga |
投稿日時: 2022/3/17 10:05
対応状況: 解決済
|
一人前 登録日: 2013/8/5 居住地: 東京都北区赤羽西 投稿: 144 |
Re: 2.17.2移行 mysql DBが読み込めない 一部、自己解決しました
composer updateでエラーが出ていたので、 composer self-updateをして、composer updateをしたら、DB読み込み時のWarningはとれました。 2022/03/16 13:02:52 [/******/html/admin/index.php] Warning(E_WARNING): A non-numeric value encountered on [/***************/data/vendor/bondas83/mdb2_driver_mysqli/MDB2/Driver/mysqli.php(1154)] from ::1 次のエラーが残っています。調べます 2022/03/16 13:02:52 [/******/html/admin/index.php] Warning(E_WARNING): Undefined array key "login_id" on [/***************/data/class/util/GC_Utils.php(199)] from ::1 2022/03/16 13:02:52 [/******/html/admin/index.php] Warning(E_WARNING): Undefined array key "authority" on [/***************/data/class/util/GC_Utils.php(199)] from ::1 2022/03/16 13:02:52 [/******/html/admin/index.php] Warning(E_WARNING): Undefined array key "file" on [/***************/data/class/util/GC_Utils.php(88)] from ::1 2022/03/16 13:02:52 [/******/html/admin/index.php] Fatal error(E_COMPILE_ERROR): Cannot make static method SC_Plugin_Base::install() non static in class DelivFreePerShipping on [/***************/data/downloads/plugin/DelivFreePerShipping/DelivFreePerShipping.php(45)] from ::1 login_id = ()[9baa0b85] |
red |
投稿日時: 2022/3/17 22:14
対応状況: −−−
|
神 登録日: 2010/2/15 居住地: 東京都 投稿: 1570 |
Re: 2.17.2移行 mysql DBが読み込めない 2022/03/16 13:02:52 [/******/html/admin/index.php] Fatal error(E_COMPILE_ERROR): Cannot make static method SC_Plugin_Base::install() non static in class DelivFreePerShipping on [/***************/data/downloads/plugin/DelivFreePerShipping/DelivFreePerShipping.php(45)] from ::1
DelivFreePerShippingというプラグインが原因ぽいのでそこを見てみてください DelivFreePerShipping/DelivFreePerShipping.phpの45行目です
|
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | トップ |