---
title: "Errors and warnings"
url: "https://www.typo3.net/d/17685-errors-and-warnings"
source: "typo3.net"
tags: ["Allgemein","Frage"]
created: "2004-11-05"
last_reply: "2004-11-08"
replies: 26
solved: false
page: 1
pages: 1
lang: "de"
---

# Errors and warnings

Allgemein · 26 Antworten · gestartet 2004-11-05

## Eröffnungsbeitrag

**donvito** · 2004-11-05 · [Beitrag #1](https://www.typo3.net/d/17685-errors-and-warnings/1)

hey

ich hab im object-browser folgende fehlermeldung:
1:    Line 1431: The script is short of 1 end brace(s)

aber mein problem: wo finde ich line 1431? so viele hab ich in meinem seutp-field gar nicht. welche datei zeigt die lines an?

## Antworten

### [#2](https://www.typo3.net/d/17685-errors-and-warnings/2) · HansMaulwurf · 2004-11-05

ja in dem script der aufgerufen wird!

### [#3](https://www.typo3.net/d/17685-errors-and-warnings/3) · donvito · 2004-11-05

das dokument hat aber nur 150 zeilen. ich hab nicht ganz gerafft wie ich da ran komme???

### [#4](https://www.typo3.net/d/17685-errors-and-warnings/4) · HansMaulwurf · 2004-11-05

na dann is eben ein anderes Script gemient oda denkst du typo3 besteht aus einer Datei?
kuck halt mal da müsste bestimmt auch ein datei name angegeben sein

kannst ja posten wenn du es gefunden hast

### [#5](https://www.typo3.net/d/17685-errors-and-warnings/5) · donvito · 2004-11-05

nee, das ganze liegt am template, glaube ich. meine hilfsnavi zeigt den content an. meine hauptnavi zeigt noch den platzhalter. hab mein setup-code nochmal umgekrempelt aber nichts gefunden. ich dachte ich hab ne geschfeifte klammer vergessen, dem is aber nicht so. keiner meiner datein hat über 150 lines. dateinamen zeigt er leider nicht an. alles was er anzeigt ist:

Errors and warnings
1:    Line 1431: The script is short of 1 end brace(s)

sonst nichts. und ich hab noch keine seite gefunden die ne line 1431 hat. der fehler wird im object-browser angezeigt.
 :(

### [#6](https://www.typo3.net/d/17685-errors-and-warnings/6) · HansMaulwurf · 2004-11-05

poste mal den code

### [#7](https://www.typo3.net/d/17685-errors-and-warnings/7) · donvito · 2004-11-05

seite = PAGE
seite {
          typeNum = 0
          bodyTag = <body bgColor = "#FFFFFF"
          stylesheet = fileadmin/style.css
          meta.AUTHOR = zenedinho
          meta.DESCRIPTION = Hier steht die Beschreibung

10 = TEMPLATE
          10.template = FILE
          10.template.file = fileadmin/template.html
          10.workOnSubpart = DOKUMENT
 10.marks {
          MENU_OBEN = HMENU
          MENU_OBEN.special = directory
          MENU_OBEN.special.value = 4
          MENU_OBEN.1 = TMENU
          MENU_OBEN.1.NO = 1
          MENU_OBEN.1.ATagParams = class="linkWeiss"
          MENU_OBEN.1.NO.linkWrap = &nbsp;| &nbsp;&#124; |*| &nbsp; | &nbsp;&#124 |*| &nbsp; |

          MENU_LINKS = HMENU
          MENU_LINKS.special = directory
          MENU_LINKS.special.value = 3
          MENU_LINKS.entryLevel = 0
          MENU_LINKS.1 = GMENU
          MENU_LINKS.1.NO = 1
       MENU_LINKS.1.NO {
           wrap = |<br>
           XY = 146, 30
           backColor = #3378CE

          10 = TEXT
          10.text.field = title
          10.fontColor = #FFFFFF
          10.fontFile = fileadmin/fonts/verdana.ttf
          10.fontSize = 10
          10.niceText = 1
          10.offset = 7, 21

          20 = IMAGE
          20.file = GIFBUILDER
         20.file {
          XY = 146, 1
          backColor = #FFFFFF
         }
          20.offset = 0, 29
}
          MENU_LINKS.1.RO < .MENU_LINKS.1.NO
          MENU_LINKS.1.RO  {
          tmp < .backColor
          backColor = #68ABD7
          5 < .10
          5.fontColor < .tmp
          5.offset = 9,23
          }
         MENU_LINKS.1.CUR < .MENU_LINKS.1.RO
         MENU_LINKS.2 < .MENU_LINKS.1
         MENU_LINKS.2 {
         NO.backColor = #98CCEF
         NO.10.fontColor = #93979A
         NO.20.file.backColor = #79AED1
         RO < .NO
         RO.backColor = #FFFFFF
         RO.5 >
         CUR < .RO
         }

CONTENT = CONTENT
        CONTENT {
        table = tt_content
        select.orderBy = sorting
        select.where = colPos = 0
        }

}
}

### [#8](https://www.typo3.net/d/17685-errors-and-warnings/8) · HansMaulwurf · 2004-11-05

mach mal dein body tag zu

### [#9](https://www.typo3.net/d/17685-errors-and-warnings/9) · donvito · 2004-11-05

danke, aber das wars leider nicht. geht immer noch nicht

### [#10](https://www.typo3.net/d/17685-errors-and-warnings/10) · HansMaulwurf · 2004-11-05

hast du mal link

### [#11](https://www.typo3.net/d/17685-errors-and-warnings/11) · donvito · 2004-11-05

liegt aufm apache, bei mir.
gleich fliegt ein monitor ausm dritten stock...

wie gesagt, die hauptnavi erkennt den ###content### nicht...

### [#12](https://www.typo3.net/d/17685-errors-and-warnings/12) · HansMaulwurf · 2004-11-05

Dann binde doch einfach content (default) ein und schreibe

```typoscript
marks.CONTENT < style.content.get
```

### [#13](https://www.typo3.net/d/17685-errors-and-warnings/13) · donvito · 2004-11-05

hab ihn jetzt so eingebunden

```typoscript
         10 = TEMPLATE
          10.template = FILE
          10.template.file = fileadmin/template.html
          10.workOnSubpart = DOKUMENT
          10.marks.CONTENT < style.content.get
 10.marks {
          MENU_OBEN = HMENU
          MENU_OBEN.special = directory
          MENU_OBEN.special.value = 4
          MENU_OBEN.1 = TMENU
          MENU_OBEN.1.NO = 1
          MENU_OBEN.1.ATagParams = class="linkWeiss"
          MENU_OBEN.1.NO.linkWrap = &nbsp;| &nbsp;&#124; |*| &nbsp; | &nbsp;&#124 |*| &nbsp; |
```

kein resultat, wo sollte ich ihn denn am besten einbinden?

### [#14](https://www.typo3.net/d/17685-errors-and-warnings/14) · HansMaulwurf · 2004-11-05

mach mal styles <- hab das s vergessen

### [#15](https://www.typo3.net/d/17685-errors-and-warnings/15) · HansMaulwurf · 2004-11-05

und du musst unter
Web>Template>Template Information>Click her to edit a whole template Record>Include Static (ohne from extension) content (default) anklicken

dann wird der content erst eingebunden

### [#16](https://www.typo3.net/d/17685-errors-and-warnings/16) · donvito · 2004-11-05

```typoscript
seite = PAGE
seite {
          typeNum = 0
          bodyTag = <body bgColor = "#FFFFFF">
          stylesheet = fileadmin/style.css
          meta.AUTHOR = zenedinho
          meta.DESCRIPTION = Hier steht die Beschreibung
          

          10 = TEMPLATE
          10.template = FILE
          10.template.file = fileadmin/template.html
          10.workOnSubpart = DOKUMENT
          10.marks.CONTENT < styles.content.get 
 10.marks {
          MENU_OBEN = HMENU
          MENU_OBEN.special = directory
          MENU_OBEN.special.value = 4
          MENU_OBEN.1 = TMENU
          MENU_OBEN.1.NO = 1
          MENU_OBEN.1.ATagParams = class="linkWeiss"
          MENU_OBEN.1.NO.linkWrap = &nbsp;| &nbsp;&#124; |*| &nbsp; | &nbsp;&#124 |*| &nbsp; |
  
          MENU_LINKS = HMENU
          MENU_LINKS.special = directory
          MENU_LINKS.special.value = 3
          MENU_LINKS.entryLevel = 0
          MENU_LINKS.1 = GMENU
          MENU_LINKS.1.NO = 1
       MENU_LINKS.1.NO {
           wrap = |<br>
           XY = 146, 30
           backColor = #3378CE
         
          10 = TEXT
          10.text.field = title
          10.fontColor = #FFFFFF
          10.fontFile = fileadmin/fonts/verdana.ttf
          10.fontSize = 10
          10.niceText = 1
          10.offset = 7, 21
           
          20 = IMAGE
          20.file = GIFBUILDER
         20.file {
          XY = 146, 1
          backColor = #FFFFFF
         }
          20.offset = 0, 29
}  
          MENU_LINKS.1.RO < .MENU_LINKS.1.NO
          MENU_LINKS.1.RO  {
          tmp < .backColor
          backColor = #68ABD7
          5 < .10
          5.fontColor < .tmp
          5.offset = 9,23
          }
         MENU_LINKS.1.CUR < .MENU_LINKS.1.RO
         MENU_LINKS.2 < .MENU_LINKS.1
         MENU_LINKS.2 {
         NO.backColor = #98CCEF
         NO.10.fontColor = #93979A
         NO.20.file.backColor = #79AED1
         RO < .NO
         RO.backColor = #FFFFFF
         RO.5 >
         CUR < .RO
         }

        CONTENT = CONTENT        
        CONTENT {
        table = tt_content
        select.orderBy = sorting
        select.where = colPos = 0
        }
     
}
}
```

langsam fängst du wohl an mich zu hassen, aber kein resultat...

### [#17](https://www.typo3.net/d/17685-errors-and-warnings/17) · HansMaulwurf · 2004-11-05

musst ja auch dein CONTENT = CONTENT wegmachen!
und alles was drunter dazugehört
und hast du content(default) eingebunden

### [#18](https://www.typo3.net/d/17685-errors-and-warnings/18) · donvito · 2004-11-05

hab ich schon. hatte ich vorher auch schon. was mit cSet ?

### [#19](https://www.typo3.net/d/17685-errors-and-warnings/19) · HansMaulwurf · 2004-11-05

warum is es dann oben in deinem TS noch drin?

### [#20](https://www.typo3.net/d/17685-errors-and-warnings/20) · donvito · 2004-11-05

nope, war pure verzweifelung, siehst ja was drinne ist

### [#21](https://www.typo3.net/d/17685-errors-and-warnings/21) · HansMaulwurf · 2004-11-05

was soll eigentlich diese tmp< .backColor?
glaub net das es fehler ist aber trotzdem
fehler seh ich keine?hmm....

### [#22](https://www.typo3.net/d/17685-errors-and-warnings/22) · donvito · 2004-11-05

nee, das ist korrekt. naja, ich geh mich jetzt besaufen und setzt mich morgen verkatert ran. vielen dank aber für dein support!

### [#23](https://www.typo3.net/d/17685-errors-and-warnings/23) · HansMaulwurf · 2004-11-05

noch was es gibt bei deinem Menu Links RO kein .10
würde sagen müsste
Menu.1.NO.10 heisen

sonst gibt es in deinem TS (nur wenn das einer ist) keine Fehler

### [#24](https://www.typo3.net/d/17685-errors-and-warnings/24) · jenses · 2004-11-05

@ Hans Maulwurf, donvito
Das mache ich das erste Mal in diesem Forum,
aber jetzt muß es sein :

**RTFM**

jenses  ;)

### [#25](https://www.typo3.net/d/17685-errors-and-warnings/25) · oroth · 2004-11-05

Hast Recht!

Um dem ganzen mal etwas Futter zu geben:

- Geh auf Template
- Wähle den Template Analyzer aus
- Klick auf Linenumbers, Syntax HL und Block mode
- Klicke dann auf das fehlerhafte Template darüber und kontrolliere darunter das Skript! Es wird keine Syntax gecheckt, aber angezeigt wo deine Klammer zu vile/wenig ist.

Und noch einmal zur Erinnerung

> @ Hans Maulwurf, donvito
> Das mache ich das erste Mal in diesem Forum,
> aber jetzt muß es sein :
>
> RTFM
>
> jenses icon_wink.gif

Gruß

oroth

### [#26](https://www.typo3.net/d/17685-errors-and-warnings/26) · HansMaulwurf · 2004-11-05

oh man jetzt hast du mich aber getroffen mit deinem RTFM so ein mist man man man

### [#27](https://www.typo3.net/d/17685-errors-and-warnings/27) · donvito · 2004-11-08

moinsen. also mit dem template analyzer seh ich zwar mehr, aber der fehler ist immernoch da. ich kanns ja nochmal kurz erklären. MENU_OBEN funzt. wenn ich auf MENU_LINKS was anklicke, wird der inhalt nicht angezeigt, sondern der platzhalter ###content### . die hintergrundfarbe von der navi ändert sich ebenfalls. eine tabellenspalte zerschiesst auch. komisch, wa?

aber bevor ich euch damit nerve, kille ich alles was mit m template zu tun hat und setzt den kram neu auf. vielen dank für die hilfe!

---

Quelle: „Errors and warnings“, typo3.net, https://www.typo3.net/d/17685-errors-and-warnings
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
