XF 2.2 ErrorException: Email to om***@gmail.com failed: [E_WARNING] mkdir(): No such file or directory

burakbilalyoruk

New member
Stack Trace:
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] mkd...', '/home/gsmfrm/pu...', 241, Array)
#1 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/KeyCache/DiskKeyCache.php(241): mkdir('/tmp/484cd69c48...')
#2 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/KeyCache/DiskKeyCache.php(74): Swift_KeyCache_DiskKeyCache->prepareCache('484cd69c4885b2e...')
#3 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/KeyCache/SimpleKeyCacheInputStream.php(55): Swift_KeyCache_DiskKeyCache->setString('484cd69c4885b2e...', 'body', '
ofsevim, GSM ...', 2)
#4 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/ByteStream/AbstractFilterableInputStream.php(171): Swift_KeyCache_SimpleKeyCacheInputStream->write('
ofsevim, GSM ...')
#5 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/ByteStream/AbstractFilterableInputStream.php(91): Swift_ByteStream_AbstractFilterableInputStream->doWrite('
ofsevim, GSM ...')
#6 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleMimeEntity.php(557): Swift_ByteStream_AbstractFilterableInputStream->write('ofsevim, GSM FO...')
#7 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleMimeEntity.php(532): Swift_Mime_SimpleMimeEntity->bodyToByteStream(Object(Swift_Transport_StreamBuffer))
#8 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleMimeEntity.php(570): Swift_Mime_SimpleMimeEntity->toByteStream(Object(Swift_Transport_StreamBuffer))
#9 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleMimeEntity.php(532): Swift_Mime_SimpleMimeEntity->bodyToByteStream(Object(Swift_Transport_StreamBuffer))
#10 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleMessage.php(604): Swift_Mime_SimpleMimeEntity->toByteStream(Object(Swift_Transport_StreamBuffer))
#11 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php(162): Swift_Mime_SimpleMessage->toByteStream(Object(Swift_Transport_StreamBuffer))
#12 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(400): Swift_Message->toByteStream(Object(Swift_Transport_StreamBuffer))
#13 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(502): Swift_Transport_AbstractSmtpTransport->streamMessage(Object(Swift_Message))
#14 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(518): Swift_Transport_AbstractSmtpTransport->doMailTransaction(Object(Swift_Message), 'admin@trtools.p...', Array, Array)
#15 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(206): Swift_Transport_AbstractSmtpTransport->sendTo(Object(Swift_Message), 'admin@trtools.p...', Array, Array)
#16 src/XF/Mail/Mailer.php(304): Swift_Transport_AbstractSmtpTransport->send(Object(Swift_Message), Array)
#17 src/XF/Mail/Mail.php(432): XF\Mail\Mailer->send(Object(Swift_Message), Object(XF\Mail\SmtpTransport), NULL, true)
#18 src/XF/Service/User/AbstractConfirmationService.php(85): XF\Mail\Mail->send()
#19 src/XF/Service/User/AbstractConfirmationService.php(63): XF\Service\User\AbstractConfirmationService->sendConfirmationEmail()
#20 src/XF/Service/User/Registration.php(396): XF\Service\User\AbstractConfirmationService->triggerConfirmation()
#21 src/XF/Service/User/Registration.php(318): XF\Service\User\Registration->sendRegistrationContact()
#22 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\User\Registration->_save()
#23 src/XF/Pub/Controller/Register.php(422): XF\Service\User\Registration->save()
#24 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\Register->actionRegister(Object(XF\Mvc\ParameterBag))
#25 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Register', 'Register', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Register), NULL)
#26 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Register), NULL)
#27 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#28 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#29 src/XF.php(512): XF\App->run()
#30 index.php(20): XF::runApp('XF\\Pub\\App')
#31 {main}
Status Request:
array(4) {
["url"] => string(18) "/register/register"
["referrer"] => string(19) "https://gs***.com/"
["_GET"] => array(0) {
}
["_POST"] => array(15) {
["username"] => string(0) ""
["f1fd69d07711f090d5587b432a07e6e9adcd8e4e"] => string(7) "ofs***"
["735a211e93aff172d318d725727bf8c6c0f073f3"] => string(0) ""
["c300d7608147450eb034e6f079959c20c88611b7"] => string(21) "ome***@gmail.com"
["email"] => string(0) ""
["97eabb4f805e42dfda3abaf05b68861dcb8f59ab"] => string(8) "********"
["g-recaptcha-response"] => string(4092) "P0_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXNza2V5IjoiaDNoVzM5eDdiaHBrWUlEeFNQRXBTT1VjRFhJWndjR2oxRFNicmFsRUJ5N2NacFNzS1BRR1p4ZFhaQjB4VVJJc0JUMlVSUS85YUp***"
["h-captcha-response"] => string(4092) "P0_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXNza2V5IjoiaDNoVzM5eDdiaHBrWUlEeFNQRXBTT1VjRFhJWndjR2oxRFNicmFsRUJ5N2NacFNzS1BRR1p4ZFhaQjB4VVJJc0JUMlVSUS85YUp***"
["accept"] => string(1) "1"
["reg_key"] => string(16) "Wmdui5t2OoAz9tB0"
["9da9d28bbc84bfd5166cae9aba066f222b8a5826"] => string(13) "Europe/Moscow"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(1) "/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Xenforo version : 2.2.6
Server OS : Centos 7
Panel : Cpanel-WHM
Server Type : VDS

Help me please.
 

Slavik

XenForo moderator
Staff member
This would suggest your php tmp directory is not writeable by the web server or does not exist/is not set.

Please check with your host.
 
Top