When i try to enable the imagick toolkit I get several warnings:

* Notice: Undefined index: #post in imageapi_imagemagick_validate_path() (regel 86 van D:\Projecten\Drupal7\www\sites\all\modules\imageapi\imageapi_imagemagick.module).

This one is already reproted in #937314: Undefined index: #post in imageapi_imagemagick_validate_path()

* Warning: proc_open(): CreateProcess failed, error code - 267 in _imageapi_imagemagick_convert_exec() (regel 204 van D:\Projecten\Drupal7\www\sites\all\modules\imageapi\imageapi_imagemagick.module).

I had a look a the code:

function _imageapi_imagemagick_convert_exec($command_args, &$output, &$errors) {
  // Specify Drupal's root as the working a working directory so that relative
  // paths are interpreted correctly.

* aside: According to the PHP manual . has a higher precedence than ? leading to a very weird expression
* DOCUMENT_ROOT won't work when running an aliased website
* In my case (Zend Server CE on Apache2 on Windows Vista) this expression works fine: realpath(dirname($_SERVER['SCRIPT_FILENAME']));

But the DRUPAL_ROOT define is of course the way to go:

  $drupal_path = DRUPAL_ROOT;
#1 1019534.patch732 bytesfietserwin
Members fund testing for the Drupal project. Drupal Association Learn more


fietserwin’s picture

732 bytes

And as a patch (against the 7.x-1.x-dev 2010-Oct-18 version).

sun’s picture

fietserwin’s picture

Status: Active » Closed (won't fix)

Don't need to bother with obsolete D7 modules anymore. And I also hope that you can have the project page edited to reflect current status.