バージョン選択

フォーラム

メニュー

オンライン状況

32 人のユーザが現在オンラインです。 (12 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 32
もっと...

サイト内検索

質問 > その他 > 2.17.2移行 mysql DBが読み込めない

その他

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
kazz_oga
投稿日時: 2022/3/16 14:46
対応状況: 確認中
一人前
登録日: 2013/8/5
居住地: 東京都北区赤羽西
投稿: 141
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
居住地: 東京都
投稿: 1498
Re: 2.17.2移行 mysql DBが読み込めない
Warning 以外のエラーは出ていませんか?


----------------
EC-CUBEのカスタマイズ、トラブル解決承ります
お気軽にお問い合わせ下さい
https://www.ec-cube.net/integrate/partner/partner.php?partner_id=690

kazz_oga
投稿日時: 2022/3/17 9:09
対応状況: −−−
一人前
登録日: 2013/8/5
居住地: 東京都北区赤羽西
投稿: 141
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
居住地: 東京都北区赤羽西
投稿: 141
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
居住地: 東京都
投稿: 1498
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行目です


----------------
EC-CUBEのカスタマイズ、トラブル解決承ります
お気軽にお問い合わせ下さい
https://www.ec-cube.net/integrate/partner/partner.php?partner_id=690

スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン



統計情報

総メンバー数は74,626名です
総投稿数は104,055件です

投稿数ランキング

1
seasoft
7333
2
468
3217
3
AMUAMU
2712
4
nanasess
2202
5
umebius
2074
6
yuh
1664
7
red
1498
8
h_tanaka
1188
9
tsuji
942
10
fukap
907
11
shutta
835
12
tao_s
794
13 ramrun 789
14 karin 689
15 sumida 641
16
homan
633
17 DELIGHT 572
18
patapata
502
19
flealog
485
20 tonton 437


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.