Title: Poll Feature
Last modified: August 18, 2016

---

# Poll Feature

 *  [skinnywhiteboy](https://wordpress.org/support/users/skinnywhiteboy/)
 * (@skinnywhiteboy)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/poll-feature/)
 * I just downloaded and attempted to install a poll hack from [http://www.lesterchan.net/portfolio/programming.php](http://www.lesterchan.net/portfolio/programming.php)
   
   I edited and uploaded all the files like it said and im getting an error message
   when i vote in the poll. [http://skinnywhiteboy.xmgfree.com](http://skinnywhiteboy.xmgfree.com)
   Vote in the poll and see it for yourself (its in the nav bar if you don’t see
   it immediatly) Thanks for your time.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [NuclearMoose](https://wordpress.org/support/users/nuclearmoose/)
 * (@nuclearmoose)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/poll-feature/#post-137286)
 * Likely there is a path setting in the poll script that you need to set.
 *  Thread Starter [skinnywhiteboy](https://wordpress.org/support/users/skinnywhiteboy/)
 * (@skinnywhiteboy)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/poll-feature/#post-137288)
 * I found this in a file:
    // If View Results if(intval($_GET[‘showresults’]) =
   = 1) { $voted = true; $vote_text = ‘<p align=”center”>[Vote](https://wordpress.org/support/topic/poll-feature/wp-online.php?output_format=md)‘;
   theres no wp-online.php file that came with the hack
 *  Thread Starter [skinnywhiteboy](https://wordpress.org/support/users/skinnywhiteboy/)
 * (@skinnywhiteboy)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/poll-feature/#post-137339)
 * I upgraded wordpress after i accidently deleted alot of files.
    Anyone know if
   this poll works in 1.5?
 *  [NuclearMoose](https://wordpress.org/support/users/nuclearmoose/)
 * (@nuclearmoose)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/poll-feature/#post-137343)
 * Can’t see any reason why it wouldn’t.
 *  [clarksco](https://wordpress.org/support/users/clarksco/)
 * (@clarksco)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/poll-feature/#post-137913)
 * I followed the instructions, however I keep getting SQL errors when I run wp-
   polls-install.php. They are as follows:
 * Database error: [You have an error in your SQL syntax. Check the manual that 
   corresponds to your MySQL server version for the right syntax to use near ‘( 
   aid int(10) unsigned NOT NULL auto_increment, qid int(10) NOT]
    CREATE TABLE (
   aid int(10) unsigned NOT NULL auto_increment, qid int(10) NOT NULL default ‘0’,
   answers varchar(200) NOT NULL default ”, votes int(10) NOT NULL default ‘0’, 
   PRIMARY KEY (aid))
 * Database error: [You have an error in your SQL syntax. Check the manual that 
   corresponds to your MySQL server version for the right syntax to use near ‘( 
   id int(10) unsigned NOT NULL auto_increment, question varchar]
 * CREATE TABLE ( id int(10) unsigned NOT NULL auto_increment, question varchar(
   200) NOT NULL default ”, timestamp varchar(20) NOT NULL default ”, total_votes
   tinyint(4) NOT NULL default ‘0’, PRIMARY KEY (id))
 * Etc…
 * Any help would be appreciated.
 * -Scott
 *  [hardincomp](https://wordpress.org/support/users/hardincomp/)
 * (@hardincomp)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/poll-feature/#post-137960)
 * I was having the same problem and I fixed it by removing all instances of “$wpdb-
   >” from the file. The same seems to need to be done in all the files that use
   this call.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Poll Feature’ is closed to new replies.

 * 6 replies
 * 4 participants
 * Last reply from: [hardincomp](https://wordpress.org/support/users/hardincomp/)
 * Last activity: [21 years, 1 month ago](https://wordpress.org/support/topic/poll-feature/#post-137960)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
