Support for Imagecache 2.x

janwari - May 13, 2008 - 13:47
Project:Asset
Version:5.x-1.0-beta3
Component:Code
Category:support request
Priority:critical
Assigned:Unassigned
Status:duplicate
Description

I upgraded the imagecache module to version 5.x-2.0 and Asset module to version 5.x-1.0-beta3. After the upgrade when I try to view a CCK node type I keep getting the following error

PHP Fatal error: Call to undefined function _imagecache_get_presets() in /var/www/mysite.org/sites/all/modules/asset/modules/asset_imagecache.inc on line 24, referer:http://mysite.org/admin/content/node

Because of this im stuck with a version of imagecache and asset modules that are incompatible. Hope this can be fixed quickly.

#1

brianV - May 14, 2008 - 21:03

It appears that the imagecache API has changed extensively between the 1.x releases and the new 2.0 release. There appear to be plans to release a compatibility layer to take care of this, but it hasn't been added yet.

See http://drupal.org/node/258602 for more details.

#2

wmostrey - May 15, 2008 - 07:34

Doug has already taken a good step for compatibility for both versions: http://drupal.org/node/232021

#3

jan krummrey - May 22, 2008 - 11:05
Status:active» duplicate

Marked "duplicate" to #232021: Add support for Imagecache 2

 
 

Drupal is a registered trademark of Dries Buytaert.