Closed (won't fix)
Project:
ImageCache
Version:
6.x-2.0-beta5
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jan 2009 at 07:21 UTC
Updated:
3 May 2009 at 18:17 UTC
ImageCache wasn't creating images, returning an error related to the ImageAPI module: http://drupal.org/node/355375 However, an additional part of the problem seems to be the $image object not being called as a reference.
I changed function _imagecache_apply_action($action, $image) { ... to function _imagecache_apply_action($action, &$image) { ... and, in addition to fixing the previously mentioned ImageAPI issue, it works.
Comments
Comment #1
drewish commentedI think it's a problem with your server config. In PHP5 the image object should always be passed by reference. Make sure you have zend.ze1_compatibility_mode turned off.