バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

その他 > その他 > 環境移行時に発生したエラー

その他

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
kawase
投稿日時: 2022/1/20 3:18
対応状況: −−−
新米
登録日: 2022/1/20
居住地:
投稿: 2
環境移行時に発生したエラー
▼テンプレート
[EC-CUBE] 4.0.4 アップデート等不明
[レンタルサーバ] -
[OS] Linux version 4.18.0-348.el8.x86_64 (mockbuild@koji.corp.cloudlinux.com) (gcc version 8.5.0 20210514 (Red Hat 8.5.0-3) (GCC)) #1 SMP Tue Nov 9 06:28:28 EST 2021
[PHP] 7.4.27
[データベース] mariadb 10.3.28
[WEBサーバ] apache/2.4.37
[ブラウザ] google chrome 97.0.4692.71
[導入プラグインの有無] WebAPI 1.0.0 / EC-CUBEアップデートプラグイン 1.0.0
[カスタマイズの有無] twig等フロント部分のみ 詳細不明
[現象] サーバー移行を行いキャッシュクリアを行った所、ブラウザからは500エラーが発生し表示されなくなりました。
サーバーでphp bin/console cache:clear --no-warmupやphp bin/consoleを行った場合、
In FileLoader.php line 168:

There is no extension able to load the configuration for "trikoder_oauth2" (
in "/var/www/html/eccube/app/Plugin/Api/Resource/config/services.yaml"). Look
ed for namespace "trikoder_oauth2", found ""framework", "security", "doctrin
e_cache", "doctrine", "doctrine_migrations", "doctrine_fixtures", "sensio_fr
amework_extra", "monolog", "swiftmailer", "twig", "mobile_detect", "knp_pagi
nator", "eccube"" in /var/www/html/eccube/app/Plugin/Api/Resource/config/serv
ices.yaml (which is loaded in resource "/var/www/html/eccube/app/Plugin/Api/R
esource/config/services.yaml").


In YamlFileLoader.php line 698:

There is no extension able to load the configuration for "trikoder_oauth2" (
in "/var/www/html/eccube/app/Plugin/Api/Resource/config/services.yaml"). Look
ed for namespace "trikoder_oauth2", found ""framework", "security", "doctrin
e_cache", "doctrine", "doctrine_migrations", "doctrine_fixtures", "sensio_fr
amework_extra", "monolog", "swiftmailer", "twig", "mobile_detect", "knp_pagi
nator", "eccube"".
が表示され、
composer dumpautoloadを行った場合、
Generating optimized autoload files
Deprecation Notice: Class Eccube\Entity\BaseInfo located in ./app/proxy/entity/src/Eccube/Entity/BaseInfo.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Eccube\Entity\Customer located in ./app/proxy/entity/src/Eccube/Entity/Customer.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Eccube\Entity\Order located in ./app/proxy/entity/src/Eccube/Entity/Order.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Warning: Ambiguous class resolution, "Eccube\Entity\BaseInfo" was found 2x: in "/var/www/html/eccube/app/proxy/entity/src/Eccube/Entity/BaseInfo.php" and "/var/www/html/eccube/src/Eccube/Entity/BaseInfo.php", the first will be used.
Warning: Ambiguous class resolution, "Eccube\Entity\Customer" was found 2x: in "/var/www/html/eccube/app/proxy/entity/src/Eccube/Entity/Customer.php" and "/var/www/html/eccube/src/Eccube/Entity/Customer.php", the first will be used.
Warning: Ambiguous class resolution, "Eccube\Entity\Order" was found 2x: in "/var/www/html/eccube/app/proxy/entity/src/Eccube/Entity/Order.php" and "/var/www/html/eccube/src/Eccube/Entity/Order.php", the first will be used.
Carbon 1 is deprecated, see how to migrate to Carbon 2.
https://carbon.nesbot.com/docs/#api-carbon-2
You can run './vendor/bin/upgrade-carbon' to get help in updating carbon and other frameworks and libraries that depend on it.
Generated optimized autoload files containing 7893 classes
が表示されますが、php bin/console実行時のエラーは変わらず表示されエラーから抜けられません。

rm -rf ./EC-CUBEルートディレクトリ/var/cache/prod/*
の実行でキャッシュのクリアも試みましたが改善は行われません。
ファイル数等も移行前後で比較を行いましたがvarディレクトリ以外に差異は無い状態です。
色々と調べて試してみましたが改善の兆しがありません。
復旧方法等ご存じでしたらご教示頂ければと思います。
kawase
投稿日時: 2022/1/20 13:41
対応状況: −−−
新米
登録日: 2022/1/20
居住地:
投稿: 2
Re: 環境移行時に発生したエラー
状況の追加です。

再度ECCUBEのプログラムファイルの入れ直しを行い、
コマンドでのキャッシュクリアを試してみました。

php bin/console cache:clear --no-warmup
上記コマンドの実行は成功しましたが、
php bin/console cache:warmup
の実行を行った所、画面上でキャッシュクリアを行った後に発生するエラーと同一の症状が発生しました。
スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


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

統計情報

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

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2311
5
umebius
2085
6
yuh
1819
7
h_tanaka
1635
8
red
1569
9
mcontact
1265
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.