Project

General

Profile

Actions

Bug #16004

closed

Header 503 without the "Page is being generated" message

Added by Can Yavuz over 18 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2006-04-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #16189: 503 when being accessed by robotsClosedDmitry Dulepov2006-05-27

Actions
Has duplicate TYPO3 Core - Bug #15940: 503 header send for pdf page versions, and moreClosedDmitry Dulepov2006-03-29

Actions
Actions #1

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();
                }

Actions #2

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

Actions #3

Updated by Dmitry Dulepov over 18 years ago

Additional code went to 4.0.1 a copuple of months ago

Actions

Also available in: Atom PDF