fehler mit overall_header.tpl

Alles zu Styles, Templates, Icons und Smilies für phpBB 2.0, sowie allgemeine Designfragen zur Integration von phpBB in bestehende Websites.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Benutzeravatar
yks
Mitglied
Beiträge: 1295
Registriert: 10.07.2004 02:31

fehler mit overall_header.tpl

Beitrag von yks »

hallo,

diese an sich harmlos einzubauenden meta-tags wollen nicht wie ich will :
habe sie in die overall_header.tpl datei eingebaut

Code: Alles auswählen

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html dir="{S_CONTENT_DIRECTION}"> 
<head>

<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">

.....(diesen meta-tag und/oder den nächsten schon verwendet habe).....

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">

<meta http-equiv="Content-Style-Type" content="text/css"> 

<--- einmal vor dem {META} die metas eingetragen hatte

{META} 

<--- und einmal nach dem {META} eingetragen hatte (ohne all die leerzeilen)

{NAV_LINKS} 
<title>{SITENAME} :: {PAGE_TITLE}</title>
an den metas ist auch alles ok, zum einen kenne ich sie, zum anderen auch mal habe generieren lassen, etc

aber füge ich die veränderte overall_header.tpl datei ein zerrupft es mir den kopf des forums :

normal hat das forum oben die links in
1. reihe : faq, suchen, mitgliederliste, benutzergruppen, registrieren
2. reihe : profil, einloggen für pn lesen, login
also ganz normal.
(ist man eingeloggt, steht auch noch nickpage dabei.)

habe ich die veränderte overall_header eingebaut sieht der kopf so aus :
der weiße hintergrund ist unterbrochen, der kopf steht in einem weißen feld, dann wird es von dem grau unterbrochen, dann fängt das forum an.

1. und 2. reihe der links ist normal.
dann aber darunter (noch im weißen feld) eine reihe, wie die 1. reihe
und im grauen feld darunter dann nochmal die 2. reihe

vor der doppelten 1. reihe im weißen feld steht noch in dieser arial-schrift :

Code: Alles auswählen

n="top" nowrap="nowrap">
verstehe es nicht.
in einem testforum klappte es so problemlos, daß ich schon nachprüfte, ob ich wirklich die veränderte datei hochgeladen habe g

gibt es evtl noch eine datei, die man ändern kann oder muß ?

danke + viele grüße, yks


(daß short-urls effizienter sind, habe ich gelesen - deren einbau kommt als nächstes ;)
Benutzeravatar
Fabse
Mitglied
Beiträge: 1401
Registriert: 02.06.2003 15:10
Wohnort: Klagenfurt
Kontaktdaten:

Beitrag von Fabse »

Mach mal nach den Meta-Tags

Code: Alles auswählen

</head>
Benutzeravatar
yks
Mitglied
Beiträge: 1295
Registriert: 10.07.2004 02:31

Beitrag von yks »

habe es nach {META} eingesetzt, aber kopf ist immer noch verrutscht.
text in arial hat sich leicht geändert :

Code: Alles auswählen

center" valign="top" nowrap="nowrap">
Benutzeravatar
Blutgerinsel
Mitglied
Beiträge: 1801
Registriert: 19.07.2004 18:53
Wohnort: Landkreis Ulm
Kontaktdaten:

Beitrag von Blutgerinsel »

kannst das mal im Browser anzeigen und die File und hier validieren lassen.

http://validator.w3.org/
Benutzeravatar
yks
Mitglied
Beiträge: 1295
Registriert: 10.07.2004 02:31

Beitrag von yks »

hm, weiß im moment nicht, wie das gehen soll, da die datei ja im tpl- statt html-format ist. bekam auch die meldung :
Sorry, I am unable to validate this document because its content type is text/plain, which is not currently supported by this service.
The Content-Type field is sent by your web server (or web browser if you use the file upload interface) and depends on its configuration. Commonly, web servers will have a mapping of filename extensions (such as ".html") to MIME Content-Type values (such as text/html).
That you recieved this message can mean that your server is not configured correctly, that your file does not have the correct filename extension, or that you are attempting to validate a file type that we do not support yet. In the latter case you should let us know that you need us to support that content type (please include all relevant details, including the URL to the standards document defining the content type) using the instructions on the Feedback Page.
und nach uploaden diese meldung :
Sorry! A fatal error occurred when attempting to transcode the character encoding of the document. Either we do not support this character encoding yet, or you have specified a non-existent character encoding (often a misspelling).

The detected character encoding was "{s_content_encoding}".

The error was "".

If you believe the character encoding to be valid you can submit a request for that character encoding (see the feedback page for details) and we will look into supporting it in the future.

IANA maintains the list of official names for character sets and the WDG has some information to help you correctly specify the character encoding.
hm, an letzter meldung noch grübel...

oder habe ich dich falsch verstanden ?
Benutzeravatar
yks
Mitglied
Beiträge: 1295
Registriert: 10.07.2004 02:31

Beitrag von yks »

mal den anfang der overall_header.tpl einsetze :

Code: Alles auswählen

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="Language" CONTENT="de">

<META http-equiv="Content-Style-Type" CONTENT="text/css">
<META name="robots" CONTENT="index, follow">
<META name="page-topic" CONTENT="Gesundheit">
<META name="keywords" CONTENT="keyworda,keywordb,keywordsc">
<META name="description" CONTENT="kurze beschreibung">
<META name="Titel" CONTENT="Gesundheit">
<META name="page-type" CONTENT="Homepage">
<META name="audience" CONTENT="zielgruppe">
<META name="author" CONTENT="a und b">
<link rev="made" CONTENT="mailto:blub@blabla.de">
<META name="owner" CONTENT="a">
<META name="revisit-afte" CONTENT="14 days">
<META http-equiv="expires" CONTENT="90">
{META}

{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<!-- link rel="stylesheet" href="templates/subSilver/{T_HEAD_STYLESHEET}" type="text/css" -->
<style type="text/css">

<!--
/*
  The original subSilver Theme for phpBB version 2+
  Created by subBlue design
sieht jemand etwas auffälliges ?
auch schon {META} vor den tags hatte.
Benutzeravatar
yks
Mitglied
Beiträge: 1295
Registriert: 10.07.2004 02:31

Beitrag von yks »

hm, hat keiner eine idee bzw einen fehler gesichtet ?
Benutzeravatar
Blutgerinsel
Mitglied
Beiträge: 1801
Registriert: 19.07.2004 18:53
Wohnort: Landkreis Ulm
Kontaktdaten:

Beitrag von Blutgerinsel »

yks hat geschrieben:hm, weiß im moment nicht, wie das gehen soll, da die datei ja im tpl- statt html-format ist. bekam auch die meldung.......
Oh mann langsam werde ich noch wahnsinnig......

Und wieso kommst du in Gottes Namen auf die Idee ein Template zu parsen weil das vermutlich ein Einheitsstandard ist ?

Der Browser frisst zum Frühstück HTML nichts anderes......

Und warum stellt der Browser etwas falsch dar? Weil irgendwelche Leute offenbar von Selfhtml noch nie was gehört haben und diese codeverpfuschenden WHYSIWYG Editoren benützen ohne überhaupt nur ein Quentchen darüber zu wissen.........

Und jetzt gib dem Validator die Index.php Seite von dem Forum und behebe die Fehler.......WHYMIWYG

P.S.: Gebet: Ich will nie wieder das Wort IF-Schleifen hören BITTTTEEE. Das ist Folter!!! -> musste das heute 2mal wo lesen....
Benutzeravatar
yks
Mitglied
Beiträge: 1295
Registriert: 10.07.2004 02:31

Beitrag von yks »

blutgerinsel, erstmal danke für deine antwort, dir aber auch gleich ein döschen baldrian reiche.
wäre schön, wenn du dich in einer ruhigen minute auch mal wieder daran erinnerst, daß du auch klein angefangen hast.
ich kann vieles nachlesen, stimmt - aber fragen habe ich dann meist immer noch.

so auch hier :
ich habe nun die metas in die overall_header wieder eingebaut, ließ mir die seite und den quelltext anzeigen und habe letzteren als html abgespeichert dem validator zum durchchecken gegeben.
denke das müßte so stimmen.

er spuckte auch einiges aus - jedoch muß ich die fehler sicher nicht in der html sondern im php ändern, oder ?
wenn es reichen würde die fehler in der html datei zu ändern bitte sagen, das wäre ja kein prob.

ich kopier mal den ausgespuckten check hierher, evtl kann mir dann jemand weiter helfen.

Encoding: iso-8859-1
Doctype: HTML 4.01
Transitional Errors: 8

This page is not Valid HTML 4.01 Transitional!

Below are the results of attempting to parse this document with an SGML parser.

1. Line 7, column 126: character data is not allowed here

Code: Alles auswählen

...tik-Austausch Foren-&Uuml;bersicht" />
You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).


2. Line 246, column 166: end tag for element "A" which is not open

Code: Alles auswählen

...iste" hspace="3" />Mitgliederliste</a>&nbsp; &nbsp;<a href="groupcp.php?sid=1
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.


3. Line 252, column 297: end tag for element "SPAN" which is not open

Code: Alles auswählen

..." hspace="3" />Registrieren</a></span>&nbsp;
4. Line 258, column 44: end tag for element "TD" which is not open

Code: Alles auswählen

</table></td>
5. Line 259, column 28: end tag for element "TR" which is not open

Code: Alles auswählen

</tr>
6. Line 260, column 23: end tag for element "TABLE" which is not open

Code: Alles auswählen

</table>
7. Line 287, column 38: document type does not allow element "BODY" here

Code: Alles auswählen

<body bgcolor="#FFFFFF" text="#000000">
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).


8. Line 589, column 2: document type does not allow element "P" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag

Code: Alles auswählen

<p></p>
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
danke + viele grüße, yks
Benutzeravatar
yks
Mitglied
Beiträge: 1295
Registriert: 10.07.2004 02:31

Beitrag von yks »

hat keiner noch einen tip, wie man den fehler aus dem overall_header wegbekommt ?

(beim phpbb-webring der overall_footer auch ähnlich zerfetzt aussah, evtl hat das miteinander etwas zu tun ?)

danke + viele grüße, yks
Antworten

Zurück zu „phpBB 2.0: Styles, Templates und Grafiken“