Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › eMember is generating w3c errors, I think…
- This topic has 6 replies, 2 voices, and was last updated 13 years, 7 months ago by
Pamela.
-
AuthorPosts
-
April 21, 2012 at 1:16 pm #6144
Pamela
MemberI am getting the following 2 errors (and a couple others) when I validate with w3c. They seem easy enough to resolve but would require that I change eMember code. I think that is where the come from…not sure.
Can you direct me on this?
The site is http://www.booksbypam.com.
Thanks! Pam
Line 168, Column 74: document type does not allow element “br” here
$('#emember_fancy_log_msg').css('color','black').html(msg+ '<br/>')Line 174, Column 96: document type does not allow element “br” here…
$('#emember_fancy_log_msg').css('color', 'red').html(result.msg + '<br/>');April 22, 2012 at 12:54 am #44324admin
KeymasterTurn off the fancy login display feature of eMember from the settings. The fancy login is an optional feature which has to output some JavaScript content in the header that the validator does not like unfortunately.
April 22, 2012 at 8:01 am #44325Pamela
MemberTerrific!
Thanks for the quick response. That resolved it.
Best, Pam
April 22, 2012 at 8:02 am #44326Pamela
MemberDo you have any ideas about these last 3 errors?
divs.eq(0).html("").append(jQuery('<h3>Please Wait...</h3>')).show();divs.eq(0).html("").append(jQuery('<h3>'+data.msg+'</h3>'));…<a href="http://booksbypam.com/members/sign-in/">Login</a> to post a comment');Thanks again!
April 23, 2012 at 3:27 am #44327admin
KeymasterGo to your “Pages/Forms Settings” tab in eMember then read the help text for the following field:
Password Reset PageDo exactly what it says then let me know how you go.
April 23, 2012 at 7:26 am #44328Pamela
MemberThanks a million! That resolved two errors!
I’m now down to just one error….
Line 105, Column 92: document type does not allow element “a” here
…<a href="http://booksbypam.com/members/sign-in/">Login</a> to post a comment');It doesn’t seem be a TTQ plugin error but if you know it to be I’d appreciate any help.
Cheers, Pam
April 23, 2012 at 3:08 pm #44329Pamela
MemberI found where the error comes from. In eMember if I uncheck “Members Must be Logged in to Comment” the error goes away.
I was using that option to reduce spam but perhaps Askimet will be enough.
Cheers, Pam
-
AuthorPosts
- You must be logged in to reply to this topic.