The whole website is down as soon as I start using this module. A white screen of death, saying:
Cannot redeclare imagecache_rgb_form() (previously declared in .../sites/all/modules/imagecache_actions/utility.inc:13) in .../sites/all/modules/imagecache_actions/utility-color.inc on line 31

By manually editing the system table, I can get things up and running, but I really miss this module in D7...

Comments

juliusvaart’s picture

I'm having the same problem when trying to add an overlay to a preset.

PMorris’s picture

Same error with me! I could only fixed by deleting the module with FTP tool which allowed me back into admin of site.

It's on a MAMP test server. This module is awesome. I use it to slice images into grids and add rounded corners automatically. Hope to see it running!

As a footnote, enabling the base module doesn't seem to give any errors but any of the others like Imagecache Canvas Actions do.

Countzero’s picture

Same kind of problem here when adding an underlay :

Fatal error: Call to undefined function imagecache_include_standard_actions() in ... sites/all/modules/imagecache_actions/canvasactions/canvasactions.inc on line 441

I also had to comment some function declarations in utility.inc because they were already declared elsewhere.

I'll investigate and post here if I make the thing work.

This module is amazing and I definitly want a working D7 version.

Countzero’s picture

Just commenting the faulty line leads to the same message about the imagecache_actions_keyword_filter function.

The first call refers to the non-core version of imagecache functions. I guess we have to find how they are called now that they are in core, hoping their implementations didn't change too much (EDIT : in fact, despite its name, this function was in the module utility.inc fiel in D6).

The second is a call to an imagecache_actions function which is not present in utility.inc, which was the case in the 6.x version.

Trying to debug this leads to includes looping hell : either the functions are declared two times or they are missing, alterning error messages of each kind depending on which code you comment.

I'm stuck.

Lobidu’s picture

Priority: Normal » Major

Same problem. Just mentioning.

ccheu’s picture

subscribing. yes, same issue. :p

cpaks’s picture

subscribing.

teh_catt’s picture

subscribing

zd370’s picture

subscribing

fuse’s picture

Same problem here.

d0t15t’s picture

+1

Anonymous’s picture

I got the WSOD as soon as I enabled any of the actions (the base imagecache actions are OK). Fixed it by renaming the offending include, then disabling the module & renaming the inc. file back to its original name.

You won't see an error message unless you turn on error reporting in your php.ini; remember to disable this afterward if you are in a production environment.

Countzero’s picture

I was trying to solve the problem (mean : prevent it to happen).

To restore your site to normal operations, you can simply delete the module's directory.

I'm still investigating to correct the problem and make the module usable.

Countzero’s picture

See this issue for a related discussion and a working temporary solution : http://drupal.org/node/818798.

krak’s picture

subscribe

Fatal error: Cannot redeclare hex_to_rgb() (previously declared in O:\home\mysite.ru\www\sites\all\modules\imagecache_actions\utility.inc:88) in O:\home\mysite.ru\www\sites\all\modules\imagecache_actions\utility-color.inc on line 123

dman’s picture

Yeah, was bad dependancies - resolved here #1046200: Resolve the mystery of the hex2rgb functions

fultonchain’s picture

More confirmation, another subscription.

Anonymous’s picture

Just an update to my experience w/ this (see #12) — downloaded the 31 Jan '11 snapshot & enabled Auto-rotate & Custom Actions successfully. Canvas Actions & Color both cause WSOD. Haven't tried to use the module yet, however, so can't comment on functionality.

Fidelix’s picture

Subscribing...

Sentrashy’s picture

sub

fietserwin’s picture

AFAICC this has long been solved, back in the 7.x-0.0 version. I.m using the module to its full extend in several sites now, without this problem... Cleaning up the issue queue, feel free to reopen if I'm wrong.

fietserwin’s picture

Status: Active » Closed (fixed)