ZenphotoCMS Forum
SQL question - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: SQL question (/thread-4394.html)



SQL question - Izzor - 2009-01-04

I just installed 1.2 version. When I try to make a comment on a photo I get the following message: Zenphoto Error: Cannot add or update a child row: a foreign key constraint fails (1gb_zen/zp_comments, CONSTRAINT zp_comments_ibfk1 FOREIGN KEY (imageid) REFERENCES zp_images (id) ON DELETE CASCADE ON UPDATE CASCADE)
Sorry, I cannot understand if this is Zenphoto or my server problem, can you help me please which way to look?




SQL question - Izzor - 2009-01-04

Now it works, sorry