While trying to upload an image from /people/avatar_selection/upload I get the following error.
PDOException: SQLSTATE[HY000]: General error: 1364 Field 'fid' doesn't have a default value: INSERT INTO {avatar_selection} (avatar, name, weight) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array ( [:db_insert_placeholder_0] => user_2_avatar.png [:db_insert_placeholder_1] => user_2_avatar.png [:db_insert_placeholder_2] => 0 ) in _avatar_selection_save_avatar_info() (line 790 of C:\xampp\htdocs\drupal7\sites\all\modules\avatar_selection\avatar_selection.admin.inc).
This is on Windows XP with XAMPP 1.7.3 and Drupal 7.0, 2011-01-05
Comments
Comment #1
santam commentedSubscribe .. gettting the same error here with a LAMP setup and latest drupal 7.8
Comment #2
dureaghin commentedSubscribe ...
Comment #3
cpasticcio82 commentedSubscribe.... same behaviour here with Drupal 7.8 on XAMPP
Comment #4
skizzo commentedI get the same error when uploading avatars manually and then requesting an avatar scan
Comment #5
sw3b commentedSame here !
Comment #6
skizzo commentedhas anybody found a fix for this blocking error? Avatar_selection was working
nicely on D6, now I would like to move into D7 but I can't make AS work on D7,
and have found no substitute for it.
Comment #7
mcferren commentedgetting the same error
Comment #8
Imper1um commentedYou can fix this by changing the column "fid" to "null" instead of "not null".
I haven't had any issues when I do that.
Comment #9
burgs commentedI'm not sure if #8 broke it, or if it never worked, but editing your profile and choosing an avatar doesn't work. ie. It doesn't stick.
Comment #10
stella commentedComment #8 solution isn't the right way about it. The patch from #1326854: D7 does not display anything (now committed) should fix this and other problems.