バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

質問 > 管理機能 > EC-CUBEペイメントlite決済プラグインの有効化ができない

管理機能

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
akan
投稿日時: 2021/12/10 14:21
対応状況: 開発中
新米
登録日: 2021/12/8
居住地:
投稿: 5
EC-CUBEペイメントlite決済プラグインの有効化ができない
[EC-CUBE] 4.0.3
[レンタルサーバ] X server
[OS] Linux
[PHP] 7.3.31
[データベース] MySQL5.7
[WEBサーバ] Apache 2.4.6
[ブラウザ] Google Chrome
[導入プラグインの有無] 商品オプションプラグイン、まとめ買い価格設定プラグイン、会員項目追加プラグイン、マイページ/ファイルアップロードプラグイン
[現象]
EC-CUBEペイメントlite決済プラグイン(4.0系/4.1系)のインストールまでは
問題なくできるのですが、有効化をクリックするとシステムエラーで有効化できません。

原因が分からず困っております。
どなたか対処法等ご教授いただけませんでしょうか。
よろしくお願いいたします。


▼▼▼▼ エラー内容です ▼▼▼▼
[2021-12-10 13:51:49] admin.ERROR [42909838cd853bf1be812e436404488c] [e01b919] [1] [Eccube\Log\Logger:log:64] - システムエラーが発生しました。 ["Class 'Eccube\\Entity\\CustomerAddressqcm0JoiglmzN' does not exist","/public_html/src/Eccube/Service/PluginService.php",271,"#0 /public_html/src/Eccube/Service/PluginService.php(226): Eccube\\Service\\PluginService->postInstall(Array, 2200)\n#1 /public_html/src/Eccube/Controller/Admin/Store/PluginController.php(330): Eccube\\Service\\PluginService->installWithCode('EccubePaymentLi...')\n#2 /public_html/vendor/symfony/http-kernel/HttpKernel.php(151): Eccube\\Controller\\Admin\\Store\\PluginController->enable(Object(Eccube\\Entity\\Plugin), Object(Eccube\\Util\\CacheUtil), Object(Symfony\\Component\\HttpFoundation\\Request))\n#3 /public_html/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#4 /public_html/vendor/symfony/http-kernel/Kernel.php(200): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#5 /public_html/index.php(76): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#6 {main}"] [POST, /administrator/store/plugin/15/enable, 133.204.131.32, /administrator/store/plugin, Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36]


balisys
投稿日時: 2021/12/10 16:24
対応状況: −−−
仙人
登録日: 2020/7/5
居住地:
投稿: 398
Re: EC-CUBEペイメントlite決済プラグインの有効化ができない
[2021-12-10 13:51:49] admin.ERROR [42909838cd853bf1be812e436404488c] [e01b919] [1] [Eccube\Log\Logger:log:64] - システムエラーが発生しました。 ["Class 'Eccube\\Entity\\CustomerAddressqcm0JoiglmzN' does not exist","/public_html/src/Eccube/Service/PluginService.php",271,"#0 /public_html/src/Eccube/Service/PluginService.php(226): Eccube\\Service\\PluginService->postInstall(Array, 2200)\n

おそらくプラグインによる変更が反映されていない結果かと思います

https://doc4.ec-cube.net/customize_entity
コマンドで Proxy クラスを生成します。
bin/console eccube:generate:proxies

## 作成した Proxy クラスを確実に認識できるようキャッシュを削除
bin/console cache:clear --no-warmup

## 実行する SQL を確認
bin/console doctrine:schema:update --dump-sql

## SQL を実行
bin/console doctrine:schema:update --dump-sql --force


一度上記を試して駄目なら
以下を参考にコマンドライン上でのプラグインインストールをお試し下さい
https://doc4.ec-cube.net/plugin_install
akan
投稿日時: 2021/12/13 16:45
対応状況: −−−
新米
登録日: 2021/12/8
居住地:
投稿: 5
Re: EC-CUBEペイメントlite決済プラグインの有効化ができない
balisys様

ご回答ありがとうございます!
SSH接続して、教えていただいた内容を上から順番に試してみたところ
「実行する SQL を確認」と「SQL を実行」でそれぞれ下記のエラーが表示されます。
何が原因でエラーが出ているのかお分かりになりましたらご教授頂けますと幸いです。

※コマンドライン上でのプラグインインストールはまだ行っておりません。

## 実行する SQL を確認
bin/console doctrine:schema:update --dump-sql


▼▼▼エラー▼▼▼
 ERROR    [console] Error thrown while running command "'doctrine:schema:update' --dump-sql". Message: "Class 'Eccube\Entity\CustomerAddressaGp3aq8eKBaJ' does not exist" 
["exception" => Doctrine\Common\Persistence\Mapping\MappingException { …},"command" => "'doctrine:schema:update' --dump-sql","message" => "Class 
'Eccube\Entity\CustomerAddressaGp3aq8eKBaJ' does not exist"]
 ["file" => "/public_html/vendor/symfony/console/EventListener/ErrorListener.php","line" => 46,"class" => "Symfony\Component\Console\EventListener\ErrorListener","function" => "onConsoleError","uid" => "3cbfe15","user_id" => "N/A","session_id" => "N/A"]

In MappingException.php line 93:
                                                                    
  Class 'Eccube\Entity\CustomerAddressaGp3aq8eKBaJ' does not exist  


## SQL を実行
bin/console doctrine:schema:update --dump-sql --force


▼▼▼エラー▼▼▼
ERROR     [console] Error thrown while running command "'doctrine:schema:update' --dump-sql --force". Message: "Class 'Eccube\Entity\CustomerAddress4GRs2levJIMf' does not exist" [
"exception" => Doctrine\Common\Persistence\Mapping\MappingException { …},"command" => "'doctrine:schema:update' --dump-sql --force","message" => "Class 'Eccube\Entity\CustomerAddress4GRs2levJIMf' does not exist"] 
["file" => "/public_html/vendor/symfony/console/EventListener/ErrorListener.php","line" => 46,"class" =>
"Symfony\Component\Console\EventListener\ErrorListener","function" => "onConsoleError","uid" => "b82c95c","user_id" => "N/A","session_id" => "N/A"]

In MappingException.php line 93:
                                                                    
  Class 'Eccube\Entity\CustomerAddress4GRs2levJIMf' does not exist  

balisys
投稿日時: 2021/12/13 17:27
対応状況: −−−
仙人
登録日: 2020/7/5
居住地:
投稿: 398
Re: EC-CUBEペイメントlite決済プラグインの有効化ができない
引用:
Class 'Eccube\Entity\CustomerAddressaGp3aq8eKBaJ' does not exist
Class 'Eccube\Entity\CustomerAddress4GRs2levJIMf' does not exist

恐らくキャッシュだと思いますがClassが無いので
必要なファイルが生成されていない結果だと思われます
ディレクトリなどの権限等が要因でしょうか
akan
投稿日時: 2021/12/14 9:36
対応状況: −−−
新米
登録日: 2021/12/8
居住地:
投稿: 5
Re: EC-CUBEペイメントlite決済プラグインの有効化ができない
ご回答ありがとうございます。
ディレクトリの権限確認してみます。
balisys
投稿日時: 2021/12/15 11:48
対応状況: −−−
仙人
登録日: 2020/7/5
居住地:
投稿: 398
Re: EC-CUBEペイメントlite決済プラグインの有効化ができない
ssh接続後、root権限での操作可能であれば
rootでのキャッシュ削除を行った後エラーを確認する...のが
ディレクトリ権限が原因かどうか確認方法として一番楽で確実かもしれません
スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


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

統計情報

総メンバー数は88,974名です
総投稿数は110,019件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1646
8
red
1570
9
mcontact
1296
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.