Russian TYPO3 community

Russian TYPO3 community (http://forum.typo3.ru/index.php)
-   Общие вопросы (http://forum.typo3.ru/forumdisplay.php?f=12)
-   -   Ошибка кеширования страниц в версии 4.1 (http://forum.typo3.ru/showthread.php?t=5328)

shtala 10.12.2007 13:58

Ошибка кеширования страниц в версии 4.1
 
Может кто-то встречался с такой ситуацией: установлена версия 4.1
При переходе по меню сайта часто вместо очередной страницы выдается сообщение:

Warning: reset() [function.reset]: Passed variable is not an array or object in /usr/www/inkor/typo3/sysext/cms/tslib/class.tslib_content.php on line 2995

Warning: Variable passed to each() is not an array or object in /usr/www/inkor/typo3/sysext/cms/tslib/class.tslib_content.php on line 2998

Warning: Cannot modify header information - headers already sent by (output started at /usr/www/inkor/typo3/sysext/cms/tslib/class.tslib_content.php:2995) in /usr/www/inkor/typo3/sysext/cms/tslib/class.tslib_fe.php on line 2898

и страница не грузится.
На зарубежном форуме нашел частичное описание проблемы:

It seems to have something to do with template caching because it works when I make the following changes in typo3/sysext/cms/tslib/class.tslib_content.php:

- comment out if-condition in line 2948
- commenting out else-block from line 2981 to line 2987

I think I disabled the problematic caching this way. I am going to use this as a temporary workaround but it shurely is not a solution...

Вопрос1: есть ли решение такой проблемы без внесения изменений в код typo3?
Вопрос1: достаточно ли этих изменений и не повлияют они на работу typo3 в целом?


Часовой пояс GMT +4, время: 12:27.

Работает на vBulletin® версия 3.8.1.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Перевод: zCarot