Details
-
Bug
-
Resolution: Obsolete
-
Medium
-
4.1.4, 4.2.0, 4.3.0beta1
-
None
-
Operating System: Windows 2003 SBS
PHP Version: 5.3.0
Database and version: -
Browser (and version): -
Description
Uploaded images don't get converted to the needed formats. After uploading an image, the preview doesn't show up.
The warning.log shows:
[ Aug 21 2009 10:57:53 ] [192.168.1.162] eZImageShellHandler::convert:
Failed executing: ""c:/www/ImageMagick\convert.exe" "-quality" "75" "-geometry" "360x440>" "var/monacor/storage/images/media/images/hifitest/2725-1-ger-DE/hifitest.jpg" "JPEG:var/monacor/storage/images/media/images/hifitest/2725-1-ger-DE/hifitest_large.jpg"", Error code: 1
If you look at the line which writes this log message (line#141), you'll notice that the outer quotes come from the string itself. So Windows tries to find a program named after the whole commandline instead of just the first part of it.
Commenting out lines #122+123 fixes this and convert works again.
Steps to reproduce
1. Install eZ 4.1.3 on a Windows machine with PHP 5.3
2. Upload an image in the media library
3. Notice the missing preview and/or error messages in the warning log
Attachments
Issue Links
- is duplicated by
-
EZP-16606 Image creation fails due to double double quotes
- Closed