Just tried out the August 27 version on 6.13 and attempted to add a Pollfield to the 'story' content type, but I get a multitude of error messages in the vain of:

user warning: Table 'databasename.content_node_field_instance' doesn't exist query: SELECT widget_settings FROM content_node_field_instance WHERE field_name='field_poll' AND type_name='story' in /home/....../sites/all/modules/pollfield/pollfield.module on line 769.

(database name and paths altered as I'm not sure if posting that would be a security risk)

The pollfield will only display the Label and Question, but no choices, when logged in.

Going into phpMyAdmin, I see that the table exists, except ALL of my tables are affixed with somerandomletters_ (i.e. "somerandomletters_content_node_field_instance"). I'm not sure if that is possibly the issue, but all of the other modules I have added have worked.

Comments

mario_prkos’s picture

It is fixed now, in queries all table must be in {}. After midnight gmt you will have fixed version. Thank you for posting issue.

mb2’s picture

Now I get this:

user warning: Unknown column 'pollfield.active' in 'field list' query: SELECT pollfield.active FROM somerandomletters_pollfield WHERE field_table='story' AND field_name='field_poll' AND nid=18 AND field_name_delta=0 in /home/...../sites/all/modules/pollfield/pollfield.module on line 484.

Again, the pollfield will only display the Label and Question, but no choices, when logged in (nothing for anonymous users despite permission setting).

mario_prkos’s picture

  • in line 484 just replace pollfield.active with active this is because table name is changed and pollfield.active is not relevant any more. I never hand time to test the module on installation with table prefix so I appreciate you feedback.
  • Options are not displayed because of variable active is not set because of this bug, so poll is closed and any voting is disabled. After this fixed it should worked.

Fixed will be published after midnight gmt.Thank you for your patience.

mario_prkos’s picture

Status: Active » Closed (fixed)

closed because no other issue reported and fixed is published