Skip to content

Won't add new bans to website - Getting this error! #76

Description

@codibez

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:

When 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:

L 11/29/2015 - 09:50:30: [sourcebans.smx] Failed to query database. (Unknown column 'ip' in 'where clause')
L 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))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions