Project

General

Profile

Actions

Bug #19907

closed

gzip_encode not found error in file_list.php in 4.2.4 and 4.2.5

Added by Clemens Riccabona over 15 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2009-01-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

missing gzip_encode inclusion in file_list.php

concerns 4.2.4 and 4.2.5

If backend compression is set, and you call the File List Module the first time (no folders are selected then) you get an error message that 'gzip_encode' ist not found in file_list.php on line 385

I looked at an old file_list.php, there was no inclusion of this class too, but the error does not occur.
Simple solutions: just add this line to the beginning of file_list.php:

require_once(PATH_t3lib.'class.gzip_encode.php');
(issue imported from #M10256)


Files

10256.patch (1.21 KB) 10256.patch Administrator Admin, 2009-01-30 11:37
10256_v2.patch (775 Bytes) 10256_v2.patch Administrator Admin, 2009-02-17 23:14

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #20324: Class 'gzip_encode' not found in typo3/mod/web/perm/index.php on line 857ClosedChristian Kuhn2009-04-19

Actions
Actions #1

Updated by Thomas Hempel about 15 years ago

I backported a patch from Dmitry to version 4.2

Greets,
Thomas

Actions #2

Updated by Clemens Riccabona about 15 years ago

So this patch just disables gzip_encode in file_list.php?
Is this a wished behavior?
I'm not really up-to-date with the gzip matters in TYPO3, I just know that there have been some changes the last few weeks.

Actions #3

Updated by Thomas Hempel about 15 years ago

I don't know if this is the wished behavior. As I wrote I only "backported" the patch for TYPO3 trunk. We'll see what core teams says. ;-)

Actions #4

Updated by Clemens Riccabona about 15 years ago

applied patch on my 4.2.6 systems (this not went into 4.2.6 :( ) and it works.
So no more error is shown.

Actions #5

Updated by Jeff Segars about 15 years ago

Committed v2 patch to 4.2 branch in r5029.

Actions

Also available in: Atom PDF