Project

General

Profile

Actions

Bug #17593

closed

Install tool loops with PHP 5.2.4 and Apache 2.0.59

Added by Sim almost 17 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Install Tool
Target version:
-
Start date:
2007-09-10
Due date:
% Done:

0%

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

Description

Hi!
After recently server update (Trustix 2.0 as Distro), it is impossible to install typo3, the install tool seems to be locked in an infinite loop.
I have increased php error log level and observe logfiles without any bad output.
Thanks

Trustix 2.2 (http://www.trustix.org/)
PHP 5.2.4
Apache 2.0.59
(issue imported from #M6307)


Files

patch.txt (693 Bytes) patch.txt Administrator Admin, 2007-09-18 16:07
Actions #1

Updated by Sim almost 17 years ago

Some time, after some minutes, Typo3 Install show:
-------------------
Database Error
No database selected

Else, if I delete ENABLE_INSTALL_TOOL file, it show the default Install Tool lock:
-------------------
The Install Tool is locked.

Fix: Create a file typo3conf/ENABLE_INSTALL_TOOL
This file may simply be empty.

For security reasons, it is highly recommended to rename
or delete the file after the operation is finished.

Actions #2

Updated by Sim almost 17 years ago

Also another old installation now have problem in : http://site/typo3/install/

After login, only this menu working

3: Update Wizard
5: All Configuration
8: phpinfo()
9: Edit files in typo3conf/
10: About

The other create infinite loop as first installation

1: Basic Configuration
2: Database Analyser
4: Image Processing

Thanks

Actions #3

Updated by Sim almost 17 years ago

  • PROBLEM IDENITIFIED !!! **

In: /typo3/sysext/install/mod/class.tx_install.php

This :

$test = @imagettftext($im, t3lib_div::freetypeDpiComp(20), 0, 10, 20, $text_color, PATH_t3lib."/fonts/vera.ttf", 'Testing Truetype support');

create infinite loop for install tool.

I have commented this function and it works.

I have updated gd-2.0.33 on Wed Aug 08 2007 for SECURITY fix.

Is this general problem?

Actions #4

Updated by Sim almost 17 years ago

  • SOLVED ** by changing in << function isTTF($phpinfo='') >> (typo3/sysext/install/mod/class.tx_install.php)

$im = @imagecreate (300, 50);

to:

$im = imagecreatetruecolor(300, 50);

Is this a good solution? Can you add this in next release?

PS: This singular PHP script, using @imagecreate, work very well:

header("Content-type: image/png");
$im = @imagecreate(100, 50)
or die("Cannot Initialize new GD image stream");
$background_color = imagecolorallocate($im, 255, 255, 255);
$text_color = imagecolorallocate($im, 233, 14, 91);
imagestring($im, 1, 5, 5, "A Simple Text String", $text_color);
imagepng($im);
imagedestroy($im);
?>

Actions #5

Updated by Benni Mack almost 17 years ago

Hey Sim,

I think (and hope) that this will be fixed with the new installer Thomas Hempel is currently developing. The installer right now will be replaced by the new installer in the next alpha (see http://www.typo3-unleashed.net/ for news on that).

Actions #6

Updated by Sim almost 17 years ago

Hi,
pls check also minior problem (not blocking), after fix install problem, at :

Install Tool -> 4: Image Processing -> 5: GD library functions

Selecting this options, Intall Tool loops as precedent descripted problem.
I don't know if there are any similar install loop problems, in order of GD. Sure these aren't blocking.

Thanks

PS: GD info:

--------------------------------------------
gd
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.2.1
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled

Actions #7

Updated by Franz Holzinger almost 17 years ago

I can confirm this with Mandriva 2007.1 Spring x86_64.

Actions #8

Updated by Sim over 16 years ago

This problem still in 4.1.3 version!!!

Actions #9

Updated by Sim over 16 years ago

Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release! Pls apply my patch to next release!

Actions #10

Updated by Benni Mack over 16 years ago

Correct, because nobody created a patch and submitted it to the Core list. You can do this, Sim, check it out:
http://typo3.org/teams/core/core-mailinglist-rules/

Actions #11

Updated by Franz Holzinger over 16 years ago

@Benjamin Fischer: This is wrong. The patch has already been sent to the Core list and even discussed on the bugs list.

Actions #12

Updated by Benni Mack over 16 years ago

@Franz Koch: Correct, after my note here :)

Actions #13

Updated by Franz Holzinger over 16 years ago

@Benjamin Fischer: Yes, after your first post to this issue in September 2007.

Actions #14

Updated by Fred Weil over 16 years ago

Thanks this has got me up and running.

Actions #15

Updated by Sim over 16 years ago

Typo3 Core refuses to implement the patch!

Actions #16

Updated by Franz Holzinger over 16 years ago

You must solve this on the LINUX server.

See
http://qa.mandriva.com/show_bug.cgi?id=34013

Do not use gd.so, which causes the endless loop!
You must use gd-bundled.so instead of it.

Actions #17

Updated by Christian Jul Jensen almost 16 years ago

looks like this is a wont fix? can the bug be closed

Actions #18

Updated by Christian Kuhn over 15 years ago

Resolved, won't fix.

This is not a TYPO3 but a Linux distribution specific gd problem and should be fixed there.

Actions #19

Updated by Benni Mack almost 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF