Confirm URL incorrect

Anton

Member
Hi Guys, and thanks for a great product.

Just getting back into using MaxBulk Mailer and MLM again after quite a sabbatical, however I've hit a snag.

We're working hard to obtain ReturnPath certification which should dramatically improve our in-box delivery rate. Part of this is the requirement for double opt-in.

The problem is our site is secured by EV SSL and the url starts https:// However the confirmation link in the opt in email begins http:// resulting in a 404 error.

I took a quick peek through the php code to see if it was an easy fix, but the location of exactly where this substitution occurs eludes me.

Temporarily, I've set $mlm_optin = false in lm_prefs.php but this is not an adequate long term solution.

Any suggestions, thought or ideas would be most appreciated.

Many thanks - Anton
 

Anton

Member
Hi Stanbusk,

Thanks so much for your help.

Obviously the Confirmation URL changes based on the email address subscribing. Rather than try and explain, I've re-enabled the double opt-in feature so you can see for yourself that the confirmation URL is broken.

Try joining our mailing list at:

https://secure.awarenessshop.com/index. ... 9&Itemid=1

You will receive an email to confirm your subscription. You will see that the confirmation link is broken as it starts with http:// and not https:// which it should. If you change the http:// to https:// the link works as it should.

Hope this helps clarify.

Best - Anton
 

stanbusk

Administrator
Staff member
In lm.php, line 564 you should see:

$path_to_script = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];

replace it with:

$path_to_script = "https://" . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];
 
Top