I have such an error and don't see the form to voote
user error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND nid = 14' at line 1
query: SELECT * FROM nodevote WHERE uid = AND nid = 14 in /drupal46/includes/database.mysql.inc on line 66.
Can you help?
Andrzej
Comments
Comment #1
kbahey commentedI am not sure why this is happening.
Can you post the exact URL where this is happening? I mean http://example.com/node/???
Is the user logged in?
Are the permissions set up correctly ("view notevotes")?
Comment #2
moggy commentedJust downloaded the 4.6 version and I'm getting the same.
Installed mysql table, enabled module, enabled voting on all node types, set access to voting for unregisted and authenticated users.
when logged in as root I get that error. When I'm not logged in I get no error, but no sign of voting either.
Comment #3
kbahey commentedMoggy,
Thanks for the detailed description of how to get to the error message.
I can now reproduce this issue, and will have a fix in a few days, as time permits.
Comment #4
kbahey commentedWell, that was faster that I thought.
I commited a fix, and it should go into tomorrow's download.
Comment #5
(not verified) commentedComment #6
(not verified) commentedComment #7
(not verified) commentedComment #8
(not verified) commentedComment #9
(not verified) commentedComment #10
(not verified) commentedComment #11
(not verified) commented