xiaobeibei

第 61 位会员

会员
个人信息
  • 加入于 2017-06-19 14:12:26
  • 最后登录时间 1年前
个人成就
  • 发表文章次数 9
  • 发布回复次数 29
  • 个人主页浏览次数 3
Connection could not be established with host smpt.qq.com1年前

linux的,php版本5.4.34,所有的配置都是按照您的文档的版本来弄的

Connection could not be established with host smpt.qq.com1年前
An Error occurred while handling another error:
exception 'ReflectionException' with message 'Method fecshop\services\Email::send() does not exist' in /home/cuiky/fecshop/vendor/yiisoft/yii2/web/ErrorHandler.php:195
Stack trace:
#0 /home/cuiky/fecshop/vendor/yiisoft/yii2/web/ErrorHandler.php(195): ReflectionMethod->__construct('fecshop\\service...', 'send')
#1 /home/cuiky/fecshop/vendor/yiisoft/yii2/views/errorHandler/callStackItem.php(26): yii\web\ErrorHandler->addTypeLinks('fecshop\\service...')
#2 /home/cuiky/fecshop/vendor/yiisoft/yii2/base/View.php(330): require('/home/cuiky/fec...')
#3 /home/cuiky/fecshop/vendor/yiisoft/yii2/base/View.php(250): yii\base\View->renderPhpFile('/home/cuiky/fec...', Array)
#4 /home/cuiky/fecshop/vendor/yiisoft/yii2/web/ErrorHandler.php(249): yii\base\View->renderFile('@yii/views/erro...', Array, Object(yii\web\ErrorHandler))
#5 /home/cuiky/fecshop/vendor/yiisoft/yii2/web/ErrorHandler.php(304): yii\web\ErrorHandler->renderFile('@yii/views/erro...', Array)
#6 /home/cuiky/fecshop/vendor/yiisoft/yii2/web/ErrorHandler.php(326): yii\web\ErrorHandler->renderCallStackItem('/home/cuiky/fec...', 53, 'fecshop\\service...', 'send', Array, 12)
#7 /home/cuiky/fecshop/vendor/yiisoft/yii2/views/errorHandler/exception.php(381): yii\web\ErrorHandler->renderCallStack(Object(Swift_TransportException))
#8 /home/cuiky/fecshop/vendor/yiisoft/yii2/base/View.php(330): require('/home/cuiky/fec...')
#9 /home/cuiky/fecshop/vendor/yiisoft/yii2/base/View.php(250): yii\base\View->renderPhpFile('/home/cuiky/fec...', Array)
#10 /home/cuiky/fecshop/vendor/yiisoft/yii2/web/ErrorHandler.php(249): yii\base\View->renderFile('@yii/views/erro...', Array, Object(yii\web\ErrorHandler))
#11 /home/cuiky/fecshop/vendor/yiisoft/yii2/web/ErrorHandler.php(116): yii\web\ErrorHandler->renderFile('@yii/views/erro...', Array)
#12 /home/cuiky/fecshop/vendor/yiisoft/yii2/base/ErrorHandler.php(111): yii\web\ErrorHandler->renderException(Object(Swift_TransportException))
#13 [internal function]: yii\base\ErrorHandler->handleException(Object(Swift_TransportException))
#14 {main}
Previous exception:
exception 'Swift_TransportException' with message 'Connection could not be established with host smtp.qq.com [php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution #0]' in /home/cuiky/fecshop/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:268
Stack trace:
#0 /home/cuiky/fecshop/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php(62): Swift_Transport_StreamBuffer->_establishSocketConnection()
#1 /home/cuiky/fecshop/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(113): Swift_Transport_StreamBuffer->initialize(Array)
#2 /home/cuiky/fecshop/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php(79): Swift_Transport_AbstractSmtpTransport->start()
#3 /home/cuiky/fecshop/vendor/yiisoft/yii2-swiftmailer/Mailer.php(145): Swift_Mailer->send(Object(Swift_Message))
#4 /home/cuiky/fecshop/vendor/yiisoft/yii2/mail/BaseMailer.php(262): yii\swiftmailer\Mailer->sendMessage(Object(yii\swiftmailer\Message))
#5 /home/cuiky/fecshop/vendor/yiisoft/yii2/mail/BaseMessage.php(48): yii\mail\BaseMailer->send(Object(yii\swiftmailer\Message))
#6 /home/cuiky/fecshop/vendor/fancyecommerce/fecshop/services/Email.php(227): yii\mail\BaseMessage->send()
#7 [internal function]: fecshop\services\Email->actionSend(Array, 'default')
#8 /home/cuiky/fecshop/vendor/fancyecommerce/fecshop/services/Service.php(48): call_user_func_array(Array, Array)
#9 /home/cuiky/fecshop/vendor/fancyecommerce/fecshop/services/email/Customer.php(53): fecshop\services\Service->__call('send', Array)
#10 /home/cuiky/fecshop/vendor/fancyecommerce/fecshop/services/email/Customer.php(53): fecshop\services\Email->send(Array, 'default')
#11 /home/cuiky/fecshop/vendor/fancyecommerce/fecshop/app/appfront/modules/Customer/block/account/Register.php(74): fecshop\services\email\Customer->sendRegisterEmail(Array)
#12 /home/cuiky/fecshop/vendor/fancyecommerce/fecshop/app/appfront/modules/Customer/block/account/Register.php(61): fecshop\app\appfront\modules\Customer\block\account\Register->sendRegisterEmail(Array)
#13 /home/cuiky/fecshop/vendor/fancyecommerce/fecshop/app/appfront/modules/Customer/controllers/AccountController.php(81): fecshop\app\appfront\modules\Customer\block\account\Register->register(Array)
#14 [internal function]: fecshop\app\appfront\modules\Customer\controllers\AccountController->actionRegister()
#15 /home/cuiky/fecshop/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#16 /home/cuiky/fecshop/vendor/yiisoft/yii2/base/Controller.php(156): yii\base\InlineAction->runWithParams(Array)
#17 /home/cuiky/fecshop/vendor/yiisoft/yii2/base/Module.php(523): yii\base\Controller->runAction('register', Array)
#18 /home/cuiky/fecshop/vendor/yiisoft/yii2/web/Application.php(102): yii\base\Module->runAction('customer/accoun...', Array)
#19 /home/cuiky/fecshop/vendor/yiisoft/yii2/base/Application.php(380): yii\web\Application->handleRequest(Object(fecshop\yii\web\Request))
#20 /home/cuiky/fecshop/appfront/web/index.php(97): yii\base\Application->run()
#21 {main}

Connection could not be established with host smpt.qq.com1年前

嗯 我的问题,以后绝不会这样了

Connection could not be established with host smpt.qq.com1年前

报的是这个错误,好像不是配置的问题哦

appfront中首页对应的Controller是哪个?1年前

这个映射关系在哪?我怎么才能通过urlManager中rules的配置得知其对应的controller 是哪个文件?

关于fecshop中 appfront->config->fecshop_local_services中的php文件和@fecshop->services中的php文件的关系1年前

那么fecshop\services目录下的所有定义的Service类就是所有config目录下中service的描述?不知道我描述的准不准确

fecshop运行时报错1年前

问题已经解决谢谢群主指点: 由于我的nginx中端口是1000,所以在配置Store的时候域名后面加上:1000就可以了

fecshop运行时报错1年前

我重启了下虚拟机还是不行

fecshop运行时报错1年前

我目前只是修改的是appfront模块的Store

fecshop运行时报错1年前

难道是有缓存?

fecshop运行时报错1年前

我把appfront的Store.php完全按照你的方式改了,但是改完后还是报同样的错误!!!我一脸无奈。

nginx file not found1年前

问题解决了 home的权限是755 但是cuiky的权限是711,我把cuiky的权限改为755就可以了,一步步走吧,后面肯定还有不少路要走,我要坚持下去

Your Site Analytics