Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-17756

ezie : Image Editor doesn't work on Windows hosting server with Imagemagick installed in path which contains spaces


    • Type: Bug Bug
    • Status: Open
    • Priority: Medium Medium
    • Resolution: Unresolved
    • Affects Version/s: 4.3.0
    • Fix Version/s: None
    • Labels:
    • Environment:

      Operating System: any windows
      Browser (and version): all browsers


      Image Editor doesn't work on a windows hosting server if ImageMagick is installed in a folder whose path contains spaces.

      Example :

      • ImageMagick installed in : C:\apps\ImageMagick is OK
      • ImageMagick installed in : C:\Program files\imageMagick\ makes ezie crash

      I get this error message :
      Unexpected error, the message was : Handler class 'ezcImageImagemagickHandler' not found. ImageMagick not installed or not available in PATH variable. in C:\wamp\www\lib\ezc\ImageConversion\src\handlers\imagemagick_base.php on line 445

      And there are traces I made in imagemagick_base.php after

      $imageProcess = proc_open( $this->binary, $descriptors, $pipes );


      stderr = 'C:\Program' n'est pas reconnu en tant que commande interne
      ou externe, un programme ex‚cutable ou un fichier de commandes.

      it seems PHP function proc_open doesn't manage path with spaces.

      Steps to reproduce

      Install ImageMagick in folder whose path contains spaces.

      1. 17756_magick_windows_source_v2.diff
        1 kB
        Chen Xiongjie
      2. 17756_magick_windows_source.diff
        1 kB
        Chen Xiongjie
      3. 17756_magick_windows.diff
        1 kB
        Chen Xiongjie



          • Assignee:
            Chen Xiongjie
            Clément Mateo
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: