I just installed a new drupal6.2 and want to set the imageCache for mysite.

But when I add an action for a preset, it appears blank page.

The blank page URL as below:
http://localhost:81/?q=admin/build/imagecache/1/add/imagecache_resize

Not sure it's a bug for imagecache or my site setup problem.

Comments

chenys_jason’s picture

Priority: Normal » Critical

i am getting the same error as well. The error is this:
user warning: Field 'module' doesn't have a default value query: INSERT INTO imagecache_action (presetid, weight, action, data) VALUES (1, 0, 'imagecache_scale', 'a:3:{s:5:\"width\";s:3:\"300\";s:6:\"height\";s:0:\"\";s:7:\"upscale\";i:0;}') in C:\software\apache\htdocs\drupal-6.2\includes\common.inc on line 3304.

Look at the table definition:
CREATE TABLE `drupal`.`imagecache_action` (
`actionid` int(10) unsigned NOT NULL auto_increment,
`presetid` int(10) unsigned NOT NULL default '0',
`weight` int(11) NOT NULL default '0',
`module` varchar(255) NOT NULL,
`action` varchar(255) NOT NULL,
`data` longtext NOT NULL,
PRIMARY KEY (`actionid`),
KEY `presetid` (`presetid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Module doesn't allow NULL value but the insert statement doesn't populate it.

Anybody has successfully used ImageCache 6.x-1.0-alpha1?

drewish’s picture

Status: Active » Fixed

i think this was fixed elsewhere. please re-open if that's not the case.

Status: Fixed » Closed (fixed)

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