Broken: Deck/Author Info

Events happening in the community are now at Drupal community events on www.drupal.org.
Tran's picture

user warning: Unknown column 'field_show_author_info_value' in 'field list' query: INSERT INTO content_type_article (vid, nid, field_deck_value, field_show_author_info_value, field_thumbnail_image_fid, field_thumbnail_image_list, field_thumbnail_image_data) VALUES (885, 885, NULL, 'Show Author Info?', NULL, NULL, NULL) in /home/p25lh170/public_html/sites/all/modules/cck/content.module on line 1213.
user warning: Unknown column 'field_show_author_info_value' in 'field list' query: INSERT INTO content_type_article (vid, nid, field_deck_value, field_show_author_info_value, field_thumbnail_image_fid, field_thumbnail_image_list, field_thumbnail_image_data) VALUES (885, 885, NULL, 'Show Author Info?', NULL, NULL, NULL) in /home/p25lh170/public_html/sites/all/modules/cck/content.module on line 1213.

This shows whenever I post a new article. It goes away after the first load, but it's still annoying.
Any ideas?

Comments

'Show Author Info?'

gennadiy's picture

Hi midek,
In case you are still looking for the answer:

"Allowed values list:" for 'Show Author Info?' field for Article content type has wrong values in it:
0
Show Author Info?

Should be:
off
on

as it states in the description: "For a 'single on/off checkbox' widget, define the 'off' value first, then the 'on' value in the Allowed values section."

Regards,
Gennady

It doesn't seem like those

ksweet's picture

It doesn't seem like those are incorrect values at all. 0 would be off, which makes sense, and the on value is what is displayed on the form, so it makes sense that it would be "Show Author Info?"

As far as I can tell, the problem is that this field isn't in the content_type_article table. It has its own table called content_field_show_author_info.

As to why it's generating this SQL wrong, I don't know. But considering this post was from three months ago I'm assuming it's fixed.

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: