EC-CUBE / EC-CUBE/ec-cube

キャッシュ削除でメンテナンスモードが有効になる

Open
#5,948 2 comments 0 reactions 0 assignees View on GitHub
Status: discussion
Dominant language
PHP
Stars
788
Forks
719
Avg merge
4d 4h
Merged PRs (30d)
39

Description

### 概要(Overview)

キャッシュ削除でメンテナンスモードが有効になることがある。
メンテナンスモードが有効になっていることはフロント画面を見ないと気づかない。

開発コミュニティ
https://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=27367&forum=9&post_id=108542

### 再現手順(Procedure)

管理画面でキャッシュ削除した後、管理画面のどのページでも良いのでアクセスするとシステムエラーになる。
Compile Error: require(): Failed opening required '/var/cache/prod/doctrine/orm/Proxies/__CG__EccubeEntityMasterWork.php' (include_path='.:/usr/share/pear:/usr/share/php')","/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php

この状態でフロント画面を見ると、メンテナンスモードが有効のままになってしまっている。

### 環境(Environment)

EC-CUBE 4.1.2, 4.2.0
PHP 7.4.33
MySQL 5.7.39

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.