Closed (fixed)
Project:
Pollfield
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2007 at 15:15 UTC
Updated:
26 Sep 2007 at 21:56 UTC
I created a content type with a pollfield, but only user 1 (the first user) can vote.. rest all see the results..
I looked at the access grants and I have granted vote to all.. not only that I tried to grant even the admin poll to all still no one can vote but only user 1.. as seen here: http://popularsikh.com
Is this working at any place?? Please help.
Thank!
Comments
Comment #1
Drupal_ commentedAlso I created a poll which behaves normally.. so the issue looks to be with some aspect of the pollfield cck field. Another thing is that everyone (registered/anonymous) except user1 sees the result with cancel you vote button..
Comment #2
Drupal_ commentedThis might be the issue:
pollfield module --- only these two choices are shown in the access control (vote on poll is missing)
cancel own pollfield vote
inspect all pollfield votes
Comment #3
Drupal_ commentedTo solve this I tried changing this
// Determine whether or not this user is allowed to vote
$pollfield['allowvotes'] = FALSE;
TO:
// Determine whether or not this user is allowed to vote
$pollfield['allowvotes'] = TRUE;
It did solve one thing i.e I could see the vote button.... but when I click the button it I gets to page pollfield/vote that says "You are not authorized to access this page."
So as mentioned in my previous post, the access control is not being properly set for pollfield.. anyone know where it is being set.. or where i could manually change in the database?
Comment #4
Drupal_ commentedComment #5
Drupal_ commentedmissed http://drupal.org/node/139085 that fixes it.