Zum Inhalt springen

weisse seite beim aufruf

Erstellt am 14. September 2003 · 4 Antworten · letzte Antwort am 15. September 2003

Tags: Frage

Stevil ·

hallo! ich habe 2 projekte laufen, deren template und html template vollkommen identisch sind (bis auf die pfadangaben im fileadmin).
das erste projekt wird ohne probleme eingezeigt, beim zweiten kommt die berühmte "weisse seite"...hier meine ganzen quelltexte..was hab ich denn falsch gemacht? 🙁

quellcode beim aufruf mittels browser:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<!--
This website is brought to you by Typo3 - get.content.right
Typo3 is a free open source Content Management Framework
created by Kasper Skaarhoej and licensed under GNU/GPL.
Information and contribution at http://www.typo3.com
-->

<style TYPE="text/css">
<!--
/* default styles for extension "tx_indexedsearch" */
.tx-indexedsearch .tx-indexedsearch-searchbox INPUT.tx-indexedsearch-searchbox-button { width:100px; }
.tx-indexedsearch .tx-indexedsearch-searchbox INPUT.tx-indexedsearch-searchbox-sword { width:150px; }
.tx-indexedsearch .tx-indexedsearch-whatis P .tx-indexedsearch-sw { font-weight:bold; font-style:italic; }
.tx-indexedsearch .tx-indexedsearch-whatis { margin-top:10px; margin-bottom:5px; }
.tx-indexedsearch P.tx-indexedsearch-noresults { text-align:center; font-weight:bold; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-title { background:#eeeeee; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-title P { font-weight:bold; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-title P.tx-indexedsearch-percent { font-weight:normal; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-descr P { font-style:italic; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-descr P .tx-indexedsearch-redMarkup { color:red; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-info { background:#eeeeff; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-secHead { margin-top:20px; margin-bottom:5px; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-secHead H2 { margin-top:0px; margin-bottom:0px; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-secHead TABLE { background:#cccccc; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-secHead TD { vertical-align:absmiddle; }
-->
<!--
</STYLE>
<link rel="stylesheet" href="uploads/tf/defaultstylesheet_11.css">

<link REL="schema.dc" HREF="http://purl.org/metadata/dublin_core_elements">

<title>shagrath.sternenklinge.de</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="generator" content="Typo 3.3 CMS">
<script language="javascript">
<!--
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
var msie4 = (browserName == "Microsoft Internet Explorer" && browserVer >= 4);
if ((browserName == "Netscape" && browserVer >= 3) || msie4 || browserName=="Konqueror") {version = "n3";} else {version = "n2";}
function blurLink(theObject) {
if (msie4) {theObject.blur();}
}
// -->
</script>

</head>
<body bgcolor="#FFFFFF">

</body>
</html>

template:

page = PAGE
page.typeNum = 0

page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/shagrath/template.htm

workOnSubpart = DOCUMENT
DOCUMENT = CONTENT
marks.DOCUMENT < styles.content.get

marks.ENDCONT = HRULER
marks.ENDCONT {
lineThickness = 1
lineColor = #000000
spaceLeft = 0
spaceRight = 0
}

marks.LASTMODIF = TEXT
marks.LASTMODIF {
data = page:lastUpdated
if.isTrue.data = page:lastUpdated
date = d.m.Y H:i
wrap = <center><p style="{font-size: 9px; }">Stand:&nbsp;|&nbsp;</p></center>
data = register : SYS_LASTCHANGED
if >
}

marks.COPYRIGHT= TEXT
marks.COPYRIGHT.value = <center><p style="{font-size: 9px; }">© 2003&nbsp;<a target=_blank href="http://www.sternenklinge.de/">www.sternenklinge.de</a><a href="mailto:webmaster@sternenklinge.de"> Webmaster</a></center>

marks.CONTENT = CONTENT
marks.CONTENT < styles.content.get

marks.MENU=HMENU
marks.MENU_TOP.entryLevel=0

marks.MENU.1=GMENU
marks.MENU.1{
expAll=0
NO{
wrap= |
XY = [10.w]+20,20
backColor = |*| #937E99|| #937E99|*|
10 = TEXT
10.text.field = title
10.fontFile = fileadmin/sternenklinge/mephisto.ttf
10.fontSize= 15
10.fontColor= #000000
10.offset = 0,18
10.align = center
10.niceText = 0
}
RO<.NO
RO=1
RO{
backColor = #937E99
10.fontColor = #000000
}

ACT<.NO
ACT=1
ACT {
backColor = #937E99
10.fontColor = #FFCC00
}
}

marks.CONTENT = CONTENT
marks.CONTENT < styles.content.get
}

html vorlage:

<html>
<body bgcolor="#937E99" text="#FFFFFF" link="#000000" vlink="#000000" alink="#000000">
<!-- ###DOKUMENT### begin -->
<table width="750" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td bordercolor="#937E99"><img src="fileadmin/sternenklinge/top_banner.png" width="750" height="80"></td>
</tr>
<tr>
<td height="30">
<div align="center">###MENU###</div></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" ><img src="fileadmin/sternenklinge/table_top.png" width="750" height="46"></td>
</tr>
<tr>
<td width="42" background="fileadmin/sternenklinge/table_left.png">&nbsp;</td>
<td width="666" bgcolor="#000000"><br>
###CONTENT###<br>
<br>
</td>
<td width="42" background="fileadmin/sternenklinge/table_right.png">&nbsp;</td>
</tr>
<tr>
<td colspan="3"><img src="fileadmin/sternenklinge/table_down.png" width="750" height="45"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" "><div align="center">###LASTMODIF######COPYRIGHT###</div></td>
</tr>
</table>
<p>&nbsp;</p>
<!-- ###DOKUMENT### end -->
</body>
</html>

im bereich whole template record:
- styles.content (default)
- cSet stylesheet
- cSet (default)
- content (default)

- die hintergrundfarbe wird außerdem nicht weiss dargestellt, sondern in der im stylesheet definierten farbe (was ja schonmal gut ist).

wo is der hacken? 🙁 -->

jweiland ·

Die Zeilen

DOCUMENT = CONTENT
marks.DOCUMENT < styles.content.get

sind überflüssig bzw. nicht korrekt, aber daran dürfte es nicht liegen.
Wenn du magst, schick mir mal BE Logindaten, dann schau ich mir das mal an.

Jochen Weiland

Stevil ·

hmhm...danke für das angebot, kann ich aber nicht machen, sorry, dann reißt man mir den kopf ab...

hab die beiden zeilen entfernt, brauchte auch nix...hmh....was mich stutzig macht ist eben, das template und html template vollkommen identisch sind und ich nichts bis aus farb angaben geänder habe....

Edit:
seltsam...ich habe jetzt nur mal die Zeile "template.file" ausgetauscht mit einem template das in einem ganz anderen directoy liegt, das hat er gefunden.
hab daraufhin pfadangabe meines hauptproblemes kontrolliert, da is kein fehler, auch chmods und chown sitzen richtig....ist da was zu beachten in der richtung?

Edit2:
habs hinbekommen. seltsamer weise waren alle von typo angelegten daten für "wwwrun:www" gesetzt. ich habs jetzt in die daten vom user "web2:ftponly" geändert und schwups...läuft...