Bug #16004
closedHeader 503 without the "Page is being generated" message
0%
Description
This is the same Bug like #0003049. Dmitry Dulepov wrote that this bug was fixed in the CVS, but I have the same problem with 4.0 final.
Here the necessary steps to reproduce this behaviour:
-take a fresh 4.0 install
-install the extensions "tt_news" (ver. 2.2.24), "static_info_tables"
(ver. 1.8.0) and "templavoila" (ver. 1.0.1)
-create a dummy template with a TypoScript objectpath for tt_news (I
named it "lib.termine"), you don't even need a container for content elements
include tt_news in your template. I used the following TS
-------------------------------------------------------
lib.termine < plugin.tt_news
lib.termine {
templateFile = fileadmin/templates/news_template.html
code >
code = LIST
pid_list >
pid_list = 44
singlePid >
singlePid = 45
listOrderBy >
listOrderBy = datetime asc
archive >
archive = 1
datetimeDaysToArchive >
datetimeDaysToArchive = 1
displayList {
date_stdWrap.strftime = %d.%m.%Y
}
}
-------------------------------------------------------
you also need to include the static template "CSS-based tmpl (tt_news)"
-up to now everything should work fine, you get a normal 200 header
-disable caching for tt_news with "plugin.tt_news.allowCaching = 0"
-now on every page call a 503 header should be sent
Could someone test it with his/her installation? For me the problem is
reproduceable.
Regards
Can Yavuz
(issue imported from #M3176)
Updated by Dmitry Dulepov over 18 years ago
The following patch should fix the problem:
Index: class.tslib_fe.php =================================================================== RCS file: /cvsroot/typo3/TYPO3core/typo3/sysext/cms/tslib/class.tslib_fe.php,v retrieving revision 1.104.2.21 diff -u -r1.104.2.21 class.tslib_fe.php --- class.tslib_fe.php 25 Mar 2006 18:07:03 -0000 1.104.2.21 +++ class.tslib_fe.php 9 Apr 2006 10:55:02 -0000 @@ -2782,7 +2782,7 @@ } // Send appropriate status code in case of temporary content - if ($this->tempContent) { + if ($this->tempContent && !$this->no_cache) { $this->addTempContentHttpHeaders(); }
Updated by Jochen Weiland over 18 years ago
I can confirm that the problem still exists in 4.0 final, the fix by Dmitry apparently did not make it into the final release.
In my case it was impossible to retrieve a site with wget since it would always send out 503 headers. After applying the fix it worked.
Regards
Jochen Weiland
Updated by Dmitry Dulepov over 18 years ago
Additional code went to 4.0.1 a copuple of months ago