Novice

第 179 位会员

会员
个人信息
  • 加入于 2017-09-15 11:14:06
  • 最后登录时间 1年前
个人成就
  • 发表文章次数 1
  • 发布回复次数 9
  • 个人主页浏览次数 0
fecshop手机端切换语言时出现An internal server error occurred.是我配置问题吗?1年前

我是配置的@apphtml/config/fecshop_local_services/Store.php这个文件,我想请教的是我跳转的url没问题,本地配置的模板路径也没问题,为什么跳转的中文页面却是appfront的模板了

fecshop手机端切换语言时出现An internal server error occurred.是我配置问题吗?1年前

这个本地模板路径我定义的是apphtml5的模板,手机端跳转的页面却和appfront的模板一样,哪里还需要配置请教一下

fecshop手机端切换语言时出现An internal server error occurred.是我配置问题吗?1年前

An Error occurred while handling another error: exception 'ReflectionException' with message 'Method fecshop\services\page\Asset::register() does not exist' in /www/web/fecshop/vendor/yiisoft/yii2/web/ErrorHandler.php:195 Stack trace: #0 /www/web/fecshop/vendor/yiisoft/yii2/web/ErrorHandler.php(195): ReflectionMethod->construct('fecshop\service...', 'register') #1 /www/web/fecshop/vendor/yiisoft/yii2/views/errorHandler/callStackItem.php(26): yii\web\ErrorHandler->addTypeLinks('fecshop\service...') #2 /www/web/fecshop/vendor/yiisoft/yii2/base/View.php(330): require('/www/web/fecsho...') #3 /www/web/fecshop/vendor/yiisoft/yii2/base/View.php(250): yii\base\View->renderPhpFile('/www/web/fecsho...', Array) #4 /www/web/fecshop/vendor/yiisoft/yii2/web/ErrorHandler.php(249): yii\base\View->renderFile('@yii/views/erro...', Array, Object(yii\web\ErrorHandler)) #5 /www/web/fecshop/vendor/yiisoft/yii2/web/ErrorHandler.php(304): yii\web\ErrorHandler->renderFile('@yii/views/erro...', Array) #6 /www/web/fecshop/vendor/yiisoft/yii2/web/ErrorHandler.php(326): yii\web\ErrorHandler->renderCallStackItem('/www/web/fecsho...', 39, 'fecshop\service...', 'register', Array, 15) #7 /www/web/fecshop/vendor/yiisoft/yii2/views/errorHandler/exception.php(381): yii\web\ErrorHandler->renderCallStack(Object(yii\base\InvalidConfigException)) #8 /www/web/fecshop/vendor/yiisoft/yii2/base/View.php(330): require('/www/web/fecsho...') #9 /www/web/fecshop/vendor/yiisoft/yii2/base/View.php(250): yii\base\View->renderPhpFile('/www/web/fecsho...', Array) #10 /www/web/fecshop/vendor/yiisoft/yii2/web/ErrorHandler.php(249): yii\base\View->renderFile('@yii/views/erro...', Array, Object(yii\web\ErrorHandler)) #11 /www/web/fecshop/vendor/yiisoft/yii2/web/ErrorHandler.php(116): yii\web\ErrorHandler->renderFile('@yii/views/erro...', Array) #12 /www/web/fecshop/vendor/yiisoft/yii2/base/ErrorHandler.php(111): yii\web\ErrorHandler->renderException(Object(yii\base\InvalidConfigException)) #13 [internal function]: yii\base\ErrorHandler->handleException(Object(yii\base\InvalidConfigException)) #14 {main} Previous exception: exception 'yii\base\InvalidConfigException' with message 'The directory is not writable by the Web process: /www/web/fecshop/apphtml5/web/cn/assets' in /www/web/fecshop/vendor/yiisoft/yii2/web/AssetManager.php:215 Stack trace: #0 /www/web/fecshop/vendor/yiisoft/yii2/base/Object.php(107): yii\web\AssetManager->init() #1 [internal function]: yii\base\Object->construct(Array) #2 /www/web/fecshop/vendor/yiisoft/yii2/di/Container.php(381): ReflectionClass->newInstanceArgs(Array) #3 /www/web/fecshop/vendor/yiisoft/yii2/di/Container.php(156): yii\di\Container->build('yii\web\AssetMa...', Array, Array) #4 /www/web/fecshop/vendor/yiisoft/yii2/BaseYii.php(348): yii\di\Container->get('yii\web\AssetMa...', Array, Array) #5 /www/web/fecshop/vendor/yiisoft/yii2/di/ServiceLocator.php(135): yii\BaseYii::createObject(Array) #6 /www/web/fecshop/vendor/yiisoft/yii2/base/Application.php(605): yii\di\ServiceLocator->get('assetManager') #7 /www/web/fecshop/vendor/yiisoft/yii2/web/View.php(225): yii\base\Application->getAssetManager() #8 /www/web/fecshop/vendor/yiisoft/yii2/base/Component.php(132): yii\web\View->getAssetManager() #9 /www/web/fecshop/vendor/fancyecommerce/fecshop/services/page/Asset.php(90): yii\base\Component->__get('assetManager') #10 [internal function]: fecshop\services\page\Asset->actionRegister(Object(yii\web\View)) #11 /www/web/fecshop/vendor/fancyecommerce/fecshop/services/Service.php(49): call_user_func_array(Array, Array) #12 /www/web/fecshop/vendor/fancyecommerce/fecshop/app/appfront/theme/base/front/layouts/home.php(39): fecshop\services\Service->__call('register', Array) #13 /www/web/fecshop/vendor/fancyecommerce/fecshop/app/appfront/theme/base/front/layouts/home.php(39): fecshop\services\page\Asset->register(Object(yii\web\View)) #14 /www/web/fecshop/vendor/yiisoft/yii2/base/View.php(330): require('/www/web/fecsho...') #15 /www/web/fecshop/vendor/yiisoft/yii2/base/View.php(250): yii\base\View->renderPhpFile('/www/web/fecsho...', Array) #16 /www/web/fecshop/vendor/yiisoft/yii2/base/Controller.php(396): yii\base\View->renderFile('/www/web/fecsho...', Array, Object(fecshop\app\appfront\modules\Cms\controllers\HomeController)) #17 /www/web/fecshop/vendor/fancyecommerce/fecshop/app/appfront/modules/AppfrontController.php(98): yii\base\Controller->renderContent('

Your Site Analytics