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 #1

Updated by Franz Holzinger about 20 years ago

The ImageMagick is well detected under Windows2000.

Actions #2

Updated by Franz Holzinger about 20 years ago

But it gets lost again as soon as someone clicks at 'Reading image formats' in the '3. Image Processing' tab.

Actions #3

Updated by Franz Holzinger about 20 years ago

ImageMagick3.png shows the solution:
[GFX][im_path_lzw]=current value is D:\Programme\ImageMagick-6.0.8-Q16/ must be selected explicitly a second time even if Image Magick has already successfully been detected. under the entered path This path has not yet been entered into the second field.

Actions #4

Updated by Sebastian Kurfuerst over 19 years ago

seems that this is no issue anymore. if yes, please reopen the bug

Actions

Also available in: Atom PDF