• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

I need some help with Modern AAC.

Aniiko

New Member
Joined
Feb 17, 2016
Messages
3
Reaction score
1
Whenever I installed it to my database, it gives me the following error when I try to proceed to the website.

A Database Error Occurred
Error Number: 1146

Table 'adream.poll_votes' doesn't exist

SELECT * FROM poll_votes WHERE answer_id = 0
 
You get that error because table 'poll_votes' does not exist in database.

Insert this in your database:
Code:
CREATE TABLE IF NOT EXISTS `poll_votes` (
  `id` INT(11) NOT NULL AUTO_INCREMENT,
  `answer_id` INT(11) ,
  `poll_id` INT(11) ,
  `account_id` INT(11) NOT NULL,
  PRIMARY KEY (`id`),
  FOREIGN KEY (`answer_id`) REFERENCES `poll_answer` (`id`) ON DELETE CASCADE,
  FOREIGN KEY (`poll_id`) REFERENCES `poll` (`id`) ON DELETE CASCADE,
  FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
 
Back
Top