Risultati da 1 a 10 di 19
-
24-01-2007, 19:32 #1
- Data Registrazione
- Jan 2007
- Messaggi
- 32
Problema W3C
Facendo il controllo con il validatore XHTML, risultano i seguenti errori:
1. Error Line 745, column 7: end tag for element "tbody" which is not open
</tbody>
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
If this error occured in a script section of your document, you should probably read this FAQ entry.
✉
2. Error Line 746, column 7: end tag for element "table" which is not open .
</table>
✉
3. Error Line 1399, column 7: end tag for "tbody" omitted, but OMITTAG NO was specified .
</table>
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
✉
4. Info Line 1340, column 0: start tag was here .
<tbody id="collapseobj_forumbit_26" style="">
Chi mi da una mano a sistemare la cosa mi fa un grande favore
-
25-01-2007, 01:07 #2
Ci alleghi la pagina in questione? E' difficile dire dove sta l'errore
Giovanni
http://www.trimelli.com/
Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.
-
25-01-2007, 01:34 #3
- Data Registrazione
- Jan 2007
- Messaggi
- 32
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
$headinclude
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar
<!-- guest welcome message -->
<if condition="$show['guest']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
<td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>
</table>
<div class="cat_spacer"></div>
</if>
<!-- / guest welcome message -->
</tbody>
$forumbits
</table>
<div class="spacer"></div>
<br />
<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
</tr>
</thead>
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><a href="online.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
<div>$activeusers</div>
</div>
</td>
</tr>
</tbody>
<!-- end logged-in users -->
</if>
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>
$vbphrase[threads]: $totalthreads,
$vbphrase[posts]: $totalposts,
$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
</if>
</div>
<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
</div>
</td>
</tr>
</tbody>
<!-- today's birthdays -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
$vbphrase[todays_birthdays]
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
<tr>
<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&day=$today&sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
</tr>
</tbody>
<!-- end today's birthdays -->
<if condition="$show['upcomingevents']">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
<tr>
<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</if>
<tbody>
<tr>
<td class="tcat" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">
<a href="showgroups.php?$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
</table>
$forumhome_markread_script
<!-- end what's going on box -->
<!-- icons -->
<div class="spacer"></div>
<table class="icon_legend" align="center" border="0" cellpadding="6" cellspacing="0" width="100%">
<tbody>
<tr align="center">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_new_small.gif" alt="" border="0" /></td>
<td align="left" class="alt1">
<div class="smallfont">$vbphrase[forum_contains_new_posts]</div>
</td>
<td class="alt2" ><img src="$stylevar[imgdir_statusicon]/forum_old_small.gif" alt="" border="0" /></td>
<td align="left" class="alt1" ><div class="smallfont">$vbphrase[forum_contains_no_new_posts]</div></td>
<td class="alt2" ><img src="$stylevar[imgdir_statusicon]/forum_new_lock_small.gif" alt="" border="0" /><img src="$stylevar[imgdir_statusicon]/forum_old_lock_small.gif" alt="" border="0" /></td>
<td align="left" class="alt1" ><div class="smallfont">$vbphrase[forum_is_closed_for_posting]</div></td>
</tr>
</tbody>
</table>
<!-- /icons-->
<!-- time and login code -->
<div class="spacer"></div>
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
<!-- Time -->
<td align="$stylevar[left]" valign="top"><div class="smallfont">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div></td>
<!-- /Time -->
<!-- member logout -->
<if condition="!$show['guest']">
<td align="$stylevar[right]" valign="top"><div class="smallfont"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></div></td>
</if>
<!-- /member logout -->
</tr>
</table>
<!-- /time and login code -->
$footer
</body>
</html>
Il terzo si trova nella riga 1399 e non riesco a capire di che template si tratti. La riga 1340 è
<tbody id="collapseobj_forumbit_26" style="">
Grazie infinte.Ultima modifica di Forgo; 25-01-2007 alle 01:37
-
25-01-2007, 12:21 #4
Stasera do un'occhiata.
Giovanni
http://www.trimelli.com/
Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.
-
25-01-2007, 20:36 #5
In primo luogo, la pagina mi sembra tutto ok. Il codice che hai allegato, ovviamente non mostra tutto il contenuto in modo corretto, perché le variabili, soprattutto $header è $footer, contengono tag di apertura e chiusura che qui mancano.
Ho fatto il parsing della pagina, dopo aver tolto i tag illeciti <if> e <phrase>, ed è 100% allo standard W3C. Quindi non mi preoccuperei più di tanto, soprattutto se nessuna delle pagina da errore.
Per il parsing ho usato HTMLTidy, che è stato sviluppato da persone che di HTML si intendono, ossia collaboratori allo standard W3CGiovanni
http://www.trimelli.com/
Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.
-
25-01-2007, 20:38 #6
PS: Sono anche andato sul sito ed è tutto ok. Nessun errore.
Giovanni
http://www.trimelli.com/
Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.
-
26-01-2007, 23:34 #7
- Data Registrazione
- Jan 2007
- Messaggi
- 32
Non ho capito che dovrei modificare perchè la validazione XHTML del w3c non mi dia errori... Potresti spiegarmelo?
Come nel sito non ci sono errori? Se intendi nel sito zeldalegend, no non ci sono ma se intendi nel forum, guarda http://validator.w3.org/check?uri=ht....it%2Fforum%2F
-
28-01-2007, 01:33 #8
Allora non ho capito cosa volevi. Ho capito che hai un problema W3C compliant con lo stile vBulletin che non riesci a risolvere. A me sembra tutto apposto, a te anche, e quindi?
Giovanni
http://www.trimelli.com/
Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.
-
28-01-2007, 13:11 #9
- Data Registrazione
- Jan 2007
- Messaggi
- 32
-
30-01-2007, 01:09 #10
- Data Registrazione
- Jan 2007
- Messaggi
- 32
Discussioni Simili
-
vBulletin 3.6.x Grave problema sul mio nuovo forum
Di paolo nuovo salario nel forum VBulletin 3Risposte: 1Ultimo Messaggio: 21-12-2006, 10:26 -
vBulletin 3.6.x Problema cookies
Di ceccus nel forum VBulletin 3Risposte: 4Ultimo Messaggio: 05-11-2006, 14:40 -
vBulletin 3.6.x Grosso problema allegati
Di top74 nel forum VBulletin 3Risposte: 2Ultimo Messaggio: 29-09-2006, 13:35 -
vBulletin 3.6.x Problema Ora sbagliata nei messaggi
Di Nunzio nel forum VBulletin 3Risposte: 6Ultimo Messaggio: 09-08-2006, 15:58 -
vBulletin 3.0.x problema immagini postate
Di hokar nel forum VBulletin 3Risposte: 1Ultimo Messaggio: 06-10-2005, 17:08
Segnalibri