Seite 1 von 1

Seltsames *.tpl Problem

Verfasst: 16.02.2008 22:26
von Shauku
Ich bekomme seit kurzem einen seltsamen Fehler auf meiner Indexseite. Ich hab keine Idee wo er herkommt. Ich vermute, ich seh den Wald vor lauter Bäumen nicht. Ich zitier am besten mal den Quelltext.

ende der index_body.tpl

Code: Alles auswählen

	<td class="row1" align="center"><img src="templates/XXX/images/folder_locked_big.gif" alt="Forum ist gesperrt"></td>
	<td class="row2" nowrap><span class="gensmall">Forum ist gesperrt</span></td>
  </tr>
</table>
Wo kommt das hier her?

Code: Alles auswählen

r>
</table>
anfang der overall_footer.tpl

Code: Alles auswählen

<div align="center">
  <!--
	We request you retain the full copyright notice below including the link to www.phpbb.com.
	This not only gives respect to the large amount of time given freely by the developers
	but also helps build interest, traffic and use of phpBB 2.0. If you cannot (for good
	reason) retain the full copyright we request you at least leave in place the
	Powered by phpBB line, with phpBB linked to www.phpbb.com. If you refuse
	to include even this then support on our forums may be affected.
	The phpBB Group : 2002

Verfasst: 16.02.2008 22:37
von PhilippK
Erklär das nochmal - ich versteh dein Problem nicht :-?

Gruß, Philipp

Verfasst: 16.02.2008 22:42
von Shauku
Sry, war ein wenig wirr. Die 3 Codeabschnitte gehören zusammen.

Code: Alles auswählen

   <td class="row1" align="center"><img src="templates/XXX/images/folder_locked_big.gif" alt="Forum ist gesperrt"></td>
   <td class="row2" nowrap><span class="gensmall">Forum ist gesperrt</span></td>
  </tr>
</table>
r>
</table>
<div align="center">
  <!--
   We request you retain the full copyright notice below including the link to www.phpbb.com.
   This not only gives respect to the large amount of time given freely by the developers
   but also helps build interest, traffic and use of phpBB 2.0. If you cannot (for good
   reason) retain the full copyright we request you at least leave in place the
   Powered by phpBB line, with phpBB linked to www.phpbb.com. If you refuse
   to include even this then support on our forums may be affected.
   The phpBB Group : 2002
Das ist ausm Seitenquelltext raus und auf meiner Seite erscheint natürlich "r> " zwischen der Index-Teil und dem Footer-Teil. Das sieht nicht besonders hübsch aus. Ich kann mir nicht erklären, wo der Mittelteil herkommen könnte.

Verfasst: 16.02.2008 22:51
von PhilippK
Was hast du denn in der letzten Zeit geändert?

Gruß, Philipp

Verfasst: 17.02.2008 00:22
von Shauku
PhilippK hat geschrieben:Was hast du denn in der letzten Zeit geändert?

Gruß, Philipp
Ich habe mehrere Sachen geändert (hauptsächlich alle tpls). Der Fehler ist aber recht unauffällig, also könnte er auch vorher schon dagewesen sein. D.h. vor der Editierung von einer php Datei (wird wohl die index.php gewesen sein, ich weiss es aber nicht mehr genau). Das lässt sich auch nicht mehr zurückverfolgen bzw. auf den alten Stand bringen. Das hab ich schon Stundenlang probiert. Also --> "was wurde geändert" löst mein Problem nicht :) .

Der Fehler kommt nur auf der Indexebene vor. Es sieht nach einem html Fehler aus. Könnte auch ein Switch oder einem Zeichenfehler in ner php Datei sein.

Was wirklich was bringen würde wäre:
Was wird includet?
- index_body.tpl
- overall_footer.tpl
- und?

Wo wirds includet?
- index.php ?

Und da ich das heute auch nicht mehr hinkrieg, geh ich jetzt ins Bettchen :) .

Verfasst: 17.02.2008 17:49
von Shauku
Das ist echt hart. Ich hab gerade zum Testen an das Ende der index_body.tpl ein <b eingefügt. Das würde zu einem:
<br>
</table>
führen. Nach dem hochladen war der Fehler (die Anzeige von r> ) "natürlich" weg. Nach einem Überprüfen des Seitenquelltextes stand an der entsprechenden Stelle aber nur noch . Nach dem löschen des <b Endes in der index_body.tpl ging wieder alles. Kurze Rede, langer Sinn --> Bei mir Spukts. (Wenns an den Temps liegt, müsste der Fehler ja trotzdem irgendwann mal vorhanden gewesen sein :o .)

Hier der jetzige Stand:

Code: Alles auswählen

	<td class="row1" align="center"><img src="templates/XXX/images/folder_locked_big.gif" alt="Forum ist gesperrt"></td>
	<td class="row2" nowrap><span class="gensmall">Forum ist gesperrt</span></td>
  </tr>
</table>
<div align="center">
  <!--
	We request you retain the full copyright notice below including the link to www.phpbb.com.
	This not only gives respect to the large amount of time given freely by the developers
	but also helps build interest, traffic and use of phpBB 2.0. If you cannot (for good
	reason) retain the full copyright we request you at least leave in place the
	Powered by phpBB line, with phpBB linked to www.phpbb.com. If you refuse