{"action":"opened","issue":{"url":"https://api.github.com/repos/GameConnect/SourceBans/issues/76","labels_url":"https://api.github.com/repos/GameConnect/SourceBans/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/GameConnect/SourceBans/issues/76/comments","events_url":"https://api.github.com/repos/GameConnect/SourceBans/issues/76/events","html_url":"https://github.com/GameConnect/SourceBans/issues/76","id":119670361,"number":76,"title":"Won't add new bans to website - Getting this error!","user":{"login":"lowheartrate","id":8846438,"avatar_url":"https://avatars.githubusercontent.com/u/8846438?v=3","gravatar_id":"","url":"https://api.github.com/users/lowheartrate","html_url":"https://github.com/lowheartrate","followers_url":"https://api.github.com/users/lowheartrate/followers","following_url":"https://api.github.com/users/lowheartrate/following{/other_user}","gists_url":"https://api.github.com/users/lowheartrate/gists{/gist_id}","starred_url":"https://api.github.com/users/lowheartrate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lowheartrate/subscriptions","organizations_url":"https://api.github.com/users/lowheartrate/orgs","repos_url":"https://api.github.com/users/lowheartrate/repos","events_url":"https://api.github.com/users/lowheartrate/events{/privacy}","received_events_url":"https://api.github.com/users/lowheartrate/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-01T08:58:27Z","updated_at":"2015-12-01T08:58:27Z","closed_at":null,"body":"So before someone asks me to do this I have already done *two clean installs* of this version of sourcebans from scratch and followed the manual accordingly and am still getting the same problem as follows:\r\n\r\nWhen I imported the bans to the site everything worked fine and dandy. When launching my *CS:GO Server* there is no errors in the logs **UNTIL** I use the admin menu to ban someone. It bans them from the server, yes but what it *does not do* is add the ban to the sourcebans page. After banning someone it then throws a sourceban error in there. The error I am getting is as follows:\r\n```\r\nL 11/29/2015 - 09:50:30: [sourcebans.smx] Failed to query database. (Unknown column 'ip' in 'where clause')\r\nL 11/29/2015 - 09:55:26: [sourcebans.smx] Failed to query database. (Cannot add or update a child row: a foreign key constraint fails (`heartfx_bans`.`sb_actions`, CONSTRAINT `action_server` FOREIGN KEY (`server_id`) REFERENCES `sb_servers` (`id`) ON DELETE CASCADE))\r\n```"}}