Project

General

Profile

Actions

Bug #16070

closed

Fatal error with function gzfile in class.em_index.php on line 1424

Added by Norbert Schneider over 18 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Should have
Category:
Extension Manager
Target version:
-
Start date:
2006-04-20
Due date:
% Done:

0%

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

Description

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 409 bytes) in /var/www/t3templ/typo3_src-4.0/typo3/mod/tools/em/class.em_index.php on line 1424

EM fetches extension.xml.gz, writes it to typo3temp, but gzfile(...) is not able to uncompress it.

$mirrors = implode(gzfile($mfile)) on line 1392 works obviosly

php 4.3.9 : error
php 5.0.4: error
php 5.1.9 : works !!!
php: allow_url_open=On
--with-zlib
Registered PHP Streams: php, file, http, ftp, compress.bzip2, compress.zlib, https, ftps
(issue imported from #M3304)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #15663: EM2 need more than 32 MBClosedKarsten Dambekalns2006-02-17

Actions
Actions #1

Updated by Norbert Schneider over 18 years ago

It's not implode(), it's gzfile() !!!

var $DebugTempArray = array();
...
$DebugTempArray = gzfile(PATH_site.'typo3temp/extensions.xml.gz');
$content .= this->xmlhandler->parseExtensionsXML(implode($DebugTempArray));

Actions #2

Updated by Norbert Schneider over 18 years ago

Sorry:

5.1.9 works ==> 5.1.2 works!!!

Actions #3

Updated by Norbert Schneider over 18 years ago

I tested:

echo(implode(gzfile('/var/www/t3templ/mandant/xxx/typo3template/typo3temp/extensions.xml.gz')));
?>

It work's well with my PHP 5.0.4 !!

Is it a TYPO3 configuration problem ?

Actions #4

Updated by Norbert Schneider over 18 years ago

I tested a memory_limit = 50M.

It works, but it is too much!

Actions #5

Updated by Michael Stucki about 18 years ago

I am closing this bug since it seems to be a duplicate of 2615. Please try out the extension he published and post your feedback there...

Actions

Also available in: Atom PDF