Closed (fixed)
Project:
Album Photos
Version:
6.x-1.4-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2008 at 09:14 UTC
Updated:
27 Jul 2013 at 00:44 UTC
I get the following just after creating a new album.
* warning: pg_query() [function.pg-query]: Query failed: ERROR: null value in column "id" violates not-null constraint in /home/alan/dev/cf.ou/includes/database.pgsql.inc on line 138.
* user warning: query: INSERT INTO x_album_ac (id, nid, updateid) VALUES (null, 22, 1) in /home/alan/dev/cf.ou/sites/all/modules/photos_access/photos_access.module on line 208.
I presume this is some difference between the way that Mysql and Postgres handle automatic creation of id's in sequence - but not sure what.
Comments
Comment #1
vase commentedYou need change count and fid columns - disable not null for it. After that all work's fine.
Comment #2
nathaniel commentedPlease re open if this is still an issue in the D7 version.