你好,大佬,我的网站上线后想要启用配置加速问题,于是参考了文档:
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
在此期间,有检查过控制器的命名空间以及控制器名的大小写,确实没有问题,如果把加速关了,也能够正常访问,你这边抽空能进行下相关的测试吗,看看是否遇到类似的问题呢,望回复,谢谢。