Whenever the user selects "set to private and email", the browser sends the request, then just hangs. The email goes thru, but the page never re-loads with the success message. The only thing that I have changed since testing the site on the production server is to switch Swift's Connection class from smtp to sendmail ie:
Code: Select all
require_once('Swift.php');
if ($_config['app']['mailer'] == 'smtp') {
require_once('Swift/Connection/SMTP.php');
$swift = $connection = new Swift_Connection_SMTP($_config['app']['smtpserver']);
} else {
require_once('Swift/Connection/Sendmail.php');
$connection = new Swift_Connection_Sendmail;
}I've been able to narrow it down to the sending of the phpsessionid cookie. If I click the archive/email link, it hangs, but if i clear cookies and reload, the page loads fine (albeit no success message as the session has been cleared).
If anyone has any idea what the heck could be happening, I'd be in your debt. I can provide a demo account on the system if you want to see it for yourself.