3hills
17-07-2015, 11:46 AM
--------------------------------------------------
Topic Transfered from old forum
--------------------------------------------------
Hello,
I'm trying to convert a component Master-League, which is for Joomla 2.5 went to run Joomla 3.x All I was able to run, but when saving tips for user error pops up:
1452 - Cannot add or update a child row: a foreign key constraint fails (`joom_domena_cz`.`joom_multileague_player_predict ion`, CONSTRAINT `joom_multileague_player_prediction_ibfk_2` FOREIGN KEY (`game_id`) REFERENCES `joom_multileague_game` (`id`) ON DELETE CASCA) SQL=INSERT INTO `joom_multileague_player_prediction` (`user_id`,`game_id`,`home_score_prediction`,`away _score_prediction`,`submition_date`,`status`) VALUES (480,0,0,0,'2014-10-03 14:22:40',1)
Can someone please advise me what is wrong, or if I did something wrong? Thank you
Topic Transfered from old forum
--------------------------------------------------
Hello,
I'm trying to convert a component Master-League, which is for Joomla 2.5 went to run Joomla 3.x All I was able to run, but when saving tips for user error pops up:
1452 - Cannot add or update a child row: a foreign key constraint fails (`joom_domena_cz`.`joom_multileague_player_predict ion`, CONSTRAINT `joom_multileague_player_prediction_ibfk_2` FOREIGN KEY (`game_id`) REFERENCES `joom_multileague_game` (`id`) ON DELETE CASCA) SQL=INSERT INTO `joom_multileague_player_prediction` (`user_id`,`game_id`,`home_score_prediction`,`away _score_prediction`,`submition_date`,`status`) VALUES (480,0,0,0,'2014-10-03 14:22:40',1)
Can someone please advise me what is wrong, or if I did something wrong? Thank you