MantisBT - TestLink
View Issue Details
0008268TestLinkInternal issuepublic2018-05-24 08:112018-10-06 12:17
silviu 
fman 
highblockalways
closedfixed 
DockerDebian
 
1.9.18 (2018 Q3) 
mariadb 10.3
Chrome, Safari
7.2.5
READY FOR TESTING
0008268: Latest Github Code - On recover password - Fatal Error PHPMailer
Fatal error: Uncaught Error: Class 'PHPMailer\PHPMailer\PHPMailer' not found in /var/www/html/lib/functions/email_api.php:94 Stack trace: #0 /var/www/html/lib/functions/users.inc.php(214): email_send('postmaster@mess...', 'silviu@messbust...', 'Your new TestLi...', 'Your new TestLi...') #1 /var/www/html/lostPassword.php(50): resetPassword(Object(database), '2') 0000002 {main} thrown in /var/www/html/lib/functions/email_api.php on line 94
Install 1.9.18 from the archive provided. Modify the custom_config.inc.php if needed. run docker-compose up, configure the new install then create a new user and after use the forgot password function.
I have tried the 1.9.17 on the same environment, it didn't pass the login with admin / admin credentials. It also had a php mailer warning.
No tags attached.
zip testlink.zip (22,769) 2018-05-24 08:11
http://mantis.testlink.org/file_download.php?file_id=4929&type=bug
Issue History
2018-05-24 08:11silviuNew Issue
2018-05-24 08:11silviuFile Added: testlink.zip
2018-05-25 18:18fmanNote Added: 0027488
2018-05-25 18:18fmanAssigned To => fman
2018-05-25 18:18fmanStatusnew => assigned
2018-06-02 09:46fmanQA Team - Task Workflow Status => TBD
2018-06-02 09:46fmanSummaryDefault login not working => Latest Github Code - On recover password - Fatal Error PHPMailer
2018-06-02 09:46fmanDescription Updatedbug_revision_view_page.php?rev_id=5483#r5483
2018-06-02 10:05fmanNote Added: 0027504
2018-06-02 10:05fmanStatusassigned => feedback
2018-06-05 10:58silviuNote Added: 0027533
2018-06-05 10:58silviuStatusfeedback => assigned
2018-06-05 10:59silviuNote Edited: 0027533bug_revision_view_page.php?bugnote_id=27533#r5497
2018-06-05 12:01fmanNote Added: 0027535
2018-06-05 12:01fmanQA Team - Task Workflow StatusTBD => READY FOR TESTING
2018-06-05 12:01fmanStatusassigned => resolved
2018-06-05 12:01fmanFixed in Version => 1.9.18 (2018 Q3)
2018-06-05 12:01fmanResolutionopen => fixed
2018-10-06 12:17fmanNote Added: 0027948
2018-10-06 12:17fmanStatusresolved => closed

Notes
(0027488)
fman   
2018-05-25 18:18   
moved to composer approach for php mailer, I will check
(0027504)
fman   
2018-06-02 10:05   
fixed with commit:
https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/b94601629a3f144c08531f13d1e7da9e2f2798e7 [^]

please get this code, retest & provide feedback
(0027533)
silviu   
2018-06-05 10:58   
(edited on: 2018-06-05 10:59)
It loads the class, but there's I get could not connect to host if I set $g_smtp_connection_mode to tls. It does work on 25 port. It may be a PHP mailer problem on other clients it connects on the port 465 also telnet from the host on the port it works.

(0027535)
fman   
2018-06-05 12:01   
do not reuse a ticket in this way, because what is happening has changed , this approach is very bad.

Going to close immediately.
(0027948)
fman   
2018-10-06 12:17   
1.9.18 released