I want to make a content type to house a set of photos with star rating on each photo. So I created a "Photo" content type, turn on star rating there and add filefield/image with "required" 1 value.
Then I create another content type "Photo set" with one flexi field to the "Photo" content type, Required/unlimited.
When I create a "Photo set", I can upload photos, but when I save the node, I get this error:
* user warning: Duplicate entry '77' for key 1 query: INSERT INTO filefield_meta (fid, width, height, duration, audio_format, audio_sample_rate, audio_channel_mode, audio_bitrate, audio_bitrate_mode) VALUES (77, 1920, 1200, 0, '', 0, '', 0, '') in /var/www/html/drupal/includes/common.inc on line 3468.
* Photo field is required.
* Photo field is required.
Do it the second time, '77' is '78', the third time, it '79'.
Basically what I need is a content type which holds a set of photos each with a star rating the user can set so that the user can tell me what photo they reject, what to keep and what to print. I am using flexifield to do this.
Content type: "Photo" 1 filefield/image
Content type "Photo" enable Five star rating
Content type: "Photo set" 1 Flexi-Field Required/unlimited to "Photo"
I get this errors in two different ways:
* Photo field is required.
* Photo field is required.
1) when I configure "Photo set" content type, which has a Flexi-Field to the "Photo" content type. If I "Manager fields" and configure the Flexi-Field, click "Change basic information", this error message comes up.
2) when do node/add/photo-set, upload a couple of photos to the Flexi-Field and click save, I get the error message in the beginning of this post which has this * Photo field is required. errors also
Any help is appreciated.
Thanks!
Comments
Comment #1
1100Broadway commentedI'm having the same issue. Has anyone had any resolve to this issue?
Comment #2
1100Broadway commentedCan anyone help with a Duplicate Entry error? Has anyone else had this issue? Thanks