Hi all
I know how to add fields when a user uploads but when I try to add fields for edit profile I get this error:
DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, i.image_photographer, i.image_grey, i.user_camera, c.cat_name, u.user_name FROM galleryimages i, gallerycategories c LEFT JOIN galleryusers u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id IN (0, 50, 58, 77, 40, 25, 17, 74, 66, 2, 55, 18, 75, 26, 41, 78, 11, 69, 51, 19, 31, 81, 79, 76, 52, 20, 59, 27, 42, 80, 60, 43, 29, 53, 70, 44, 32, 22, 54, 12, 63, 30, 47, 23, 13, 56, 72, 24, 33, 46, 14, 57, 71, 35, 15, 48, 61, 36, 3, 45, 73, 37, 9, 49, 38, 16, 65, 28, 64, 39) ORDER BY i.image_date DESC LIMIT 6
Unknown column 'i.user_camera' in 'field list'
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /***/includes/db_mysql.php on line 116
What is going on ?
Thanks
Steve