その他 > その他 > 環境移行時に発生したエラー |
その他
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | 下へ |
投稿者 | スレッド |
---|---|
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 の実行を行った所、画面上でキャッシュクリアを行った後に発生するエラーと同一の症状が発生しました。 |
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | トップ |