質問 > 管理機能 > 本番環境のコピーを作ろうとしたらエラーが出ます。 |
管理機能
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | 下へ |
投稿者 | スレッド |
---|---|
cro233 |
投稿日時: 2021/3/26 15:58
対応状況: −−−
|
常連 登録日: 2020/1/9 居住地: 投稿: 69 |
本番環境のコピーを作ろうとしたらエラーが出ます。 [EC-CUBE] 4.0.3
[レンタルサーバ] エックスサーバー [OS] Mac OS [PHP] 7.2.27 [データベース] MySQL 5.7.27 [WEBサーバ] Apache [ブラウザ] Google Chrome、Safari ▼導入プラグイン ・カテゴリページ/コンテンツ追加 for EC-CUBE4 ・Coupon Plugin for EC-CUBE4 ・運送会社連携プラグイン ・PGマルチペイメントサービス決済プラグイン ・ポストキャリアプラグイン ・商品問い合わせ for EC-CUBE4 ・商品オプションプラグイン ・おすすめ商品管理プラグイン ・taba app CMSプラグイン ▼問題点 本番環境のコピーをテスト環境に移そうと思っております。 ・テスト環境のドメイン設定、ネームサーバー設定、SSL設定、MySQL設定 ・本番環境のデータベースをエクスポート ・テスト環境にデータベースをインポート ・テスト環境のFTPに「dw.php」をアップロード まで完了しております。 ドメイン名/dw.php にアクセスしたところ、通常だとインストーラー画面が表示されるはずですが、今回の私の環境では「Whoops, looks like something went wrong.」という画面が出ます。 ※通常のエラーとはまた異なる画面です。 解決方法をご存知の方、いらっしゃらないでしょうか? ▼エラー文 ————————————————————————— Whoops, looks like something went wrong. (1/1) ContextErrorException Notice: Trying to access array offset on value of type null in DocParser.php line 1002 at DocParser->Identifier() in DocParser.php line 687 at DocParser->Annotation() in DocParser.php line 663 at DocParser->Annotations() in DocParser.php line 354 at DocParser->parse('/** @MappedSuperclass */', 'class Eccube\\Entity\\AbstractEntity') in AnnotationReader.php line 405 at AnnotationReader->collectParsingMetadata(object(ReflectionClass)) in AnnotationReader.php line 338 at AnnotationReader->getClassImports(object(ReflectionClass)) in AnnotationReader.php line 218 at AnnotationReader->getClassAnnotations(object(ReflectionClass)) in CachedReader.php line 79 at CachedReader->getClassAnnotations(object(ReflectionClass)) in AnnotationDriver.php line 176 at AnnotationDriver->isTransient('Eccube\\Entity\\AbstractEntity') in MappingDriverChain.php line 132 at MappingDriverChain->isTransient('Eccube\\Entity\\AbstractEntity') in AbstractClassMetadataFactory.php line 251 at AbstractClassMetadataFactory->getParentClasses('Eccube\\Entity\\Plugin') in AbstractClassMetadataFactory.php line 283 at AbstractClassMetadataFactory->loadMetadata('Eccube\\Entity\\Plugin') in ClassMetadataFactory.php line 78 at ClassMetadataFactory->loadMetadata('Eccube\\Entity\\Plugin') in AbstractClassMetadataFactory.php line 183 at AbstractClassMetadataFactory->getMetadataFor('Eccube\\Entity\\Plugin') in EntityManager.php line 283 at EntityManager->getClassMetadata('Eccube\\Entity\\Plugin') in EntityManager_9a5be93.php line 110 at EntityManager_9a5be93->getClassMetadata('Eccube\\Entity\\Plugin') in ServiceEntityRepository.php line 39 at ServiceEntityRepository->__construct(object(Registry), 'Eccube\\Entity\\Plugin') in PluginRepository.php line 29 at PluginRepository->__construct(object(Registry)) in EccubeInstallDebugProjectContainer.php line 2785 at EccubeInstallDebugProjectContainer->getPluginRepositoryService() in EccubeInstallDebugProjectContainer.php line 2509 at EccubeInstallDebugProjectContainer->getProfilerService() in EccubeInstallDebugProjectContainer.php line 3827 at EccubeInstallDebugProjectContainer->getProfilerListenerService() in EccubeInstallDebugProjectContainer.php line 3234 at EccubeInstallDebugProjectContainer->Container5avz8yx\{closure}() in EventDispatcher.php line 229 at EventDispatcher->sortListeners('kernel.exception') in EventDispatcher.php line 61 at EventDispatcher->getListeners('kernel.exception') in ContainerAwareEventDispatcher.php line 128 at ContainerAwareEventDispatcher->getListeners('kernel.exception') in TraceableEventDispatcher.php line 262 at TraceableEventDispatcher->preProcess('kernel.exception') in TraceableEventDispatcher.php line 137 at TraceableEventDispatcher->dispatch('kernel.exception', object(GetResponseForExceptionEvent)) in HttpKernel.php line 228 at HttpKernel->handleException(object(FileLoaderLoadException), object(Request), 1) in HttpKernel.php line 79 at HttpKernel->handle(object(Request), 1, true) in Kernel.php line 200 at Kernel->handle(object(Request)) in index.php line 76 ————————————————————————— |
balisys |
投稿日時: 2024/12/28 18:52
対応状況: −−−
|
仙人 登録日: 2020/7/5 居住地: 投稿: 502 |
Re: 本番環境のコピーを作ろうとしたらエラーが出ます。 引用:
本番環境のコピーをテスト環境に移そうと思っております。 本番環境をコピーとのことですので、既にインストールが完了して運用されているEC-CUBEを元にてテスト環境を作成されようとしているのかと思いますが、その場合は再度インストーラーを起動する必要はないのかなと思います。 EC-CUBEのソースコード一式とDBのdumpを元にテスト環境へリストアを行ってから、.envの内容をテスト環境用に書き換えてTOPページにアクセスしてみる、という形で移行されてるか確認してみてはいかがでしょうか。 |
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | トップ |