[TYPO3-ttnews] Warning: Division by zero...

Darko Jr. Gonzalez jkokino at gmail.com
Thu Nov 15 18:50:28 CET 2007


Hey folks

Have used tt_news for a while, and have tt_news 2.5.0 currently with
Typo3 4.1.1 and php5. I get this at the top of the website:
Warning: Division by zero in
........../typo3conf/ext/tt_news/pi/class.tx_ttnews.php on line 483

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

This is line 483:
				// fill the generated data to an array to pass it to a userfuction
as a single variable
				$itemsOutArr[] = array('html' =>
$this->cObj->substituteMarkerArrayCached($t['item'][($cc %
count($t['item']))], $markerArray, array(), $wrappedSubpartArray),
'data' => $pArr);

Can someone give me hint how to fix this? Or eventually point me where
to look further?
It is really annoying and inconvenient.

I tried to stop these warning messages via the Install Tool and set
[systemLogLevel]=3 but this doesnt help. They still come out.


Thanks
Darko


More information about the TYPO3-project-tt-news mailing list