(01-06-2019, 04:11 AM)itzik53 Wrote: OK
found the problem...
adding
if (!spl_autoload_functions() OR (!in_array('PHPMailerAutoload', spl_autoload_functions()))) {
require_once('PHPMailerAutoload.php');
}
to file /etc/sentora/panel/etc/lib/PHPMailer/class.phpmailer.php
That fixed the problem....
That file should already contain:
if (!in_array('PHPMailerAutoload', spl_autoload_functions())) {
require 'PHPMailerAutoload.php';
}
so my questions would be:
- was your class.phpmailer.php file missing these lines for some reason?
- is your server/PHP config set to not allow use of the "require" function?
- is your server/PHP config set to not allow spl_autoload_functions()?
I can't see that this would be a problem for anyone with a vanilla Sentora installation, but I could be wrong
Keith