バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

質問 > フロント機能 > /Shoppingで、システムエラーが表示される

フロント機能

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
aka9
投稿日時: 2020/1/22 19:28
対応状況: −−−
新米
登録日: 2019/10/28
居住地:
投稿: 6
/Shoppingで、システムエラーが表示される
▼テンプレート
[EC-CUBE] 4.03
[レンタルサーバ] サクラインターネット

[現象]
EC-Cubeバージョンを4.02から4.03にアップグレードしました。
そうしたら、レジに進む(/Shopping)で、システムエラーが表示される様になってしまいました。

どなたか解決策、わかりますでしょうか??


以下、front-xxx.logのエラー箇所です。
-----------------------------------
[2020-01-22 19:20:11] front.ERROR [bifedf1l5uob0vk0olh780dfh5] [2ff8527] [anon.] [Eccube\Log\Logger:log:66] - システムエラーが発生しました。 ["An exception occurred while executing 'INSERT INTO dtb_order_item (product_name, product_code, class_name1, class_name2, class_category_name1, class_category_name2, price, quantity, tax, tax_rate, tax_adjust, tax_rule_id, currency_code, processor_name, point_rate, order_id, product_id, product_class_id, shipping_id, rounding_type_id, tax_type_id, tax_display_type_id, order_item_type_id, discriminator_type) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [\"USB TypeC\\u30aa\\u30b9\\u21d4USB TypeA\\u30e1\\u30b9\\u5909\\u63db\\u30a2\\u30c0\\u30d7\\u30bf\\u30fc\", \"UCM-UAF\", null, null, null, null, \"1600.00\", \"1\", 160, \"10\", \"0\", null, \"JPY\", null, null, 53, 43, 49, 53, 1, 1, 1, 1, \"orderitem\"]:\n\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 'tax_adjust' in 'field list'","/home/*****/www/s9/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php",60,"#0 /home/*****/www/s9/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(169): Doctrine\\DBAL\\Driver\\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\\DBAL\\Driver\\PDOException))\n#1 /home/*****/www/s9/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(145): Doctrine\\DBAL\\DBALException::wrapException(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), 'An exception oc...')\n#2 /home/*****/www/s9/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php(162): Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), 'INSERT INTO dtb...', Array)\n#3 /home/*****/www/s9/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(285): Doctrine\\DBAL\\Statement->execute()\n#4 /home/*****/www/s9/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1073): Doctrine\\ORM\\Persisters\\Entity\\BasicEntityPersister->executeInserts()\n#5 /home/*****/www/s9/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(386): Doctrine\\ORM\\UnitOfWork->executeInserts(Object(Doctrine\\ORM\\Mapping\\ClassMetadata))\n#6 /home/*****/www/s9/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(359): Doctrine\\ORM\\UnitOfWork->commit(NULL)\n#7 /home/*****/www/s9/var/cache/prod/ContainerCrulogz/EntityManager_9a5be93.php(83): Doctrine\\ORM\\EntityManager->flush(NULL)\n#8 /home/*****/www/s9/src/Eccube/Controller/ShoppingController.php(114): EntityManager_9a5be93->flush()\n#9 /home/*****/www/s9/vendor/symfony/http-kernel/HttpKernel.php(151): Eccube\\Controller\\ShoppingController->index(Object(Eccube\\Service\\PurchaseFlow\\PurchaseFlow))\n#10 /home/*****/www/s9/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#11 /home/*****/www/s9/vendor/symfony/http-kernel/Kernel.php(200): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#12 /home/*****/www/s9/index.php(76): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#13 {main}"] [GET, /shopping, 60.237.51.177, https://signage9.com/cart, Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36]
umebius
投稿日時: 2020/1/23 15:40
対応状況: −−−
登録日: 2016/7/22
居住地:
投稿: 2085
Re: /Shoppingで、システムエラーが表示される
dtb_order_item のtax_adjustは4.03で追加されたカラムで、それが存在しないというエラーになります。


php bin/console eccube:schema:update --force --dump-sql
というコマンドを実行すればカラムが追加されると思います。


----------------
EC-CUBEカスタマイズ・高速化・脆弱性対策・SEO ご相談ください。

2系・3系から4系へのバージョンアップ実績豊富

aka9
投稿日時: 2020/1/23 19:25
対応状況: 解決済
新米
登録日: 2019/10/28
居住地:
投稿: 6
Re: /Shoppingで、システムエラーが表示される
直りました~。ありがとうございます!!
スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は88,714名です
総投稿数は109,950件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2313
5
umebius
2085
6
yuh
1819
7
h_tanaka
1638
8
red
1570
9
mcontact
1285
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

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

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