• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Database Error

Amiroslo

Excellent OT User
Joined
Jul 28, 2009
Messages
6,812
Solutions
6
Reaction score
822
Code:
[9:36:19.858] mysql_real_query(): INSERT INTO `player_killers` (`kill_id`, `play
er_id`) VALUES (33351, 139) - MYSQL ERROR: Cannot add or update a child row: a f
oreign key constraint fails (`testtt`.`player_killers`, CONSTRAINT `player_kille
rs_ibfk_1` FOREIGN KEY (`kill_id`) REFERENCES `kill` (`id`) ON DELETE CASCADE) (
1452)

error 2

Code:
mysql_real_query(): INSERT INTO `environment_killers` (`kill_id`, `name`) VALUES (31979, 'Ape Warrior') - MYSQL ERROR: Cannot add or update a child row: a foreign key constraint fails (`infernal`.`environment_killers`, CONSTRAINT `environment_killers_ibfk_1` FOREIGN KEY (`kill_id`) REFERENCES `runn`.`killers` (`id`) ON DELETE CASCADE) (1452)
 mysql_real_query(): INSERT INTO `player_killers` (`kill_id`, `player_id`) VALUES (31977, 2470) - MYSQL ERROR: Cannot add or update a child row: a foreign key constraint fails (`infernal`.`player_killers`, CONSTRAINT `player_killers_ibfk_1` FOREIGN KEY (`kill_id`) REFERENCES `runn`.`killers` (`id`) ON DELETE CASCADE) (1452)

rep++ for the fixer
 
Back
Top