FECRO系统,在fecmall 配置加速开启后,显示Class fecro\app\appfront\modules\Cms\controllers\HomeController does not exist

bug问题 · Maiz · 于 1年前 发布 · 540 次阅读

你好,大佬,我的网站上线后想要启用配置加速问题,于是参考了文档: https://www.fecmall.com/doc/fecshop-guide/instructions/cn-2.0/guide-fecmall_config_speed.html 进行相关的设置,并通过 ww.xxxx.com/index-merge-config.php 生成了merge_config.php,然后我进行了网站访问结果报了如下错误:

Not instantiable – yii\di\NotInstantiableException
Failed to instantiate component or class "fecro\app\appfront\modules\Cms\controllers\HomeController".
↵
Caused by: ReflectionException
Class fecro\app\appfront\modules\Cms\controllers\HomeController does not exist

in C:\Users\Administrator\Desktop\demo_file\fecmall\vendor\yiisoft\yii2\di\Container.php at line 508

在此期间,有检查过控制器的命名空间以及控制器名的大小写,确实没有问题,如果把加速关了,也能够正常访问,你这边抽空能进行下相关的测试吗,看看是否遇到类似的问题呢,望回复,谢谢。

共收到 1 条回复 问题提问
Fecmall#11年前 0 个赞

出现类似问题的,一般都是字符缺失,大小写问题导致的,请仔细检查这个

添加回复 (需要登录)
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
Your Site Analytics