Project

General

Profile

Actions

Bug #25250

closed

compressionDebugInfo is gone

Added by Christian Tauscher about 13 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2011-03-03
Due date:
% Done:

0%

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

Description

While fiddling around with

$TYPO3_CONF_VARS['BE']['compressionLevel']
$TYPO3_CONF_VARS['FE']['compressionLevel']

wich I cant get to work, even if I thougth of some sites where it worked ages ago....
so i try to debug my Website to be sure.

What I found now:

$TYPO3_CONF_VARS['FE']['compressionDebugInfo']

is gone!

searchin in eclipse (searches in every file) for 'compressionDebug' with disapointing result:

last Time I can find this is T3 4.2.17

in V 4.3.11, 4.4.7 and 4.5.2 the string cant be found, so ist not implemented any more.

If this affects the compression in FE/BE I dont know yes, this is to be investigated (I try...).

When and why was the debug-Option dropped, or is this simply lost by accident?
I cant find Information on this issue.

(issue imported from #M17858)

Actions #1

Updated by Thorsten Kahler over 12 years ago

  • Category set to Frontend
  • Status changed from New to Needs Feedback
  • Assignee set to Christian Tauscher
  • Target version deleted (0)
  • TYPO3 Version set to 4.3

Class gzip_encode is not used since version 4.3 anymore and was replaced by class tslib_fecompression. See change set 87bc8bbc92b627b4d5669be3ba5aeaee1e8657be and bugtracker entry http://bugs.typo3.org/view.php?id=9974.

Which debugging possibility are you missing?

Actions #2

Updated by Philipp Metzler over 12 years ago

With $TYPO3_CONF_VARS['FE']['compressionDebugInfo'] = 1; this line has been shown after </html>:


The setting $TYPO3_CONF_VARS['FE']['compressionDebugInfo'] is not considered anymore and no debugging info will be displayed.

/typo3/sysext/cms/tslib/index_ts.php looked like this:

// ******
// Compressions
// *
*****
if ($TYPO3_CONF_VARS['FE']['compressionLevel']) {
new gzip_encode($TYPO3_CONF_VARS['FE']['compressionLevel'], false, $TYPO3_CONF_VARS['FE']['compressionDebugInfo']);
}

The new version looks like this:

// ***********
// Output compression
// ***********
// Remove any output produced until now
ob_clean();
if ($TYPO3_CONF_VARS['FE']['compressionLevel'] && extension_loaded('zlib')) {
if (t3lib_div::testInt($TYPO3_CONF_VARS['FE']['compressionLevel'])) {
// Prevent errors if ini_set() is unavailable (safe mode)
@ini_set('zlib.output_compression_level', $TYPO3_CONF_VARS['FE']['compressionLevel']);
}
ob_start(array(t3lib_div::makeInstance('tslib_fecompression'), 'compressionOutputHandler'));
}

Actions #3

Updated by Alexander Opitz almost 11 years ago

Hi,

this issue is very old, do you need such an output? Or can we close this issue?
BTW. it's easy to check such things with firebug, developer tools or F12-Tools in the browser.

Actions #4

Updated by Christian Tauscher almost 11 years ago

Of corse this issue can be closed.

Christian.

Actions #5

Updated by Alexander Opitz almost 11 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF