Posted by mrak on August 17, 2008 at 8:34am
Jump to:
| Project: | User Karma |
| Version: | 5.x-1.10 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
whenever I cast vote I get two error messages in drupal log file
I have attached copy of my log file as well as debug from user karma module
| Attachment | Size |
|---|---|
| debug.txt.txt | 6.45 KB |
| log file.txt.txt | 1.33 KB |
Comments
#1
Hi,
The errors in the queries are caused by something odd going on in your karma configuration, for the module user_karma_insert_node.module.
In that submodule's configuration, what do you have as:
"Node types which will give the creator karma"
...? If you haven't got any ticks, please tick a node type and report back.
However, the module still needs to be fixed, because this part is obviously not true:
// Check that there ARE types defined. For some reason, node_get_types()
// will set var[0] to '0' if no types are defined, which is handy here
// since count() wouldn't work
So, please let me know.
Thank you for the detailed bug report. If every bug report were like this, i'd be able to maintain more modules.
Merc.
#2
you were right,
I have not ticked single node type; I have ticked my diaries and now the problem has disappeared
so, misconfiguration error
#3
Hi,
Actually... well, I either have to force the users to tick at least one box, or have to change the module so that "no tick" = "all ticked"...
This is the only open issue of user_karma.module... it's a remarkably solid module. I am fixing this now as a matter of principle.
Merc.
#4
Hi,
Fixed in CVS.
User_karma has again no issues nor bugs :-D
Merc.
#5