Posted by sandino on November 3, 2009 at 2:25pm
Jump to:
| Project: | Kudos |
| Version: | 6.x-1.7 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Hello!
I tried to enable Kudos on brand new demo site and performed these actions (from documentation):
- Place the module into your modules directory
- Activate the module from the administation area
- Under /admin/settings/kudos, configure the global handling of kudos, such as what content types can receive kudos
- Under /admin/content/kudos, add one or more kudos, and select the content types that each kudo is useful for.
- Under /admin/users/permissions and grant appropriate permissions under kudos > give, rescind, receive and view
- Add/view content. Note. If a custom theming has been applied to nodes, then you may need to update the template file in order for the kudos to appear. When using the default node theming kudos should appear automatically.
But on step 3 I've got this message:user warning: Column count doesn't match value count at row 1 query: INSERT INTO demobase_kudos_info (name, label, status, comments, nodes, icon_view, icon_give, icon_rescind, icon_disabled) VALUES ('rep', 'rep', 1, 2, 1, '', '', '') in /demopath/sites/all/modules/kudos/kudos.module on line 537.
What I am doing wrong?
Comments
#1
Same error for me too. what gives?
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 ('kudo', 'Test Kudos', 1, 0, 1, '', '', '') in /var/www/ideal/sites/all/modules/kudos/kudos.module on line 537.
#2
Bumpity bump!!!
#3
Can you try running update.php? I will take a look at the installation file and see if i can find the culprit.
#4
Hi,
Thanks for getting back to us, ran update.php...still the same error!
#5
Any joy?
#6
Thanks. I found the issue. I have an update ready to go, but I need to hold off for a little bit due to a server issue. The updated module should be available later today.
If you'd like to make the update in code yourself. Go to line 524 of kudos.module, and add
, %sto the value list. It should end up appearing as such:VALUES ('%s', '%s', %d, %d, %d, '%s', '%s', '%s', '%s')#7
I've just created a new release.. Version 1.8 should address this issue.
#8
Many thanks,
All seems to be fine now, got to go now...must "play" with your module!
One teensy weensy little question though, does it integrate with Organic groups?
Cheers!
Ludo...
#9
Automatically closed -- issue fixed for 2 weeks with no activity.