[TYPO3-ttnews] Warning: Division by zero...
Darko Jr. Gonzalez
jkokino at gmail.com
Thu Nov 15 19:31:24 CET 2007
This was due to the AMENU. I removed it and no division by zero.
This is what I have ts setup:
archiveTitleCObject.20.strftime = %m / %Y
displayList.date_stdWrap.strftime = %d.%m.%y
displayLatest.subheader_stdWrap.crop = 200 | ... | 1
displayArchivedInLatest = 1
_CSS_DEFAULT_STYLE >
Nothing else. And yet the AMENU was not displayed prior to removing
the AMENU view. How can I troubleshoot why it doesnt show up?
There are news items from 5th of november and I have set ts constants
auto archiving to:
plugin.tt_news {
datetimeDaysToArchive = 5
}
Hints folks?
Thanks for reading
Regards,
Darko
On Nov 15, 2007 6:50 PM, Darko Jr. Gonzalez <jkokino at gmail.com> wrote:
> 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