Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-21-2007, 03:46 PM
adwade adwade is offline
 
Join Date: Aug 2006
Location: SouthEast, TN
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Single XHTML Error I can't figure out...

On my Main Forum Page, when I Check it through http://validator.w3.org it comes back with

Result: Failed validation, 1 error

This page is not Valid XHTML 1.0 Transitional!

Below are the results of checking this document for XML well-formedness and validity.

1. Error Line 536, column 7: end tag for "table" which is not finished .

</table>

Most likely, You nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, <head> generally requires a <title>, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.


However, not being a coder I'm having a hard time figuring out what's causing that error? vBulletin, a MOD I've installed, my Style Sheets, etc. So I'm posting some info here in hopes someone can give me a hand and tell me where or how to figure out what the problem is. Any guidence would be much appreciated.

The section of code just above where the error occurs and is alright itself is:

Code:
# <!-- what's going on box -->
# <!-- Categoty Top -->
# <table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
# <tr>
# <td width="21" height="31" align="left" valign="top" style="background-image: url(http://www.recumbentriders.org/forums/images/aria/misc/top_bg.gif)"><img border="0" src="http://www.recumbentriders.org/forums/images/aria/misc/top_left.gif" width="21" height="31" alt="" /></td>
# <td height="31" width="60%" align="left" valign="middle" style="background-image: url(http://www.recumbentriders.org/forums/images/aria/misc/top_bg.gif)"><div class="category_title"><b>What's Going On?</b></div></td>
# <td width="19" align="left" valign="middle"><img src="http://www.recumbentriders.org/forums/images/aria/misc/top_end.gif" alt="" width="19" height="31" border="0" /></td>
# <td align="right" valign="top" style="background-image: url(http://www.recumbentriders.org/forums/images/aria/misc/top_center.gif)"><img src="http://www.recumbentriders.org/forums/images/aria/misc/top_center.gif" alt="" /></td>
# <td width="14" height="31" align="right" valign="top"><img border="0" src="http://www.recumbentriders.org/forums/images/aria/misc/top_right.gif" width="14" height="31" alt="" /></td>
# </tr>
# </table>

While the error itself is in this section of code...
(Specifically, it tells me "Line 536, column 7: end tag for "table" which is not finished")
Code:
# <!-- /Categoty Top -->
#
#
# <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
#
#
#
#
#
#
#
#
#
# </table>
# <!-- Categoty Bottom -->

And lastly, the next section of code that is alright is
Code:
#  <table width="100%" border="0" cellpadding="0" cellspacing="0">
# <tr>
# <td width="12" align="left" valign="top"><img src="http://www.recumbentriders.org/forums/images/aria/misc/blc.gif" width="12" height="13" alt="" border="0" /></td>
# <td width="100%" style="background-image:url(http://www.recumbentriders.org/forums/images/aria/misc/bottom.gif)"><img src="http://www.recumbentriders.org/forums/images/aria/misc/clear.gif" width="100%" height="13" alt="" border="0" /></td>
# <td width="12" align="right" valign="top"><img src="http://www.recumbentriders.org/forums/images/aria/misc/brc.gif" width="12" height="13" alt="" border="0" /></td>
# </tr>
# </table>
# <!-- /Categoty Bottom -->
#
# <!-- end what's going on box -->
Reply With Quote
  #2  
Old 03-21-2007, 04:26 PM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know if this explains it... but why do you have an empty table??

Edit: I think that since the W3C validator can't log in and see what's inside the "What's Going On" box, it's coming up with that error, maybe. Try hiding the What's Going On box to the unregistered usergroup with an if conditional. It's in FORUMHOME template.
Reply With Quote
  #3  
Old 03-22-2007, 12:00 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

your problem is the table

HTML Code:
# <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
#
#
#
#
#
#
#
#
#
# </table>
rewrite you html so that it doesn't display if not needed

a quick fix is to add an emtpy row/cell
HTML Code:
 <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"><tr><td></td></tr></table>
Reply With Quote
  #4  
Old 03-22-2007, 05:07 PM
adwade adwade is offline
 
Join Date: Aug 2006
Location: SouthEast, TN
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheMilkCarton View Post
I don't know if this explains it... but why do you have an empty table??

Edit: I think that since the W3C validator can't log in and see what's inside the "What's Going On" box, it's coming up with that error, maybe. Try hiding the What's Going On box to the unregistered usergroup with an if conditional. It's in FORUMHOME template.
Well I went in and Disabled the entire WHO'S ONLINE MOD, but the exact same error still shows up.

I think you are right in the empty table is causing the problem. My problem is, WHAT is causing that empty table to appear? Not being a coder, I've tried searching for a few things but have yet to turn up what is generating that piece of code.

Quote:
Originally Posted by Princeton View Post
your problem is the table

rewrite you html so that it doesn't display if not needed

a quick fix is to add an emtpy row/cell
HTML Code:
 <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"><tr><td></td></tr></table>
Thanxx for the tips, however I don't understand WHAT is generating that piece of code on my page, thus I'm clueless as WHAT to try and edit. If it's a MOD, I'm assuming the .xml file I imported would have this empty table in it somewhere. But as I said, I've looked (as best as I know how to) for it.

I'm wondering if it could be my CSS? I'm using vBstyles ARIA Skins, and sadly understand them even less than other stuff so far. AMAZING stuff indeed (to the novice), but no-so-simple to follow thru when you don't understand how it does what it does.
Reply With Quote
  #5  
Old 03-24-2007, 05:05 AM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it could be a mod (plugin)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:22 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03984 seconds
  • Memory Usage 2,216KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (3)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete