Loading...
 
Skip to main content

Features / Usability


Polls- An error occured in a database query!

posts: 60

Hi!

I put a poll and I tried to vote, and get this:

An error occured in a database query!

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


Go back
Return to home page


What could be the problem?

Thanks!

posts: 2881 United Kingdom

I guess your using 1.9 rc2

Its test code. Latest stable for production sites is 1.8.4. This has been fixed however in 1.9 CVS

Damian

posts: 2

Hi.

I am using the 1.9 RC3 (checked out from CVS yesterday evening) and have the same problem as loobian.

System: SuSE 9.1, MySQL 4.0.18, apache 2.0.49

posts: 2881 United Kingdom

Try using the tiki.sql to make your database from rather than the tiki-1.9-mysql.sql file.

1.9 is still in development code status and you need to know it to use it.

Damian