Closed (duplicate)
Project:
Album Photos
Version:
6.x-2.6-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2009 at 22:14 UTC
Updated:
31 Jul 2013 at 06:47 UTC
I get this error when I edit the album.
user warning: Duplicate entry '2' for key 'PRIMARY' query: INSERT INTO x_album (pid, data) VALUES (2, 'a:4:{s:14:\"teaser_display\";s:1:\"2\";s:14:\"teaser_viewnum\";s:2:\"10\";s:16:\"teaser_imagesize\";s:5:\"thumb\";s:12:\"teaser_slide\";s:7:\"640x480\";}') in D:\temp\drupal\modules\photos\photos.module on line 428
Comments
Comment #1
radiofranky2009 commentedwhere to hard code if I want to have teaser set to have 20 thumbs at 100x 100 and page to have 20 as well?
currently i have set it to default at admin, but it won't work. It works only if I "enable" the page and teaser settings.
I think the "slide" option is also broken when you enable the "page and teaser" settings at user level.
thanks
Comment #2
manoz_79 commentedI am having the same problem....
Comment #3
manoz_79 commentedCan someone help me in fixing the above mentioned problem.
Thanks in advance.
Comment #4
chakrax commentedSee my patch at http://drupal.org/node/424060#comment-2838226
Comment #5
nathaniel commented#424060: "Latest Albums" doesn't display thumbnail