Project

General

Profile

Actions

Bug #24520

closed

ImageMagick / GraphicsMagick does not run on every system

Added by Sven Weiss over 13 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-01-11
Due date:
% Done:

0%

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

Description

Hello,

I have a very hardened hosting system and I could not get IM / GM wanted to run. I had to modify the class.t3lib_div.php in the function imageMagickCommand(). I removed the 2 escapeshellarg() around the commands and voila... IM / GM runs.

First I wanted to know why there are the 2 escapeshellarg() and if we/you can remove them?

PHP Version 5.2.6-1+lenny8
CGI/FastCGI
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with the ionCube PHP Loader v3.1.34, Copyright (c) 2002-2009, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Suhosin v0.9.27, Copyright (c) 2007, by SektionEins GmbH
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies

safe_mode=one
safe_mode_exec_dir set

(issue imported from #M16974)

Actions #1

Updated by Michel Baeriswyl over 13 years ago

In 4.5, the affected function has been displaced from class.t3lib_div.php to utility/class.t3lib_utility_command.php. Still you can use the above described workaround.

Actions #2

Updated by Jo Hasenau over 13 years ago

And of course you could get rid of safe_mode as well.

Actions #3

Updated by Alexander Opitz over 10 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • Is Regression set to No

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.1.7)?

Actions #4

Updated by Alexander Opitz almost 10 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this ticket.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF