I am new to drupal and need a little help. I installed the Vote API and Five Star modules on my restaurtant guide site. The widget shows up and I can mouse over the stars, but if I click on a star to vote it does not cast a vote. And in the address bar, after clicking, it reads node number "#undefined". Here is a link to the site:
http://h2o-bug.com/restaurants/?q=node/16
Thanks,

Comments

bwv’s picture

If I recall correctly, you need to go to content types under content management, and select which type of content you want you users to be able to vote on. Go to page, for example, click edit, and you should see something about the 5-star module and whether you wish to enable voting on the content type "page."
----------------------------------------------------------------------
http://www.bwv810.com/

I am a writer and researcher. In my spare time I build websites with Drupal.
Je peux communiquer en français. / Я могу общаться на русском языке.

Congrats’s picture

I have exactly the same problem. New site, new drupal and getting the same error.

Congrats’s picture

You have to install the following module: http://drupal.org/project/jquery_update Run it and follow the instructions (copy the .js file) and after that, it works great :-)

Oh, found out just now that it doesn't give an error but when casting a vote but somehow the vote is not submitted to the database. Strange.

gowans’s picture

Thanks, Congrats. I installed the jquery_update and it is working great. It is also submitting the votes to the database. I checked the database and it is submitting the votes to the "votingapi_vote" table. I did see a setting in drupal admin under the Site configuration/Voting API that determines when the vote is cast. Mine is set to "Tally results whenever a vote is cast".

Thanks for the help.