Bug #17593
closedInstall tool loops with PHP 5.2.4 and Apache 2.0.59
0%
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
Updated by Sim about 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.
Updated by Sim about 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
Updated by Sim about 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?
Updated by Sim about 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);
?>
Updated by Benni Mack about 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).
Updated by Sim about 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
Updated by Franz Holzinger about 17 years ago
I can confirm this with Mandriva 2007.1 Spring x86_64.
Updated by Sim about 17 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!
Updated by Benni Mack about 17 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/
Updated by Franz Holzinger about 17 years ago
@Benjamin Fischer: This is wrong. The patch has already been sent to the Core list and even discussed on the bugs list.
Updated by Benni Mack about 17 years ago
@Franz Koch: Correct, after my note here :)
Updated by Franz Holzinger about 17 years ago
@Benjamin Fischer: Yes, after your first post to this issue in September 2007.
Updated by Fred Weil almost 17 years ago
Thanks this has got me up and running.
Updated by Franz Holzinger almost 17 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.
Updated by Christian Jul Jensen about 16 years ago
looks like this is a wont fix? can the bug be closed
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.