appserver报错 Unable to resolve the request "cms/home/index"

安装报错 · heavy · 于 6年前 发布 · 3907 次阅读

配置好Store,192.168.137.131:8103正常,192.168.137.131:8104访问报错如下:

An Error occurred while handling another error: yii\base\InvalidRouteException: Unable to resolve the request "site/helper/error". in /home/easypay/php/fecshop/vendor/yiisoft/yii2/base/Module.php:532 Stack trace: #0 /home/easypay/php/fecshop/vendor/yiisoft/yii2/web/ErrorHandler.php(97): yii\base\Module->runAction('site/helper/err...') #1 /home/easypay/php/fecshop/vendor/yiisoft/yii2/base/ErrorHandler.php(111): yii\web\ErrorHandler->renderException(Object(yii\web\NotFoundHttpException)) #2 [internal function]: yii\base\ErrorHandler->handleException(Object(yii\web\NotFoundHttpException)) #3 {main} Previous exception: yii\base\InvalidRouteException: Unable to resolve the request "cms/home/index". in /home/easypay/php/fecshop/vendor/yiisoft/yii2/base/Module.php:532 Stack trace: #0 /home/easypay/php/fecshop/vendor/yiisoft/yii2/web/Application.php(102): yii\base\Module->runAction('cms/home/index', Array) #1 /home/easypay/php/fecshop/vendor/yiisoft/yii2/base/Application.php(380): yii\web\Application->handleRequest(Object(fecshop\yii\web\Request)) #2 /home/easypay/php/fecshop/appserver/web/index.php(69): yii\base\Application->run() #3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/easypay/php/fecshop/vendor/yiisoft/yii2/web/Application.php:114 Stack trace: #0 /home/easypay/php/fecshop/vendor/yiisoft/yii2/base/Application.php(380): yii\web\Application->handleRequest(Object(fecshop\yii\web\Request)) #1 /home/easypay/php/fecshop/appserver/web/index.php(69): yii\base\Application->run() #2 {main}

版本如下

"require": {
    "php": ">=5.4.0",
    "yiisoft/yii2": ">=2.0.6",
    "yiisoft/yii2-bootstrap": "*",
    "yiisoft/yii2-swiftmailer": "*",
	"yiisoft/yii2-apidoc": "~2.0.0",
    "fancyecommerce/fecshop": ">=1.1.4.2",
    "pingplusplus/pingpp-php": "*"
},
共收到 2 条回复 问题提问
Maria#16年前 0 个赞

如此古怪的问题,找找不到cms

  1. 是否按照这个文档进行的安装:http://www.fecshop.com/doc/fecshop-guide/develop/cn-1.0/guide-fecshop-about-hand-install.html

  2. vendor/fancyecommerce/fecshop 文件夹是否存在?里面是否有文件? 你是否乱修改了配置获取其他。

估计你就是没有按照说明来操作。或者没有操作好

Fecmall#26年前 0 个赞

这个问题很古怪,第一有人提出这个问题。

信息给予的太少,不好诊断你的具体问题。

你的排版太乱了,可以看下markdown的格式。

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