I'm getting this error when I try to pull open "my gifts"
user warning: Unknown table 'node_data_field_img' in field list query: SELECT node.nid, node_gift.time_stamp AS node_gift_time_stamp, node_data_field_img.field_img_fid AS node_data_field_img_field_img_fid, node_gift.comment AS node_gift_comment, users.name AS users_name, users.uid AS users_uid FROM node node LEFT JOIN node_gift node_gift ON node.nid = node_gift.nid INNER JOIN users users ON node.uid = users.uid WHERE (node.type IN ('gift_image')) AND (node_gift.rid = 2) ORDER BY node_gift_time_stamp ASC LIMIT 0, 10 in /home/backscom/public_html/portal/includes/database.mysql.inc on line 172.
I had to create a custom content type for imagefield...because I'm using image. I can create gifts, and I can buy them for a user, but the recipient does not see the gifts at all.
Comments
Comment #1
drupalprojects commentedhi
Sorry, but only imagefield is supported now.
Comment #2
rtzcom commentedI am using imagefield. I created a new content type for imagefield to use, and not image. I read an issue about using an image content type for imagefield, so I did not use this. I also read that the node gift module works even if image is installed, as long as you don't use this for imagefield.
Comment #3
marz71 commentedI had the same problem. I discovered that when I renamed my image field from 'image' to 'img' the error dissapeard. Hope this helps!
Comment #4
rtzcom commentedThat worked! Thank you very much. Contact me on www.backyardbombshells.com (just use the contact form), and I will hook you up with a free 30 day VIP membership if you want :)
Comment #5
tonytosta commentedthat worked for me too, thanks! btw, i checked out that link and its great! I am talking about how well Drupal was implemented, of course
Comment #6
drupalprojects commented