Hallo, Gast! (Registrieren)

Wir wünschen allen Besuchern frohe Ostern!

Letzte Ankündigung: MyBB 1.8.37 veröffentlicht (04.11.23)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
Nach Portal umgestaltung zu viele script fehler laut Validation
#1
ich hate am anfang ca. 3 fehler zum schluß gehabt...

habe im Portal nur ein paar links eingefügt unter der NAvigation und eine Uhr per html script!

seitdem habe ich über 260 scriptfehler..

sollte man lieber eine externe cms seite dafür gestalten oder was ist der grund dafür??

vielleicht falsche html codes??
das ist das portal template wo angeblich die ganzen fehler her kommen.

Code:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr><td valign="top" width="200">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<strong>Navigation</strong>
</td>
</tr>
<tr>
<td class="trow1">
<strong><span class="Stil25">» </span></strong><a  href="http://www.tunisdeluxe.de/portal.php" style="text-decoration: none">Portal</a><br>
<strong><span class="Stil25">» </span></strong><a  href="http://www.tunisdeluxe.de/index.php" style="text-decoration: none">Forum</a><br>
<strong><span class="Stil25">» </span></strong><a  href="http://www.tunisdeluxe.de/vgallery.php" style="text-decoration: none">Video Gallerie</a><br>
<strong><span class="Stil25">» </span></strong><a  href="http://www.tunisdeluxe.de/gallerie/index.php" style="text-decoration: none">Gallerie</a><br>
<strong><span class="Stil25">» </span></strong><a  href="http://www.tunisdeluxe.de/games.php" style="text-decoration: none">Spiele</a><br>
<strong><span class="Stil25">» </span></strong><a  href="http://www.tunisdeluxe.de/gallerie/memberlist.php" style="text-decoration: none">Mitglieder</a><br>
<strong><span class="Stil25">» </span></strong><a  href="http://www.tunisdeluxe.de/misc.php?action=help" style="text-decoration: none">Hilfe</a><br>
<strong><span class="Stil25">» </span></strong><a  href="http://www.tunisdeluxe.de/showthread.php?tid=73" target="_blank"style="text-decoration: none">Regeln</a><br>
<strong><span class="Stil25">» </span></strong><a
<a href="http://www.surfmusik.de/radio/radio-mosaique-fm,7628.html" target="_http://www.surfmusik.de/radio/radio-mosaique-fm,7628.html" onClick="window.open('http://www.surfmusik.de/radio/radio-mosaique-fm,7628.html','Titel PopUp','width=500,height=500,scrollbars');return false"><u>Mosaique FM</u></a>
</a>
</tr>
</table><br />
{$welcome}
{$pms}
{$search}
<td valign="top">
{$announcements}
{$latestthreads}
</td>
<td valign="top" width="200">
<table border="0" cellspacing="{$theme['borderwidth']}"
cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<strong>Uhr</strong>
<embed width="180" height="180" src="http://img.photobucket.com/albums/v13/favorieten/flag-clocks/Tunisia.swf" wmode= "blue"type="application/x-shockwave-flash"></embed>
</td>
</tr>
<tr>
<td class="trow1">
</a>
</tr>
</table><br />
{$whosonline}
<!-- SCP_1_0 -->

{$stats}
</td>
</tr>
</table>
</body>
</html>
Zitieren
#2
Hallo aman,

diese > Validierung < zeigt 151 Fehler und deren Ursache(n) an. Und selbst der Lösungsansatz zur Behebung wird mitgeliefert. Wink

Ändere z. B. alle "<br>"-Tags in <br />-Tags um; usw.

Meist reduziert sich die Anzahl der Fehler schon durch eine einzige Änderung.
Zitieren
#3
ich hab die br tags umgeändert aber es kommen sogar noch mehr fehler...
Zitieren
#4
Das kann ich z. B. hier (s. Anhang) aber nicht erkennen.

In welchem Template/-Set von welchem Theme änderst du denn?


Angehängte Dateien Thumbnail(s)
   
Zitieren
#5
ich habe es nicht bei allen gemacht.. warte gib mir 3 min... dann kannst du nochmal gucken..

das ist im template portal
bin fertig!

jetzt habe ich anstatt 151 159 fehler.. habe es komplett ersätzt...

oder habe ich doch einen fehler gemacht oder gar falsch verstanden??
Zitieren
#6
Es sind noch viele andere Fehler vorhanden. Um diese zu beheben sind aber Kenntnisse in HTML erforderlich. Der Validator des W3C könnte auch weiterhelfen.

Gruß,
Michael
[Bild: banner.png]
Support erfolgt NUR im Forum!
Bitte gelöste Themen als "erledigt" markieren.
Beiträge mit mangelhafter Rechtschreibung/Grammatik werden kommentarlos gelöscht.
Zitieren
#7
hi michael...

ich werde versuchen dran zu arbeiten

* Inhalt und Attachment entfernt, Crossposting *
Zitieren
#8
kann mir jemand Helfen, ich versteh das ändern nicht.
hab es so geändert wie das da steht aber kommen mehr fehler............

wurde nochmal aktualisiert

Code:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr><td valign="top" width="200">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<strong>Navigation</strong>
</td>
</tr>
<tr>
<td class="trow1">
<strong><span class="Stil25">» </span></strong><a  href="http://www.tunisdeluxe.de/portal.php" style="text-decoration: none">Portal</a><br>
<strong><span class="Stil25">» </span></strong><a  href="http://www.tunisdeluxe.de/index.php" style="text-decoration: none">Forum</a><br>
<strong><span class="Stil25">» </span></strong><a  href="http://www.skype.com/go/joinpublicchat?skypename=mindhunter_25&topic=Tunisdeluxe&blob=9fiNSR0xV6kd0b48tUgsK4ZE5juvcDvGkpY4XXTHoK0BEibwo6woQunT-X6F2XFNbSxq_NynozM" style="text-decoration: none">Chat</a><br>
<strong><span class="Stil25">» </span></strong><a  href="http://www.tunisdeluxe.de/vgallery.php" style="text-decoration: none">Video Gallerie</a><br>
<strong><span class="Stil25">» </span></strong><a  href="http://www.tunisdeluxe.de/gallerie/index.php" style="text-decoration: none">Gallerie</a><br>
<strong><span class="Stil25">» </span></strong><a  href="http://www.tunisdeluxe.de/games.php" style="text-decoration: none">Spiele</a><br>
<strong><span class="Stil25">» </span></strong><a  href="http://www.tunisdeluxe.de/memberlist.php" style="text-decoration: none">Mitglieder</a><br>
<strong><span class="Stil25">» </span></strong><a  href="http://www.tunisdeluxe.de/misc.php?action=help" style="text-decoration: none">Hilfe</a><br>
<strong><span class="Stil25">» </span></strong><a  href="http://www.tunisdeluxe.de/showthread.php?tid=73" target="_blank"style="text-decoration: none">Regeln</a><br>
</u></a>
</a>
</tr>
</table><br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<strong>Weitere Links</strong>
</td>
</tr>
<tr>
<td class="trow1">
<strong><span class="Stil25">» </span></strong><a  href="http://www.tunesien.com/" style="text-decoration: none">Tunesien info Forum</a><br>
<strong><span class="Stil25">» </span></strong><a  href="http://www.diewahrereligion.de/" style="text-decoration: none">Die Wahre Religion</a><br>
<strong><span class="Stil25">» </span></strong><a  href="http://www.zitounafm.net/" style="text-decoration: none">Zitounafm</a><br>
<strong><span class="Stil25">» </span></strong><a  href="http://www.beepworld.de/members95/beirutlove/index.html" style="text-decoration: none">AloBeirut</a><br>
<strong><span class="Stil25">» </span></strong><a  href="http://www.auswaertiges-amt.de/diplo/de/Laender/Tunesien.html" style="text-decoration: none">Tunesien  Info</a><br>
<strong><span class="Stil25">» </span></strong><a  href="http://www.wetteronline.de/Tunesien.html" style="text-decoration: none">Tunesien Wetter</a><br>
<strong><span class="Stil25">» </span></strong><a
<a href="http://www.surfmusik.de/radio/radio-mosaique-fm,7628.html" target="_http://www.surfmusik.de/radio/radio-mosaique-fm,7628.html" onClick="window.open('http://www.surfmusik.de/radio/radio-mosaique-fm,7628.html','Titel PopUp','width=500,height=500,scrollbars');return false"><u>Mosaique FM
</u></a>
</a>
</tr>
</table><br />
{$welcome}
{$pms}
{$search}
<td valign="top">
{$announcements}
{$latestthreads}
</td>
<td valign="top" width="200">
<table border="0" cellspacing="{$theme['borderwidth']}"
cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<strong>Uhr</strong>
<embed width="180" height="180" src="http://img.photobucket.com/albums/v13/favorieten/flag-clocks/Tunisia.swf" wmode= "blue"type="application/x-shockwave-flash"></embed>
</td>
</tr>
<tr>
<td class="trow1"></td>
</a>
</tr>
</table><br />
<!-- SCP_1_0 -->
{$whosonline}
{$stats}
<!-- ASOIP_2_0_P -->
</td>
</tr>
</table>
</body>
</html>
Zitieren
#9
Arbeite erst mal die "leichten Fehler" durch z.B. solche Sachen hier.
Zitat:Line 161, Column 7: end tag for element "a" which is not open .

</u></a>
Code:
target="_blank"style="text-decoration: none">Regeln</a><br>
</u></a>
</a>
</tr>
Achte vor allem Dingen mal darauf das alle Tags die du auf machst auch wieder (an der richtigen Stelle) schließt.
MyBBoard.de jetzt auf YouTube!
Fehlender Plan wird durch Wahnsinn ersetzt!!Toungue
Gruß Krafdi    www.krafdi.de
Zitieren
#10
Ersetze alle <br> durch <br />.

Gruß,
Michael
[Bild: banner.png]
Support erfolgt NUR im Forum!
Bitte gelöste Themen als "erledigt" markieren.
Beiträge mit mangelhafter Rechtschreibung/Grammatik werden kommentarlos gelöscht.
Zitieren