- Affected version
- 2.0.1
Code:
ErrorException: Email to example@gmail.com failed: [E_WARNING] proc_open() has been disabled for security reasons src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:295
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] pro...', '/home/test...', 295, Array)
#1 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php(295): proc_open('/usr/sbin/sendm...', Array, Array)
#2 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php(58): Swift_Transport_StreamBuffer->_establishProcessConnection()
#3 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/SendmailTransport.php(119): Swift_Transport_StreamBuffer->initialize(Array)
#4 src/XF/Mail/Mailer.php(293): Swift_Transport_SendmailTransport->send(Object(Swift_Message), Array)
#5 src/XF/Mail/Mail.php(261): XF\Mail\Mailer->send(Object(Swift_Message), Object(Swift_SendmailTransport))
#6 src/XF/Service/User/AbstractConfirmationService.php(85): XF\Mail\Mail->send()
#7 src/XF/Service/User/AbstractConfirmationService.php(63): XF\Service\User\AbstractConfirmationService->sendConfirmationEmail()
#8 src/XF/ControllerPlugin/EmailConfirmation.php(43): XF\Service\User\AbstractConfirmationService->triggerConfirmation()
#9 src/XF/Pub/Controller/AccountConfirmation.php(45): XF\ControllerPlugin\EmailConfirmation->actionResend(Object(XF\Entity\User), '/account-confir...', Array)
#10 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\AccountConfirmation->actionResend(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:AccountConfi...', 'Resend', 'json', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\AccountConfirmation), NULL)
#12 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#14 src/XF.php(328): XF\App->run()
#15 index.php(13): XF::runApp('XF\\Pub\\App')
#16 {main}
array(4) {
["url"] => string(28) "/account-confirmation/resend"
["referrer"] => string(46) "https://www.example.com/register/complete"
["_GET"] => array(0) {
}
["_POST"] => array(6) {
["captcha_question_answer"] => string(6) "Şubat"
["captcha_question_hash"] => string(40) "ae8a64b8ab0028c40305ccb4fd119b6a21d29535"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(18) "/register/complete"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Code:
ErrorException: Email to example@gmail.com failed: [E_WARNING] proc_open() has been disabled for security reasons src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:295
Yığın izleme
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] pro...', '/home/test...', 295, Array)
#1 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php(295): proc_open('/usr/sbin/sendm...', Array, Array)
#2 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php(58): Swift_Transport_StreamBuffer->_establishProcessConnection()
#3 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/SendmailTransport.php(119): Swift_Transport_StreamBuffer->initialize(Array)
#4 src/XF/Mail/Mailer.php(293): Swift_Transport_SendmailTransport->send(Object(Swift_Message), Array)
#5 src/XF/Mail/Mail.php(261): XF\Mail\Mailer->send(Object(Swift_Message), Object(Swift_SendmailTransport))
#6 src/XF/Service/User/AbstractConfirmationService.php(85): XF\Mail\Mail->send()
#7 src/XF/Service/User/AbstractConfirmationService.php(63): XF\Service\User\AbstractConfirmationService->sendConfirmationEmail()
#8 src/XF/Service/User/Registration.php(306): XF\Service\User\AbstractConfirmationService->triggerConfirmation()
#9 src/XF/Service/User/Registration.php(265): XF\Service\User\Registration->sendRegistrationContact()
#10 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\User\Registration->_save()
#11 src/XF/Pub/Controller/Register.php(369): XF\Service\User\Registration->save()
#12 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Register->actionRegister(Object(XF\Mvc\ParameterBag))
#13 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Register', 'Register', 'json', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\Register), NULL)
#14 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#15 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#16 src/XF.php(328): XF\App->run()
#17 index.php(13): XF::runApp('XF\\Pub\\App')
#18 {main}
Durum isteği
array(4) {
["url"] => string(18) "/register/register"
["referrer"] => string(38) "https://www.example.com/register/"
["_GET"] => array(0) {
}
["_POST"] => array(19) {
["username"] => string(0) ""
["3763871dbdecfc3f1aca005f7cfc4a79a35e11d9"] => string(7) "Example"
["dc6575344f6ad330ba17c3c81aff76eba1c819fc"] => string(0) ""
["05b00ef4b5dbf850be7a272df38bb25759778864"] => string(21) "example@gmail.com"
["email"] => string(0) ""
["656ea84b4451d8f5b9fe0535b65e2f730d3b1679"] => string(8) "********"
["dob_month"] => string(1) "3"
["dob_day"] => string(1) "1"
["dob_year"] => string(4) "1998"
["location"] => string(9) "Zeytinova"
["custom_fields"] => array(1) {
["gender"] => string(6) "female"
}
["captcha_question_answer"] => string(4) "Ekim"
["captcha_question_hash"] => string(40) "591b092166c7b95a0222537188f0103f5af71eb0"
["reg_key"] => string(16) "kknZSeJ37nAhnACN"
["6a46cbc0b8e61aedd74e640ffebeca6b5f433b47"] => string(14) "Africa/Nairobi"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(10) "/register/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}