Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
1 + 1 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

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?

Resized Image
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; }

Who's Online

238 user(s) are online (151 user(s) are browsing Support Forums)


Members: 0


Guests: 238


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits