Closed (fixed)
Project:
ImageCache
Version:
6.x-1.0-alpha1
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jun 2008 at 11:24 UTC
Updated:
20 Jan 2009 at 03:40 UTC
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
Comment #1
chenys_jason commentedi 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?
Comment #2
drewish commentedi think this was fixed elsewhere. please re-open if that's not the case.