Entity 'reg' not defined - s2Member Site Secured Badge Error
Posted: January 27th, 2012, 12:26 am
Hi s2Member Users,
I just discovered an validation problem with s2Member badge:
I am using this DTD - http://www.openmobilealliance.org/tech/ ... bile12.dtd - for my site, and it does not have the HTML Entity 'reg' defined.
ie. I am getting the error "error on line 150 at column 432: Entity 'reg' not defined"
And on line 150 is :
So I have downloaded the .dtd and self hosted it, pointing the DOCTYPE to my dtd, with
<!ENTITY reg "®">
<!ENTITY raquo "»">
<!ENTITY reg "®">
<!ENTITY raquo "»">
But that hasn't worked
Any ideas on how to fix this?
If I knew where in s2Member to find the output code for the button I would try replacing "®" with "®:" I have read this works on more DTDs than the other.
I just discovered an validation problem with s2Member badge:
I am using this DTD - http://www.openmobilealliance.org/tech/ ... bile12.dtd - for my site, and it does not have the HTML Entity 'reg' defined.
ie. I am getting the error "error on line 150 at column 432: Entity 'reg' not defined"
And on line 150 is :
- Code: Select all
<a href="http://www.s2member.com/" onclick="window.open('http://www.s2member.com/s-badges/s-details.php?v=1&site_url=http%3A%2F%2Fm.truesecrets.com.au%2Fstrange-tours-melbourne', '_popup', 'width=752,height=702,left='+((screen.width/2)-(752/2))+',screenX='+((screen.width/2)-(752/2))+',top='+((screen.height/2)-(702/2))+',screenY='+((screen.height/2)-(702/2))+',location=0,menubar=0,toolbar=0,scrollbars=0,resizable=1'); return false;" title="s2Member®"><img src="//www.s2member.com/s-badges/s-badge.php?v=1&site_url=http%3A%2F%2Fm.truesecrets.com.au%2Fstrange-tours-melbourne" style="border:0;" alt="s2Member®" title="s2Member® ( Security for WordPress® )" /></a>
So I have downloaded the .dtd and self hosted it, pointing the DOCTYPE to my dtd, with
<!ENTITY reg "®">
<!ENTITY raquo "»">
<!ENTITY reg "®">
<!ENTITY raquo "»">
But that hasn't worked
Any ideas on how to fix this?
If I knew where in s2Member to find the output code for the button I would try replacing "®" with "®:" I have read this works on more DTDs than the other.