cb_login module fail w3c validation

13 years 2 months ago #154181 by kronky
cb_login module fail w3c validation was created by kronky
Hello,

The new cb_login module (CB 1.4) failed w3c validation.

line 709-710 of cb_login.php should be
echo '<form action="'.$loginPost.'" method="post" id="' . $idFormLogin . '" class="cbLoginForm"';
	echo ' style="margin:0px;">'."\n";

Instead of
echo '<form action="'.$loginPost.'" method="post" id="' . $idFormLogin . '" class="cbLoginForm"';
	echo 'style="margin:0px;">'."\n";

Difference is in line 710 : echo ' Style=' instead of 'Style='
The following user(s) said Thank You: beat, xeont

Please Log in to join the conversation.

13 years 2 months ago - 13 years 2 months ago #154188 by krileon
Replied by krileon on topic Re: cb_login module fail w3c validation
Can't confirm your issue. Please ensure you're using CB 1.4 login module. Have confirmed it validates perfectly fine logged in and logged out. Could you please provide your modules configuration so can attempt to duplicate? Please also provide your validation method (recommended and used validator.w3.org/).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

13 years 1 month ago #157784 by mwstahl11706z
Replied by mwstahl11706z on topic Re: cb_login module fail w3c validation
I can confirm his issue. My site validates perfectly fine in W3C with CB login 4.1 disabled. As soon as I activate it, I get these errors. It most certainly references this module as the trigger.

Validation Output: 6 Errors

1. Error Line 225, Column 80: attributes construct error

…sms379/component/comprofiler/login" method="post" id="mod_loginform" class="cb…


2. Error Line 225, Column 80: Couldn't find end of Start Tag form line 225

…sms379/component/comprofiler/login" method="post" id="mod_loginform" class="cb…


3. Error Line 241, Column 15: Opening and ending tag mismatch: div line 223 and form

</table></form> </div>


4. Error Line 248, Column 6: Opening and ending tag mismatch: body line 214 and div

</div>


5. Error Line 815, Column 8: Opening and ending tag mismatch: html line 2 and body

</body>


6. Error Line 816: Extra content at the end of the document

</html>
The following user(s) said Thank You: beat

Please Log in to join the conversation.

13 years 1 month ago #157840 by beat
Replied by beat on topic Re: cb_login module fail w3c validation
Good find, thank you for troubleshooting and proposing correct fix.

I can confirm the missing space in CB login module 1.4.

Cleaning a bit the source code for 1.4 broke the html...my fault, sorry :S

#2433.

Fixed for next release.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
The following user(s) said Thank You: kronky

Please Log in to join the conversation.

13 years 1 month ago #157935 by Geoffrey
Replied by Geoffrey on topic Re: cb_login module fail w3c validation
I am having the same issue as well.

#2433.

Fixed for next release.


Do you have an estimated release date?

Geoffresh Imperial Hawk Productions
www.geoffresh.com

Please Log in to join the conversation.

13 years 1 month ago #159471 by msz82
Replied by msz82 on topic Re: cb_login module fail w3c validation
Hello, I have the same problem with w3c validator with line 267 of www.casaprivee.com
<input type="submit" name="Submit" class="button" value="Iniciar Sesi&oacute;n" /></td></tr>

Could you help me with the problem and how to fix it?
Thanks a lot

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.293 seconds

Facebook Twitter LinkedIn