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
Comment #1
mainxaz17 commentedComment #2
dman commentedThis 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.)
Comment #3
dman commentedI 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.