Author Topic: Insert signup form into an email  (Read 2210 times)

jakeatwood

  • Posts: 6
    • View Profile
Insert signup form into an email
« on: January 31, 2008, 10:22:46 am »
A lot of my subscribers forward my emails to their friends and colleagues. I'd like to insert a sign-up form inside the email message, so that people can sign up without having to visit my website. When I insert the signup code as HTML in an email and test it, I get a series of errors. What am I doing wrong?

Here is what the error message says when you try to submit your contact info from within the email signup form:


Warning: sort() expects parameter 1 to be array, null given in /home/ovations/public_html/mail/signup.php on line 25

Warning: Variable passed to each() is not an array or object in /home/ovations/public_html/mail/signup.php on line 29

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/ovations/public_html/mail/signup.php on line 33

Warning: Variable passed to each() is not an array or object in /home/ovations/public_html/mail/signup.php on line 78

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/ovations/public_html/mail/signup.php on line 85

Warning: Variable passed to each() is not an array or object in /home/ovations/public_html/mail/signup.php on line 88

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/ovations/public_html/mail/signup.php on line 111

Warning: Variable passed to each() is not an array or object in /home/ovations/public_html/mail/signup.php on line 114

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/ovations/public_html/mail/signup.php on line 121

Warning: Variable passed to each() is not an array or object in /home/ovations/public_html/mail/signup.php on line 124

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/ovations/public_html/mail/signup.php on line 148

Warning: Variable passed to each() is not an array or object in /home/ovations/public_html/mail/signup.php on line 151

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/ovations/public_html/mail/signup.php on line 158
ListMail Custom HTML not found! Please contact your administrator.

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Insert signup form into an email
« Reply #1 on: February 05, 2008, 12:34:41 am »
Greetings,

This error is typical when a list # is not provided.  A readable error message should really be given.  Are you sure you are passing the hidden "list" input field?

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting