操作描述
首先说明论坛搜索过之前有相似的例子http://www.fecshop.com/topic/862, 但是我并未升级,是刚安装的,安装好之后报"File is not Found.",论坛搜索找到原因,给所有文件加上755权限之后就报标题的错误了,具体信息跟截图如下:
错误日志
yii\base\InvalidValueException
config key: 'beforeContent', can not find in Yii::$service->page->widget->widgetConfig, you must config it before use it.
in /www/web/fecshop/vendor/fancyecommerce/fecshop/services/page/Widget.php at line 62
53545556575859606162636465666768697071 {
$config = '';
if (is_array($configKey)) {
$config = $configKey;
$configKey = '';
} else {
if (isset($this->widgetConfig[$configKey])) {
$config = $this->widgetConfig[$configKey];
} else {
throw new InvalidValueException(" config key: '$configKey', can not find in ".'Yii::$service->page->widget->widgetConfig'.', you must config it before use it.');
}
}
return $this->renderContent($configKey, $config, $parentThis);
}
/**
- @property $configKey | string ,使用配置中的widget,该参数对应相应的数组key
- @property $config,就是上面actionRender()方法中的参数,格式一样。
- @property $parentThis | array or '' , 调用层传递的参数数组,可以在view中调用。
最后说明
我是部署在公网上并且有域名的,是http://appfront.copy163.com/ ,谁知道麻烦告知一下怎么解决,按照惯例,我一般都会解决完就在qq群发红包啦,谢谢啦