Project

General

Profile

Actions

Bug #14375

closed

detection of imagemagick fails

Added by old_haunschild2 about 20 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Install Tool
Target version:
-
Start date:
2004-11-05
Due date:
% Done:

0%

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

Description

file: sysext/install/mod/class.tx_install.php
line: 1756
if (ini_get("open_basedir")||(@file_exists...

detection of an installed and accessible imagemagick will fail when:
1. safemode is enabled
2. open_basedir is not set
3. provided directory contains links to the im-binaries (which lets you control what binaries are allowed to be used by php)

If I change line 1756 as follows the detection works fine and the further steps within "3: Image Processing" also work.

if (true || ini_get("open_basedir")||(@fi

I was not able to fix the problem. I traced it down to the command "is_file" which falsly returns false as result. When I create a new php-file doing only the is_file test it results in true, which is correct. I have no clue why the function is_file within typo3 behaves different.

OTHER: TYPO3_VERSION: 3.7.0
OTHER: PHP_VERSION : 4.3.9-1
SERVER: SERVER_SOFTW: Apache/2.0.52 (Debian GNU/Linux) PHP/4.3.9-1 mod_ssl/2.0.52 OpenSSL/0.9.7d
SERVER: GATEWAY_INTE: CGI/1.1
(issue imported from #M460)


Files

0000460-ImageMagick1.png (22.5 KB) 0000460-ImageMagick1.png Administrator Admin, 2004-11-05 22:13
0000460-ImageMagick2.png (26.6 KB) 0000460-ImageMagick2.png Administrator Admin, 2004-11-05 22:14
0000460-ImageMagick3.png (25.2 KB) 0000460-ImageMagick3.png Administrator Admin, 2004-11-05 22:22
Actions

Also available in: Atom PDF