ListMailPRO Email Marketing Software Forums
ListMailPRO Email Marketing Software Forums => General Help & How-To => Topic started by: sam3 on May 22, 2007, 12:55:30 pm
-
Hello
Please can you tell me what is meaning of the following warning as my signup form does not work. Many thanks in advance:
Here is the error I gets:
===
Warning: sort() expects parameter 1 to be array, null given in /mail/signup.php on line 25
Warning: Variable passed to each() is not an array or object in /mail/signup.php on line 29
Warning: reset(): Passed variable is not an array or object in /mail/signup.php on line 33
Warning: Variable passed to each() is not an array or object in /mail/signup.php on line 78
Warning: reset(): Passed variable is not an array or object in /mail/signup.php on line 85
Warning: Variable passed to each() is not an array or object in /mail/signup.php on line 88
Warning: reset(): Passed variable is not an array or object in /mail/signup.php on line 111
Warning: Variable passed to each() is not an array or object in /mail/signup.php on line 114
Warning: reset(): Passed variable is not an array or object in /mail/signup.php on line 121
Warning: Variable passed to each() is not an array or object in /mail/signup.php on line 124
Warning: reset(): Passed variable is not an array or object in /mail/signup.php on line 148
Warning: Variable passed to each() is not an array or object in /mail/signup.php on line 151
Warning: reset(): Passed variable is not an array or object in /mail/signup.php on line 158
ListMail Custom HTML not found! Please contact your administrator
===
Thanks & Regards
Sam
-
Hi Sam,
The reported errors usually come up when you forget the "list" variable which tells ListMail which list to put the subscriber on. This can happen if you browse to signup.php directly or if you forget to add the list variable to your signup form, ie:
<input type=hidden name=list value=1>
Please double check that you have defined the list to subscribe to in your signup form.
Regards
-
Dean,
Many thanks for your speedy response. I really do appreciate it.
However, I cut and pasted what the listmailpro generated and the
list name is there. Hence:
<form method=post action=http://notadomain.com/mail/signup.php>
<input type=hidden name=list value=1>
First Name: <input type=text name=fname size=10><br>
Last Name: <input type=text name=lname size=10><br>
Email: <input type=text name=email><br>
<input type=submit name=sup value="Subscribe Me!">
</form>
Thanks & Regards,
Sam
-
Sam,
Some (rare) web hosts have a problem with POST requests with or without the "www" on the domain. I see that you are not using "www" at this time. Try changing your first line from this:
<form method=post action=http://notadomain.com/mail/signup.php>
to this
<form method=post action=http://www.notadomain.com/mail/signup.php>
Regards
-
Dean,
You're a Genius!
It's working now. I'll continue the configuration and testing.
Thanks & Regards,
Sam
-
I also had this problem using a wysiwyg editor in a Content Maagement System (Joomla) and found that after I pasted the code in HTML mode and then viewed it in wysiwyg mode, it changed the code.
Solution: save page while still in HTML mode.