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

Reply
 
Thread Tools Display Modes
  #11  
Old 02-14-2005, 09:10 AM
neocorteqz's Avatar
neocorteqz neocorteqz is offline
 
Join Date: May 2002
Location: Barefoot Bay Fl
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Guy G
Can't... The skin company did a loousy job on nesting it.
And going through all that code would be crazy...
not that hard. Yes it will take a long time, but it's not that hard.
Reply With Quote
  #12  
Old 02-14-2005, 09:29 AM
Guy G Guy G is offline
 
Join Date: Nov 2004
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To be honest, i have no idea how to fix them...
For example:
Quote:
Originally Posted by XHTML validator
Line 352, column 942: end tag for "td" omitted, but OMITTAG NO was specified

...f')">&nbsp;</td> </tr> </table> </div> <!-- nav buttons bar --> <div align="l

You may have neglected to close a tag, or perhaps you meant to "self-close" a tag; that is, ending it with "/>" instead of ">".
I found where it is. But i dont understand this line "end tag for "td" omitted, but OMITTAG NO was specified"


...
Reply With Quote
  #13  
Old 02-14-2005, 09:35 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It means incorrect nesting. Either you've started a <td> tag and not closed it, or you've wrote a </td> when there is no <td> to start it.
Reply With Quote
  #14  
Old 02-14-2005, 10:40 AM
Guy G Guy G is offline
 
Join Date: Nov 2004
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dean C
It means incorrect nesting. Either you've started a <td> tag and not closed it, or you've wrote a </td> when there is no <td> to start it.
Ok i see... i think i know where the problem is than... thanks.

Ok so i got it to 27 errors alone.. check it here: http://validator.w3.org/check?uri=ht...&sp=1#line-352

now it seems most of the errors generate out of this block. anyone willing to have a quick look?

HTML Code:
//--> </script> <!-- logo --> <a name="top"></a> <div align="center">
 <table width="85%"  border="0" cellspacing="0" cellpadding="1"> <tr> <td bgcolor="#000000">
<table width="100%"  border="0" cellspacing="0" cellpadding="0"> 
<tr> <td width="100%" align="left" style="vertical-align: top">
<table width="100%"  border="0" cellspacing="0" cellpadding="0"> <tr> 
<td bgcolor="#FFFFFF"> <table cellpadding="1" width="100%"> 
<tr> <td bgcolor="#304157"> <table width="100%"  border="0" cellspacing="0" cellpadding="0"> <tr> 
<td align="left" style="background-image: url('images/satellite/header/header_bg.gif')" bgcolor="#F2F4F6">
<a href="index.php"><img src="images/satellite/header/logo.gif" border="0" alt="" /></a></td> </tr> </table> 
<!-- /logo --> 
<table width="100%"  border="0" cellspacing="0" cellpadding="0"> <tr> <td height="22" style="background-image: url('images/satellite/gradients/nav_top_blue.gif')">&nbsp;</td> 
</tr> </table> </div> <!-- nav buttons bar -->
<div align="left"> <table class="tborder" cellpadding="100%" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> 
<tr align="center"> <!--<td class="vbmenu_control"><a href="index.php?amp;">Home</a></td>--> <td class="vbmenu_control"><a href="register.php?amp;">Register</a>
</td> <td class="vbmenu_control"><a href="faq.php?amp;" accesskey="5">FAQ</a></td> <td class="vbmenu_control">
<a href="memberlist.php?amp;">Members List</a></td> <td class="vbmenu_control"><a href="calendar.php?amp;">Calendar</a>
</td> <td class="vbmenu_control"><a href="forumdisplay.php?amp;do=markread">Mark Forums Read</a></td> <td class="vbmenu_control"><a href="#bottom">Bottom</a></td>
 </tr>
 </table> </div> <!-- / nav buttons bar --> <div align="center"> <table width="100%"  border="0" cellspacing="0" cellpadding="0"> <tr>
 <td height="19" style="background-image: url('images/satellite/gradients/nav_bottom_bg.gif')">&nbsp;</td> 
</tr> </table> </div> <!-- content table --> <!-- BEGIN TEMPLATE: spacer_open --> <!-- open content container --> <div align="center">
 <div class="page" style="width:100%; text-align:left"> <div style="padding:0px 15px 0px 15px"> <!-- END TEMPLATE: spacer_open -->
<p></p> <div align="center" style="font-size: 20px; font-family: tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif
Reply With Quote
  #15  
Old 02-14-2005, 01:04 PM
neocorteqz's Avatar
neocorteqz neocorteqz is offline
 
Join Date: May 2002
Location: Barefoot Bay Fl
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Guy G
Ok i see... i think i know where the problem is than... thanks.

Ok so i got it to 27 errors alone.. check it here: http://validator.w3.org/check?uri=ht...&sp=1#line-352

now it seems most of the errors generate out of this block. anyone willing to have a quick look?

HTML Code:
//--> </script> <!-- logo --> <a name="top"></a> <div align="center">
 <table width="85%"  border="0" cellspacing="0" cellpadding="1"> <tr> <td bgcolor="#000000">
<table width="100%"  border="0" cellspacing="0" cellpadding="0"> 
<tr> <td width="100%" align="left" style="vertical-align: top">
<table width="100%"  border="0" cellspacing="0" cellpadding="0"> <tr> 
<td bgcolor="#FFFFFF"> <table cellpadding="1" width="100%"> 
<tr> <td bgcolor="#304157"> <table width="100%"  border="0" cellspacing="0" cellpadding="0"> <tr> 
<td align="left" style="background-image: url('images/satellite/header/header_bg.gif')" bgcolor="#F2F4F6">
<ahref="index.php"><imgsrc="images/satellite/header/logo.gif"border="0"alt=""/></a></td></tr></table>
<!-- /logo --> 
<tablewidth="100%"border="0"cellspacing="0"cellpadding="0"><tr><tdheight="22"style="background-image:url('images/satellite/gradients/nav_top_blue.gif')">&nbsp;</td>
</tr> </table> </div> <!-- nav buttons bar -->
<divalign="left"><tableclass="tborder"cellpadding="100%"cellspacing="0"border="0"width="100%"align="center"style="border-top-width:0px">
<tralign="center"><!--<tdclass="vbmenu_control"><ahref="index.php?amp;">Home</a></td>--><tdclass="vbmenu_control"><ahref="register.php?amp;">Register</a>
</td><tdclass="vbmenu_control"><ahref="faq.php?amp;"accesskey="5">FAQ</a></td><tdclass="vbmenu_control">
<ahref="memberlist.php?amp;">MembersList</a></td><tdclass="vbmenu_control"><ahref="calendar.php?amp;">Calendar</a>
</td><tdclass="vbmenu_control"><ahref="forumdisplay.php?amp;do=markread">MarkForumsRead</a></td><tdclass="vbmenu_control"><ahref="#bottom">Bottom</a></td>
 </tr>
</table> </div> <!-- /navbuttonsbar--><divalign="center"><tablewidth="100%"border="0"cellspacing="0"cellpadding="0"><tr>
 <td height="19" style="background-image: url('images/satellite/gradients/nav_bottom_bg.gif')">&nbsp;</td> 
</tr> </table> </div><!--contenttable--><!--BEGIN TEMPLATE: spacer_open--><!--opencontentcontainer --><div align="center">
<divclass="page"style="width:100%;text-align:left"><divstyle="padding:0px15px0px15px"><!-- END TEMPLATE:spacer_open-->
<p></p><divalign="center"style="font-size:20px;font-family:tahoma,verdana,geneva, lucida,'lucida grande',arial,helvetica,sans-serif
I could figure it out better if I could see the template. Or Just the section of code in question.

It would take me some time to figure out what's what with thecodepastedfrom the results from your XHTML Vebose validation. I see things easierin the templates than i do with the raw ouput.

But if you want to do it yourself, take in the template that code isin, and where you see an open tag like <td>, and Close it
for example.

HTML Code:
<td class="vbmenu_control"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_cp]</a></td>
The above is proper.

HTML Code:
<td class="vbmenu_control"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_cp]</a>
The above is not proper, it is missing a </td> tag.

If you see an open <tr> tag also close it.

Note the following example.
HTML Code:
<!-- Arcade Search -->

		<tr>
			<td class="thead">Arcade Game Search</td>
		</tr>
		<tr>
			<td class="vbmenu_option" title="nohilite">
			<formaction="arcade.php?do=category"method="post">
			<inputtype="text"class="bginput"name="search"size="20"/>$gobutton<br/>
			</form>
			</td>
		</tr>
					<!--ArcadeSearch-->
Unless i made a mistake (which i shouldn't have it's not my code. ) That is proper.

all it is, is going through your template and where you see a tag open and not closed. close it.

Now when you start to close all the open tags most of the other stuffshould go away with it, because it's directly linked to the error's forthe non closed tags.

now if you see this

Line 356, column 942: end tag for "tr" omitted, but OMITTAG NO was specified


that means a <tr> was never started. so it's trying to close atag that was never opened. Like in the example above,you'll note how itstarted and ended it's tags. It should be safe to removethe</tr>, but just in case, you can always omit the tagwith<!--</tr> -->, If no error's show up, then you can justremove the code. First make sure that there indeed was no <tr>needed, or started above, but closed to early.


Same thing goes for <table> and</table> tags. ift hey'renot closed. close them, if they're not opened, test first, then removeif it's sucessfull.

an example of a properly opened and closed table

HTML Code:
<!-- Addon to John's vB3 ArcadeV3 hack - created by Natch -->
    <if condition="$show['member']">
    <!-- flash arcade auto-menu -->
    <div class="vbmenu_popup" id="flasharcade_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
<tr><tdclass="thead"><ahref="$vboptions[bburl]/arcade.php?$session[sessionurl]"title="$vbphrase[arcade_addon_title]">$vbphrase[arcade_addon_title]</a></td></tr>
$nav_arcade
        </table>
    </div>
    <!-- / flash arcade auto-menu -->
    </if>
<!-- Addon to John's vB3 ArcadeV3 hack - created by Natch -->
Reply With Quote
  #16  
Old 02-14-2005, 02:32 PM
Guy G Guy G is offline
 
Join Date: Nov 2004
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your time.
But the problem is that there are so many tags and tables within tables within tables thats its nearly impossible to figure it out...

You know any XHTML editor who would show me nesting problems of tags?

This is the header template, the source for most problems...
Attached Files
File Type: txt header.txt (9.0 KB, 3 views)
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 05:51 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05812 seconds
  • Memory Usage 2,282KB
  • Queries Executed 12 (?)
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
  • (6)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (1)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete