Loading...
 
Skip to main content

Features / Usability


Polls wont work

My Polls don't work
i can see the results by clicking on results in my
module including the poll

but when i want to vote i get this:

An error occured in a database query!

Context:
File /tiki-poll_results.php
Url /tiki-poll_results.php?pollId=2
Query:
select `optionId` from `tiki_user_votings` where `user` = ? and `id` = ?
Values:
0 admin
1 poll2


optionId is not a database field of tiki_user_votings

i get this also when i'm logged in as admin, normal user. or if i work as annonymous

my version: v1.9 pre-release -Sirius-

greetings martin

Not sure if anyone has fixed this.

I had the same problem using:
1.9rc2 with Mysql 4.0.20 on Linux

I fixed it by adding the column in the tiki_user_voting table with this command:

alter table tiki_user_votings add optionId int;

ccw