1/ Problem:
Fatal error at install
"Fatal error: Call to undefined function imagecache_action_definitions() in imagecache_textactions.install on line 5"

I changed :

imagecache_action_definitions(TRUE);

TO:

if (function_exists('imagecache_action_definitions') ) imagecache_action_definitions(TRUE);
// From Imagecache Actions 6.x-1.x-dev // imagecache_textactions.install

2/ Problem:

Installed Imagecache Text Actions, but nothing shows up when editing imagecache presets.

I cleared the cache with www.yourdomainname.com/devel/cache/clear
second time with www.yourdomainname.com/update.php
but nothing shows up when editing imagecache presets,

I have ImageCache 5.x-1.6 and ImageAPI 5.x-1.4 Installed,

Please Help,
Thanks.

Comments

mainxaz17’s picture

Assigned: mainxaz17 » Unassigned
Priority: Critical » Normal
Status: Closed (duplicate) » Active
dman’s picture

Status: Active » Postponed (maintainer needs more info)

This should be OK from the change added at Feb7 - DEV onwards
.
Oh, hang on. On the 5.x branch?
Hm.
You do still need to run imagecache_action_definitions(TRUE); somehow, somewhere. Once.
That fix you did stopped the error, but didn't do the job.
This occurs maybe if you try to enable imagecache AND the imagecache_action at the same instant. sometimes imagecache_action got in prematurely. (Normally we'd have imagecache.module installed before adding actions, but that was an oversight in testing.)

dman’s picture

Status: Postponed (maintainer needs more info) » Fixed

I THINK this is taken care of with current releases. We include a check to see it imagecache functions are available before calling them and flushing.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.