bir script kuurdum üye olurken bu hatayı alıyorum host şirketi escapeshellcmd fonksiyonu açmıyor bu fonsiyonla shell atılıyormuş bu hatayı nasıl düzeltirim başka yolu yokmu bu konuda yardımcı olacak arkadaş arıyorum
Hata: escapeshellcmd () güvenlik nedeniyle devre dışı bırakıldı
bu hatanın düzeltebileceğim bir link var ama ingilizce olduğu için anlamadım
https://github.com/PHPMailer/PHPMailer/issues/966
mail ile üye olunca bu hatayı veriyor
{
"url": "/index.php?r=user%2Fauth%2Flogin",
"status": 500,
"response": "<pre>PHP Warning 'yii\\base\\ErrorException' with message 'escapeshellcmd() has been disabled for security reasons' \n\nin /home/r1owmyjd/public_html/protected/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/MailTransport.php:259\n\nStack trace:\n#0 [internal function]: yii\\base\\ErrorHandler->handleError(2, 'escapeshellcmd(...', '/home/r1owmyjd/...', 259, Array)\n#1 /home/r1owmyjd/public_html/protected/vendor/swiftmailer/swiftmailer/lib/classes/Swift...",
"textStatus": "error",
"xhr": {
"readyState": 4,
"responseText": "<pre>PHP Warning 'yii\\base\\ErrorException' with message 'escapeshellcmd() has been disabled for security reasons' \n\nin /home/r1owmyjd/public_html/protected/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/MailTransport.php:259\n\nStack trace:\n#0 [internal function]: yii\\base\\ErrorHandler->handleError(2, 'escapeshellcmd(...', '/home/r1owmyjd/...', 259, Array)\n#1 /home/r1owmyjd/public_html/protected/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/MailTransport.php(259): escapeshellcmd('admin@r1o.net')\n#2 /home/r1owmyjd/public_html/protected/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/MailTransport.php(288): Swift_Transport_MailTransport->_isShellSafe('admin@r1o.net')\n#3 /home/r1owmyjd/public_html/protected/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/MailTransport.php(176): Swift_Transport_MailTransport->_formatExtraParams('-f%s', 'admin@r1o.net')\n#4 /home/r1owmyjd/public_html/protected/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php(85): Swift_Transport_MailTransport->send(Object(Swift_Message), Array)\n#5 /home/r1owmyjd/public_html/protected/vendor/yiisoft/yii2-swiftmailer/Mailer.php(146): Swift_Mailer->send(Object(Swift_Message))\n#6 /home/r1owmyjd/public_html/protected/humhub/components/mail/Mailer.php(117): yii\\swiftmailer\\Mailer->sendMessage(Object(humhub\\components\\mail\\M essage))\n#7 /home/r1owmyjd/public_html/protected/vendor/yiisoft/yii2/mail/BaseMailer.php(263): humhub\\components\\mail\\Mailer->sendMessage(Object(humhub\\components\\mail\\M essage))\n#8 /home/r1owmyjd/public_html/protected/vendor/yiisoft/yii2/mail/BaseMessage.php(49): yii\\mail\\BaseMailer->send(Object(humhub\\components\\mail\\Message) )\n#9 /home/r1owmyjd/public_html/protected/humhub/modules/user/models/Invite.php(148): yii\\mail\\BaseMessage->send()\n#10 /home/r1owmyjd/public_html/protected/humhub/modules/user/models/Invite.php(122): humhub\\modules\\user\\models\\Invite->sendInviteMail()\n#11 /home/r1owmyjd/public_html/protected/humhub/modules/user/controllers/AuthController.php(90): humhub\\modules\\user\\models\\Invite->selfInvite()\n#12 [internal function]: humhub\\modules\\user\\controllers\\AuthController->actionLogin()\n#13 /home/r1owmyjd/public_html/protected/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)\n#14 /home/r1owmyjd/public_html/protected/vendor/yiisoft/yii2/base/Controller.php(157): yii\\base\\InlineAction->runWithParams(Array)\n#15 /home/r1owmyjd/public_html/protected/vendor/yiisoft/yii2/base/Module.php(528): yii\\base\\Controller->runAction('login', Array)\n#16 /home/r1owmyjd/public_html/protected/vendor/yiisoft/yii2/web/Application.php(103): yii\\base\\Module->runAction('user/auth/login', Array)\n#17 /home/r1owmyjd/public_html/protected/vendor/yiisoft/yii2/base/Application.php(386): yii\\web\\Application->handleRequest(Object(humhub\\components\\Reque st))\n#18 /home/r1owmyjd/public_html/index.php(25): yii\\base\\Application->run()\n#19 {main}</pre>",
"status": 500,
"statusText": "error"
},
"dataType": "html",
"html": "<pre>PHP Warning 'yii\\base\\ErrorException' with message 'escapeshellcmd() has been disabled for security reasons' \n\nin /home/r1owmyjd/public_html/protected/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/MailTransport.php:259\n\nStack trace:\n#0 [internal function]: yii\\base\\ErrorHandler->handleError(2, 'escapeshellcmd(...', '/home/r1owmyjd/...', 259, Array)\n#1 /home/r1owmyjd/public_html/protected/vendor/swiftmailer/swiftmailer/lib/classes/Swift...",
"error": {},
"errorThrown": "",
"validationError": false
}
script üye olurken hata veriyor
2
●202
- 07-11-2019, 20:11:59Üyeliği durduruldu
- 07-11-2019, 21:41:15Üyeliği durdurulduçok sağol hocam sorunumu hallettinsizer adlı üyeden alıntı: mesajı görüntüle