trying to upload an image (named collines) error message:
* user warning: Unknown column 'list' in 'field list' query: INSERT INTO files (fid, nid, filename, filepath, filemime, filesize, list) VALUES (2523, 12412, '_original', 'images/Collines_6.jpg', 'image/jpeg', '28521', 0) in /home/httpd/vhosts/my-site.com/httpdocs/drupal/includes/database.mysql.inc on line 120.
* user warning: Unknown column 'list' in 'field list' query: INSERT INTO files (fid, nid, filename, filepath, filemime, filesize, list) VALUES (2524, 12412, 'thumbnail', 'images/Collines_6.thumbnail.jpg', 'image/jpeg', '2864', 0) in /home/httpd/vhosts/my-site.com/httpdocs/drupal/includes/database.mysql.inc on line 120.
* user warning: Unknown column 'list' in 'field list' query: INSERT INTO files (fid, nid, filename, filepath, filemime, filesize, list) VALUES (2525, 12412, 'preview', 'images/Collines_6.preview.jpg', 'image/jpeg', '19525', 0) in /home/httpd/vhosts/my-site.com/httpdocs/drupal/includes/database.mysql.inc on line 120.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/my-site.com/httpdocs/drupal/modules/upload.module on line 432.
* warning: Division by zero in /home/httpd/vhosts/my-site.com/httpdocs/drupal/modules/img_assist/img_assist.module on line 790.
Comments
Comment #1
Stardog commentedI have this error too. I'm using latest CVS version of drupal, image, and img_assist.
Comment #2
benshell commentedThis is actually an image module bug, which was caused by recent Drupal core changes... there are some image.module patches to fix it so hopefully they will make it into the CVS soon.
To verify that it's the image module, not img_assist, go to create content/image and see if you can upload a new image.
Comment #3
benshell commentedI got img_assist working again by updating to the latest Drupal CVS and image.module CVS versions and then applying the image.module patch found here: http://drupal.org/node/50889.
Comment #4
Stardog commentedThanks for the help. I had to just add 'list' to the files table, and it works now.
Comment #5
deekayen commentedhttp://drupal.org/node/50889
Try upgrading to the latest CVS of everything. It worked for me, too.