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

Ajax Call Failed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sw33T3R
AlliedModders Donor
Join Date: Mar 2014
Old 01-06-2016 , 12:31   Ajax Call Failed
Reply With Quote #1

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)

Last edited by Sw33T3R; 01-06-2016 at 12:54.
Sw33T3R is offline
Sw33T3R
AlliedModders Donor
Join Date: Mar 2014
Old 01-18-2016 , 10:45   Re: Ajax Call Failed
Reply With Quote #2

Solved, just add +ip server_ip in server startup file
Sw33T3R is offline
Reply


Thread Tools
Display Modes

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 09:48.


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