| Re: If undefined function escapeshellcmd() |
| by Mamba on 2022/6/12 10:36:31 Thank you for checking on this! |
| Re: If undefined function escapeshellcmd() |
| by cadch on 2022/6/12 8:18:55 SMTP is ok~ |
| Re: If undefined function escapeshellcmd() |
| by Mamba on 2022/6/11 23:50:35 Thanks for sharing! Did you try to use SMTP in the Preferences without your code addition? If not, could you test it? ![]() |
| If undefined function escapeshellcmd() |
| by cadch on 2022/6/11 9:46:59 If your server use cPanel and PHP8,Someone disable_functions setting escapeshellarg and escapeshellcmd Look the url https://forums.cpanel.net/threads/php-disable-functions.483161/ The XOOPS 2.5.11-Beta2 phpmailer have a message Error: Call to undefined function escapeshellcmd() or Error: Call to undefined function escapeshellcmd() in file /class/mail/phpmailer/class.phpmailer.php line 1447 How to fix it /class/mail/phpmailer/class.phpmailer.php find function isShellSafe line 1445 Add le="color: #000000"><?php if (!function_exists('escapeshellarg') || !function_exists('escapeshellcmd')) { return false; }
|