We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6561
    • 139 Posts
    Edit: Moderators - post should be moved to Polls Module thread; I did not realize pollmanager and Polls Module are the same thing.

    Since I can’t run EasyPoll (no PHP5 available on server) I downloaded Polls Module from here:
    http://modxcms.com/extras.html?view=package/view&repository=10&package=346

    However when I try to execute the module, I get following error:

     « Execution of a query to the database failed - You have an error in your SQL syntax near '; ' at line 8 »
          SQL:  CREATE TABLE IF NOT EXISTS `modx_polls` ( `id` int(11) NOT NULL auto_increment, `name` varchar(50) default NULL, `question` varchar(255) default NULL, `votes` int(11) default '0', PRIMARY KEY (`id`) );


    I checked and removed the code like suggested in that/this thread, but then it throws an error and says the table does not exist yet.

      • 6561
      • 139 Posts
      Okay it worked, but I had to manually create all the (SQL) tables first...