- Code: Select all
Fatal error: Error inserting record: Cannot add or update a child row: a foreign key constraint fails (`imm/groups`, CONSTRAINT `groups_ibfk_1` FOREIGN KEY (`owner_id`) REFERENCES `users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE): SQL: INSERT INTO `groups` (`owner_id`,`group_name`,`group_description`,`group_categories`) VALUES ('Bengt','Private filmer',NULL,NULL)On line 941 of file /var/www/localhost/htdocs/imm/dataface/Dataface/IO.php in function printStackTrace()
On line 413 of file /var/www/localhost/htdocs/imm/dataface/Dataface/IO.php in function _insert(Dataface_Record Object,groups,1)
On line 1071 of file /var/www/localhost/htdocs/imm/dataface/Dataface/QuickForm.php in function write(Dataface_Record Object,,,1)
On line of file in function save(array(,1,849707985_1237737201,new,groups,new,0,0,30,browse,-action=new&-table=groups,Bengt,Private f)
On line 1626 of file /var/www/localhost/htdocs/imm/dataface/lib/HTML/QuickForm.php in function call_user_func(array(Dataface_QuickForm Object,save),ar in /var/www/localhost/htdocs/imm/dataface/Dataface/IO.php on line 941
Any ideas?