when i try to create account in GESIOR AAC, i get this error:
Code:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1452 Cannot add or update a child row: a foreign key constraint fails (`project/players`, CONSTRAINT `players_ibfk_3` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`name`))' in D:\My Documents\NewServer\xamppServ\htdocs\pot\OTS_Player.php:187 Stack trace: #0 D:\My Documents\NewServer\xamppServ\htdocs\pot\OTS_Player.php(187): PDO->query('INSERT INTO `pl...') #1 D:\My Documents\NewServer\xamppServ\htdocs\accountmanagement.php(798): OTS_Player->save() #2 D:\My Documents\NewServer\xamppServ\htdocs\index.php(156): include('D:\My Documents...') #3 {main} thrown in D:\My Documents\NewServer\xamppServ\htdocs\pot\OTS_Player.php on line 187