Issue with Website Membership

Re: [mattbcd] Issue with Website Membership

By Jason - January 24, 2012

Hi,

This issue is actually a typo that was in an older version of the website membership plugin sign up form.

What you need to do is change $errors to $mailErrors like this:

if ($mailErrors) { die("Mail Error: $mailErrors"); }

That should eliminate the "Undefined variable" error.

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Issue with Website Membership

By mattbcd - January 24, 2012

Hi. I now get a different error:

Mail Error: Undefined index: disabled

Again, any help hugely appreciated.

Re: [mattbcd] Issue with Website Membership

By Jason - January 25, 2012

Hi,

It looks like an issue where you're server is outputting an error that should have been suppressed through code.

I added this line to your user-signup.php page:

$emailHeaders['disabled'] = false;
$mailErrors = sendMessage($emailHeaders);


This seems to have gotten rid of the issue.

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Issue with Website Membership

By mattbcd - January 26, 2012

Fantastic. Did the trick. Many thanks Jason.