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

    Details

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

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

      Description

      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

        Activity

        Clément Mateo created issue -
        André Rømcke made changes -
        Field Original Value New Value
        Workflow eZ Community Workflow [ 22103 ] eZ Engineering Scrumban Workflow [ 35790 ]
        André Rømcke made changes -
        Status Backlog [ 10000 ] Open [ 1 ]
        André Rømcke made changes -
        Workflow eZ Engineering Scrumban Workflow [ 35790 ] EZ* Development Workflow [ 68835 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 68835 ] EZEE Development Workflow [ 106984 ]

          People

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

            Dates

            • Created:
              Updated: