Hi! Im using an VPS and ubuntu, i installed Sourcebans with no problems, but i got som problems, when am trying to kick someone from Sourcebans i got the ajax erro, This is the erro i get
Code:
Error: the XML response that was returned from the server is invalid. Received: Warning: stream_set_timeout() expects parameter 1 to be resource, boolean given in /var/www/bans/includes/CServerRcon.php on line 50 Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/bans/includes/CServerRcon.php on line 71 Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/bans/includes/CServerRcon.php on line 71 $('dialog-control').setStyle('display', 'block');ShowBox('Error', 'Can\'t kick www.Extreme-Gaming.se. Player not on the server anymore!', 'red', '', true); You have whitespace in your response.
And my other problem is that when im banning someone and when the ban expires or if i unban via sourcebans then it says on sourcebans that the person is unbanned but he can not still join, it says banned from the server,? Why is that? Thanks for all the answers, ben working on the problems for many days and hours.
my databases.cfg
Quote:
"Databases"
{
"driver_default" "mysql"
"sourcebans"
{
"driver" "mysql"
"host" "127.0.0.1"
"database" "sb"
"user" "root"
"pass" "*****"
//"timeout" "0"
"port" "3306"
}
"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}
"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
}
|