---
title: "tt_news RSS XML gibt Division by zero aus"
url: "https://www.typo3.net/d/82147-tt-news-rss-xml-gibt-division-by-zero-aus"
source: "typo3.net"
tags: ["Extensions","Frage","tt_news"]
created: "2008-09-24"
last_reply: "2010-02-16"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# tt_news RSS XML gibt Division by zero aus

Extensions · 1 Antwort · gestartet 2008-09-24

## Eröffnungsbeitrag

**electric-x** · 2008-09-24 · [Beitrag #1](https://www.typo3.net/d/82147-tt-news-rss-xml-gibt-division-by-zero-aus/1)

Hallo und zwar versuche ich mit typo3 4.2.1 den Feed auszugeben.

Rufe ich nun die Feedseite auf: <http://www.meinedomain.de/index.php?id=44&type=100>

erhalte ich leider folgende Meldungen:

Warning: Division by zero in /typo3conf/ext/tt_news/pi/class.tx_ttnews.php on line 991

Warning: Division by zero in /typo3conf/ext/tt_news/pi/class.tx_ttnews.php on line 991

Warning: Division by zero in /typo3conf/ext/tt_news/pi/class.tx_ttnews.php on line 991

Warning: Division by zero in /typo3conf/ext/tt_news/pi/class.tx_ttnews.php on line 991

Warning: Division by zero in /typo3conf/ext/tt_news/pi/class.tx_ttnews.php on line 991

Warning: Division by zero in /typo3conf/ext/tt_news/pi/class.tx_ttnews.php on line 991

Warning: Division by zero in /typo3conf/ext/tt_news/pi/class.tx_ttnews.php on line 991

Warning: Cannot modify header information - headers already sent by (output started at /typo3conf/ext/tt_news/pi/class.tx_ttnews.php:991) in /typo3/sysext/cms/tslib/class.tslib_fe.php on line 3221

Warning: Cannot modify header information - headers already sent by (output started at typo3conf/ext/tt_news/pi/class.tx_ttnews.php:991) in /typo3/sysext/cms/tslib/class.tslib_fe.php on line 3234

Habe jetzt zum 10 mal alles neu eingebunden unter Constants und Setup - auch diverse Tutorials durchgegangen.

Constants:

```typoscript
xmlnewsfeed_id = 44

plugin.tt_news.displayXML.xmlLimit = 10
plugin.tt_news.displayXML.xmlCaching = 1
plugin.tt_news.displayXML.xmlTitle = News von diedomain.de
plugin.tt_news.displayXML.xmlLink = http://www.diedomain.de
plugin.tt_news.displayXML.xmlDesc = News von diedomain.de
plugin.tt_news.displayXML.xmlLang = de
plugin.tt_news.displayXML.xmlIcon = EXT:tt_news/ext_icon.gif
plugin.tt_news.displayXML.xmlFormat = rss2
plugin.tt_news.displayXML.title_stdWrap.htmlSpecialChars = 1
plugin.tt_news.displayXML.title_stdWrap.htmlSpecialChars.preserveEntities = 1
plugin.tt_news.displayXML.subheader_stdWrap.stripHtml = 1
plugin.tt_news.displayXML.subheader_stdWrap.htmlSpecialChars = 1
plugin.tt_news.displayXML.subheader_stdWrap.htmlSpecialChars.preserveEntities = 1
plugin.tt_news.displayXML.subheader_stdWrap.crop = 425 | ...
plugin.tt_news.displayXML.subheader_stdWrap.ifEmpty.field = bodytext
plugin.tt_news.displayXML.xmlLastBuildDate = 1
plugin.tt_news.displayXML.xmlIcon = typo3conf/ext/tt_news/ext_icon.gif
```

Setup:

```typoscript
page.headerData.500 = TEXT
page.headerData.500.value = <link rel="alternate" type="application/rss+xml" title="RSS-Feed" href="http://www.diedmoain.de/index.php?id=44&type=100" />
xmlnews = PAGE
xmlnews {
  typeNum = 100
  10 >
  10 < plugin.tt_news
  10.pid_list >
  10.pid_list = {$plugin.tt_news.pid_list}
  10.singlePid = {$plugin.tt_news.singlePid}
  10.defaultCode = XML
  config {
    disableAllHeaderCode = 1
    additionalHeaders = Content-type:text/xml
    no_cache = 1
    xhtml_cleaning = 0
  }
}
```

vielen Dank im Voraus

## Antworten

### [#2](https://www.typo3.net/d/82147-tt-news-rss-xml-gibt-division-by-zero-aus/2) · thePIXEL · 2010-02-16

Hallo zusammen,
auch wenn seit der Frage von electric-x schon geraume Zeit verstrichen ist...ich habe exakt das gleiche problem und finde keine lösung. Habe gefühlt das halbe internet durchsucht und alles was ich gefunden habe ist der selbe fehler ohne lösung...kann vielleicht doch noch jemand was sagen/helfen?

Auf jeden Fall schon mal besten dank

---

Quelle: „tt_news RSS XML gibt Division by zero aus“, typo3.net, https://www.typo3.net/d/82147-tt-news-rss-xml-gibt-division-by-zero-aus
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
