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

Image display KO in admin with GD support : Undefined variable: hasImageMagick

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 2012.3
    • None
    • Operating System: RHEL
      PHP Version: 5.3.9
      Database and version: MySQL 5.1
      Browser (and version): Firefox 10

    Description

      When enabling gd support in ezpublish in the backoffice administration, :

      • images does not display for datatypes images in editing + preview
      • impossible to edit images (crop...)

      Ajax call to image editing says:
      Notice: Undefined variable: hasImageMagick in extension/ezie/classes/image_converter.php on line 57

      One idead of fix is:
      Add the following in extension/ezie/classes/image_converter.php on line 28:
      $hasImageMagick = $hasGD2 = false;

      Steps to reproduce

      1. Log to admin
      2. Preview a content with an image datatype (images does not show)
      3. Edit the object (image does not show)
      4. Try to edit the image (ajax error)

      Attachments

        Activity

          People

            unknown unknown
            darkpills darkpills
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: