Can not enable kudos on my site

sandino - November 3, 2009 - 14:25
Project:Kudos
Version:6.x-1.7
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hello!

I tried to enable Kudos on brand new demo site and performed these actions (from documentation):

  1. Place the module into your modules directory
  2. Activate the module from the administation area
  3. Under /admin/settings/kudos, configure the global handling of kudos, such as what content types can receive kudos
  4. Under /admin/content/kudos, add one or more kudos, and select the content types that each kudo is useful for.
  5. Under /admin/users/permissions and grant appropriate permissions under kudos > give, rescind, receive and view
  6. 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?

#1

ludo1960 - November 7, 2009 - 18:02

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

ludo1960 - November 9, 2009 - 16:38

Bumpity bump!!!

#3

socki - November 12, 2009 - 21:01

Can you try running update.php? I will take a look at the installation file and see if i can find the culprit.

#4

ludo1960 - November 13, 2009 - 16:51

Hi,

Thanks for getting back to us, ran update.php...still the same error!

#5

ludo1960 - November 15, 2009 - 21:53

Any joy?

#6

socki - November 17, 2009 - 16:48

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 , %s to the value list. It should end up appearing as such:

VALUES ('%s', '%s', %d, %d, %d, '%s', '%s', '%s', '%s')

#7

socki - November 17, 2009 - 18:18
Status:active» fixed

I've just created a new release.. Version 1.8 should address this issue.

#8

ludo1960 - November 17, 2009 - 19:41

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

System Message - December 1, 2009 - 19:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.