
in E:\phpStudy\PHPTutorial\WWW\fecshop\vendor\yiisoft\yii2\base\View.php at line 257 – yii\base\View::renderPhpFile('E:\phpStudy\PHPTutorial\WWW\fecs...', ['shippings' => [['method' => 'free_shipping', 'label' => 'Free shipping( 7-20 work days)', 'name' => 'HKBRAM', 'cost' => '0.00', ...], ['method' => 'middle_shipping', 'label' => 'middle shipping( 6-15 work days)', 'name' => 'HKBRAM', 'cost' => '2.52', ...]], 'cart_info' => ['coupon_available' => null, 'coupon_unavailable' => null, 'coupon_selected' => null, 'cart_id' => '1', ...], 'currency_info' => ['code' => 'CNY', 'rate' => '6.3', 'symbol' => '¥'], 'default_address' => fecyo\models\mysqldb\customer\Address, ...])
后台菜单:商城管理》用户》用户优惠券
Http status: 500 Internal Server Error
ajaxOptions: error
thrownError: Internal Server Error
Exception (Invalid Configuration) 'yii\base\InvalidConfigException' with message 'Child Service [coupon_type_percent] is not find in fecyo\services\Coupon, you must config it! '
in E:\phpStudy\PHPTutorial\WWW\fecshop\vendor\fancyecommerce\fecshop\services\Service.php:79
Stack trace:
#0 E:\phpStudy\PHPTutorial\WWW\fecshop\vendor\fancyecommerce\fecshop\services\Service.php(38): fecshop\services\Service->getChildService('coupon_type_per...')
#1 E:\phpStudy\PHPTutorial\WWW\fecshop\addons\fecmall\fecyo\app\appadmin\modules\Customer\block\coupon\Manager.php(43): fecshop\services\Service->__get('coupon_type_per...')
#2 E:\phpStudy\PHPTutorial\WWW\fecshop\vendor\yiisoft\yii2\base\BaseObject.php(109): fecyo\app\appadmin\modules\Customer\block\coupon\Manager->init()
#3 E:\phpStudy\PHPTutorial\WWW\fecshop\vendor\fancyecommerce\fecshop\app\appadmin\modules\AppadminController.php(167): yii\base\BaseObject->__construct()
#4 E:\phpStudy\PHPTutorial\WWW\fecshop\addons\fecmall\fecyo\app\appadmin\modules\Customer\controllers\CouponController.php(25): fecshop\app\appadmin\modules\AppadminController->getBlock()
#5 [internal function]: fecyo\app\appadmin\modules\Customer\controllers\CouponController->actionManager()
#6 E:\phpStudy\PHPTutorial\WWW\fecshop\vendor\yiisoft\yii2\base\InlineAction.php(57): call_user_func_array(Array, Array)
#7 E:\phpStudy\PHPTutorial\WWW\fecshop\vendor\yiisoft\yii2\base\Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#8 E:\phpStudy\PHPTutorial\WWW\fecshop\vendor\yiisoft\yii2\base\Module.php(528): yii\base\Controller->runAction('manager', Array)
#9 E:\phpStudy\PHPTutorial\WWW\fecshop\vendor\yiisoft\yii2\web\Application.php(103): yii\base\Module->runAction('customer/coupon...', Array)
#10 E:\phpStudy\PHPTutorial\WWW\fecshop\vendor\yiisoft\yii2\base\Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#11 E:\phpStudy\PHPTutorial\WWW\fecshop\appadmin\web\index.php(50): yii\base\Application->run()
#12 {main}
另外:安装fecmall时的初始密码最小数量不是六位,虽然问题不大,但还是反馈下,嘻嘻