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

Stardog’s picture

I have this error too. I'm using latest CVS version of drupal, image, and img_assist.

benshell’s picture

This 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.

benshell’s picture

I 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.

Stardog’s picture

Thanks for the help. I had to just add 'list' to the files table, and it works now.

deekayen’s picture

Project: Image Assist » Image
Version: 4.7.x-1.x-dev » 6.x-1.x-dev
Component: User interface » image.module
Status: Active » Closed (duplicate)

http://drupal.org/node/50889

Try upgrading to the latest CVS of everything. It worked for me, too.