Column count doesn't match
Arjean - October 5, 2009 - 19:36
| Project: | Kudos |
| Version: | 6.x-1.7 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
I had another issue so installed a fresh Drupal 6.14 with only Kudos 6.7.
After doing the settings, I wanted to add a new kudos, but it gave me this message instead:
user warning: Column count doesn't match value count at row 1 query: INSERT INTO kudos_info (name, label, status, comments, nodes, icon_view, icon_give, icon_rescind, icon_disabled) VALUES ('kudosname', 'Kudoslabel', 1, 0, 1, 'icon.gif', 'icon.gif', 'icon.gif') in sites\all\modules\kudos\kudos.module on line 537.Searching resolved in changing file kudus.module line 524 from:
VALUES ('%s', '%s', %d, %d, %d, '%s', '%s', '%s')to
VALUES ('%s', '%s', %d, %d, %d, '%s', '%s', '%s', '%s')And adding a kudos works again.

#1
This is a duplicate of #622000: Can not enable kudos on my site