Author Topic: Sign up does not work... Getting error message, "list not numeric"  (Read 2730 times)

ruben

  • Posts: 25
    • View Profile
Dean,

I just installed LMP onto a couple of websites.  Although they reside on the same hosting company and server, something strange is happening with this code, that is causing subscribe errors.

When I put the code into the wordpress page and publish the page, extra slashes are added to the code in the fields, like this:

size="40">  to: size="40"/>
list value=200>  to:     list value=200/>
sup value="Subscribe">  to:    sup value="Subscribe"/>

Here's the entire code:

FROM THIS:

<form method=post action=http://www.example.com/mail/signup.php>
<FONT FACE="verdana, arial" SIZE="2">
<B>First Name:</B> &nbsp; &nbsp; </FONT> <input type=text name=fname size="40"><br>
<font face="verdana, arial" size="2">
<input type=hidden name=list value=200>
&nbsp; &nbsp; &nbsp; <B>Email: </B>
&nbsp; &nbsp; &nbsp; <input type=text name=email size="40"><br>
<FONT FACE="arial" SIZE="2">
 <input type=submit name=sup value="Subscribe">
</form>
<BR><BR>

------------------------------------------------------
TURNS INTO THIS - extra slashes added (example: value=200/):

<form method=post action=http://www.example.com/mail/signup.php>
<font FACE="verdana, arial" SIZE="2">
<b>First Name:</b> &nbsp; &nbsp; </font> <input type=text name=fname size="40"/><br />
<font face="verdana, arial" size="2">
<input type=hidden name=list value=200/>
&nbsp; &nbsp; &nbsp; <b>Email: </b>
&nbsp; &nbsp; &nbsp; <input type=text name=email size="40"/><br />
</font><font FACE="arial" SIZE="2">
 <input type=submit name=sup value="Subscribe"/>
</font></form>
<br /><br />


When I try to send a test (or sign up), I get the error message, "list not numeric"...

I reinstalled LMP (twice).

I have updated the WordPress version.

I have updated the theme.

I have disabled all the plug-ins.

The same problem is still happening....

The site was recently moved from another Host to the current one. Could it be something went wrong there?

Again, LMP is working perfectly on another site moved on the same day to the same server.

I don't know what else to try.....

PLEASE help me solve this!

Thank you,

Ruben James


[Edited by DW for privacy]
« Last Edit: January 07, 2014, 12:12:47 am by DW »

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Re: Sign up does not work... Getting error message, "list not numeric"
« Reply #1 on: January 06, 2014, 10:45:12 pm »
Hi Ruben,

The site appears to be enforcing strict HTML or XHTML.

Quote
HTML elements with no content are called empty elements.

<br> is an empty element without a closing tag (the <br> tag defines a line break).

Tip: In XHTML, all elements must be closed. Adding a slash inside the start tag, like <br />, is the proper way of closing empty elements in XHTML (and XML).
HTML Elements - W3Schools

For some reason it's not putting a space before the slash like it probably should.

You could try putting the list value in quotes:

Code: [Select]
<input type=hidden name=list value="200">
or manually closing the tag(s) with an extra space, like this:

Code: [Select]
<input type=hidden name=list value=200 />
or

Code: [Select]
<input type=hidden name=list value="200" />
I have edited your post for your privacy.

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