Raised This Month: $12 Target: $400
 3% 

[SOLVED] Fresly installed SourceBans mysql error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Amroth
Senior Member
Join Date: Apr 2013
Location: /root
Old 09-24-2014 , 16:58   [SOLVED] Fresly installed SourceBans mysql error
Reply With Quote #1

Hi, I am trying to install sourcebans, so far so good but I get kind of this errors when trying do something (add admin, add/remove ban etc)

(Cannot add or update a child row: a foreign key constraint fails (`amr_sbans`.`sb_actions`, CONSTRAINT `action_server` FOREIGN KEY (`server_id`) REFERENCES `sb_servers` (`id`) ON DELETE CASCADE))

Failed to insert the ID ban into the database: Cannot add or update a child row: a foreign key constraint fails (`amr_sbans`.`sb_bans`, CONSTRAINT `ban_server` FOREIGN KEY (`server_id`) REFERENCES `sb_servers` (`id`) ON DELETE SET NULL)

Database setting are OK,
Plugins works well,
Web panel works well,

How can I solve this error?

Edit:
Converting database from InnoDB to MyISAM solved the problem for me, thanks.

Last edited by Amroth; 09-24-2014 at 17:13.
Amroth is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode