• 07-11-2019, 20:11:59
    #1
    Üyeliği durduruldu
    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-&gt;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-&gt;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-&gt;_isShellSafe('admin@r1o.net')\n#3 /home/r1owmyjd/public_html/protected/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/MailTransport.php(176): Swift_Transport_MailTransport-&gt;_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-&gt;send(Object(Swift_Message), Array)\n#5 /home/r1owmyjd/public_html/protected/vendor/yiisoft/yii2-swiftmailer/Mailer.php(146): Swift_Mailer-&gt;send(Object(Swift_Message))\n#6 /home/r1owmyjd/public_html/protected/humhub/components/mail/Mailer.php(117): yii\\swiftmailer\\Mailer-&gt;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-&gt;sendMessage(Object(humhub\\components\\mail\\M essage))\n#8 /home/r1owmyjd/public_html/protected/vendor/yiisoft/yii2/mail/BaseMessage.php(49): yii\\mail\\BaseMailer-&gt;send(Object(humhub\\components\\mail\\Message) )\n#9 /home/r1owmyjd/public_html/protected/humhub/modules/user/models/Invite.php(148): yii\\mail\\BaseMessage-&gt;send()\n#10 /home/r1owmyjd/public_html/protected/humhub/modules/user/models/Invite.php(122): humhub\\modules\\user\\models\\Invite-&gt;sendInviteMail()\n#11 /home/r1owmyjd/public_html/protected/humhub/modules/user/controllers/AuthController.php(90): humhub\\modules\\user\\models\\Invite-&gt;selfInvite()\n#12 [internal function]: humhub\\modules\\user\\controllers\\AuthController-&gt;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-&gt;runWithParams(Array)\n#15 /home/r1owmyjd/public_html/protected/vendor/yiisoft/yii2/base/Module.php(528): yii\\base\\Controller-&gt;runAction('login', Array)\n#16 /home/r1owmyjd/public_html/protected/vendor/yiisoft/yii2/web/Application.php(103): yii\\base\\Module-&gt;runAction('user/auth/login', Array)\n#17 /home/r1owmyjd/public_html/protected/vendor/yiisoft/yii2/base/Application.php(386): yii\\web\\Application-&gt;handleRequest(Object(humhub\\components\\Reque st))\n#18 /home/r1owmyjd/public_html/index.php(25): yii\\base\\Application-&gt;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-&gt;handleError(2, 'escapeshellcmd(...', '/home/r1owmyjd/...', 259, Array)\n#1 /home/r1owmyjd/public_html/protected/vendor/swiftmailer/swiftmailer/lib/classes/Swift...",
    "error": {},
    "errorThrown": "",
    "validationError": false
    }
  • 07-11-2019, 20:27:22
    #2
    PM gönderildi.
  • 07-11-2019, 21:41:15
    #3
    Üyeliği durduruldu
    sizer adlı üyeden alıntı: mesajı görüntüle
    PM gönderildi.
    çok sağol hocam sorunumu hallettin