No callback on comment submit

lucass81

Joined: 2014-04-23
Posts: 2
Posted: Wed, 2014-04-23 16:27

Hello. I have the same problem as is mentioned here: http://galleryproject.org/node/100051 and here http://galleryproject.org/node/106695
I have newest version of Gallery (3.0.9) and PHPmailer. If is PHPmailer (http://codex.galleryproject.org/Gallery3:Modules:phpmailer) enabled than after submitting comment there is happend nothing. Comment has been added, mail sent (and received), but page freeze and new comment is not shown. I have to press F5 if I want to see that new comment has been added. If I turn-off PHPmailer, than everything is working fine (except sending mail).

Where's problem? Could you help me?

 
lucass81

Joined: 2014-04-23
Posts: 2
Posted: Thu, 2014-04-24 05:12

Problem has been solved. I have changed line 112 in /modules/phpmailer/libraries/Sendmail.php from

Quote:
$mail->SMTPDebug = 1;

to

Quote:
$mail->SMTPDebug = 0;