2016-08-09, 04:40 PM
I hope I've come to the right place here.
We've got a site setup and we're trying to integrate myBB into it a little more than we have in the past. Currently we're only really got a poll system setup on our homepage and that's what I'm looking for some help with today.
If I make a poll and allow only one vote per account... no problem. Works great in both the forums and the home page.
If I want to allow multiple votes per account, we get an error when submitting the vote and it doesn't matter how many options you pick, you still get the error.
The error reads as follows:
MyBB has experienced an internal SQL error and cannot continue.
SQL Error:1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 3Query:INSERT INTO mybb_pollvotes (pid,uid,voteoption,dateline) VALUES
Please contact the MyBB Group for technical support.
I wonder if anyone has any thoughts on what's happening and how I can fix it.
Thanks for your time.
We've got a site setup and we're trying to integrate myBB into it a little more than we have in the past. Currently we're only really got a poll system setup on our homepage and that's what I'm looking for some help with today.
If I make a poll and allow only one vote per account... no problem. Works great in both the forums and the home page.
If I want to allow multiple votes per account, we get an error when submitting the vote and it doesn't matter how many options you pick, you still get the error.
The error reads as follows:
MyBB has experienced an internal SQL error and cannot continue.
SQL Error:1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 3Query:INSERT INTO mybb_pollvotes (pid,uid,voteoption,dateline) VALUES
Please contact the MyBB Group for technical support.
I wonder if anyone has any thoughts on what's happening and how I can fix it.
Thanks for your time.