Closed (duplicate)
Project:
ImageCache
Version:
6.x-2.0-beta2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2008 at 18:11 UTC
Updated:
5 Jan 2009 at 22:54 UTC
Not sure if this is an imagecache or Image API problem. Whenever I try to create a new action to a preset, I get the following error:
user warning: Unknown column 'module' in 'field list' query: INSERT INTO kb_imagecache_action (presetid, weight, module, action, data) VALUES (0, 0, 'imagecache', 'imagecache_scale_and_crop', 'a:2:{s:5:\"width\";s:4:\"40px\";s:6:\"height\";s:4:\"40px\";}') in /home/northstudio/projects/includes/common.inc on line 3324.
The site was recently upgraded to Drupal 6.6 from a Drupal 5.12 site. Imagecache and Image API were updated to the latest versions before the conversion to Drupal 6. Image API.
And yes, I did run and update.php after the upgrade for all my modules.
Any help would be appreciated.
Sincerely,
Rene
Comments
Comment #1
jthaxton commentedI don't think this is a permanent solution, but I just added that column manually:
ALTER TABLE imagecache_action ADD module VARCHAR(255) AFTER weight;
take note of the table name, if you have a prefix, as you do with kb_, you will want to add that. Of course, now I get another error and I suppose this is an indication of the module in a pre-release beta mode :)
Comment #2
drewish commenteddid you run the updates? worst case you might try doing a full un-install and re-install.
Comment #3
drewish commentedComment #4
SlipAngel commentedI have a similar issue on a site that has undergone an upgrade. Whenever I try to add an action, I return to the preset screen but the action is not listed. I have run the database updates again and tried uninstalling and reinstalling the module.
In addition, I cannot create new presets from the ones I made in Drupal 5. When I try to create a preset, I get a Drupal message stating "Preset foo (ID: ) was created." The ID is blank, just as displayed here. We are using the following modules:
Imagecache
Ubercart
Imagecache UI
Image API
FCKeditor
Nice Menus
Path Auto
Thickbox
Token
Captcha
Google Analytics
Views
Comment #5
drewish commentedSlipAngel, I think that #304376: Update function from 5.x -> 6.x is more the issue you're facing.
Comment #6
drewish commentedmarking as a duplicate of #304376: Update function from 5.x -> 6.x