AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   Ajax Call Failed (https://forums.alliedmods.net/showthread.php?t=277294)

Sw33T3R 01-06-2016 12:31

Ajax Call Failed
 
Hello
I have a big problem with SourceBans
Code:

[Server Specs]
Apache/2.4.12 (Ubuntu)
Database client version: libmysql - 5.6.27
PHP extension: mysqli Documentation
PHP version: 5.6.11-1ubuntu3.1
OS Ubuntu 15.10

I dont know why i have AJAX error when i want ban,kick someone from web panel
BTW SourceBans web rcon console doesnt work (Can't connect to the server)

I tried SourceBans 1.5.3 and 1.5.4 same problem

PHP Code:

Errorthe XML response that was returned from the server is invalidReceived
Warningstream_set_timeout() expects parameter 1 to be resourceboolean given in /var/www/html/sourcebans/includes/CServerRcon.php on line 50

Warning
fwrite() expects parameter 1 to be resourceboolean given in /var/www/html/sourcebans/includes/CServerRcon.php on line 71

Warning
fwrite() expects parameter 1 to be resourceboolean given in /var/www/html/sourcebans/includes/CServerRcon.php on line 71
$('dialog-control').setStyle('display''block'); 

PS (Before switching to new ubuntu (from 14.10 lts to 15.10) everything was okay, I dont remember previous php version)

Sw33T3R 01-18-2016 10:45

Re: Ajax Call Failed
 
Solved, just add +ip server_ip in server startup file


All times are GMT -4. The time now is 19:28.

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