Page 1 of 1
Failed to update users mantis
Posted: 08 Jan 2016, 21:06
by mager38
good day
I can do the test email without problems and generate incidents I also get emails without problems, however , in trying to update a password or update a user throws me the following error:
Fatal error: Call to undefined method PHPMailer::ValidateAddress() in /opt/lampp/htdocs/mantisbt-1.2.19/core/email_api.php on line 104
it can be happening ?
Work with phpmailer folder inside the folder core because without this mantis mantis not send emails.
please help

. mantis version 1.2.19
Re: Failed to update users mantis
Posted: 11 Jan 2016, 07:01
by atrol
Did you download from GitHub?
Re: Failed to update users mantis
Posted: 18 Jan 2016, 15:37
by mager38
Re: Failed to update users mantis
Posted: 18 Jan 2016, 15:51
by atrol
I assume you mean "no"
The question was:
atrol wrote:Did you download from GitHub?
Your download was from
sourceforge.
I read your earlier post
viewtopic.php?f=3&t=23508&p=58449#p58454
You don't have to copy any file or directory if you are using the download from sourceforge as this includes all PHPMailer files that are needed.
Maybe there is also another PHPMailer version on your system.
Re: Failed to update users mantis
Posted: 19 Jan 2016, 16:20
by mager38
OK, in that case because I throw error because I see that in the library folder is the library that has a default phpmailer downloading mantis and I put in clear the core . throws this error :
Fatal error: Maximum execution time of 30 seconds exceeded in /opt/lampp/htdocs/mantisbt-1.2.19/library/phpmailer/class.phpmailer.php on line 752
what else can I check ? because I create incidents generates smoothly and send mail notification but when editing users or restore password it has been impossible

Re: Failed to update users mantis
Posted: 19 Jan 2016, 18:56
by mager38
Re: Failed to update users mantis
Posted: 19 Jan 2016, 20:14
by atrol
Maybe you use an old PHP version.
Seems there was an issue in PHP 5.2, at least this problem in WordPress was quite similar
https://core.trac.wordpress.org/ticket/25319
Re: Failed to update users mantis
Posted: 19 Jan 2016, 20:26
by mager38
My PHP Version 5.4.4
Re: Failed to update users mantis
Posted: 19 Jan 2016, 20:42
by atrol
You could try to upgrade to at least 5.4.9 where a newer implementation of preg_match has been included
http://php.net/ChangeLog-5.php#5.4.9
https://bugs.php.net/bug.php?id=63284
Re: Failed to update users mantis
Posted: 19 Jan 2016, 20:51
by mager38
thank you very much for your support , I will review the documentation that I return addresses

Re: Failed to update users mantis
Posted: 15 Jul 2016, 10:31
by servotrophy424
Thanks, upgrading to 5.4.9 worked for me.