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

[REQ HELP]Rcon Ajax Error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
captaindeterprimary
AlliedModders Donor
Join Date: Sep 2012
Old 12-10-2012 , 13:56   [REQ HELP]Rcon Ajax Error
Reply With Quote #1

Hey there I recieve this error when trying to use rcon from the page
Code:
Error: the XML response that was returned from the server is invalid. Received: Warning: fwrite() expects at most 3 parameters, 4 given in /var/www/www.simplybrony.org/tf2/ban/includes/CServerRcon.php on line 71 Warning: fwrite() expects at most 3 parameters, 4 given in /var/www/www.simplybrony.org/tf2/ban/includes/CServerRcon.php on line 71 status
]]>]]>scroll.toBottom(); $('cmd').value=''; $('cmd').disabled=''; $('rcon_btn').disabled='' You have whitespace in your response.
What should I do to remedy this?
__________________
Last edited by ; Today at 08:20 AM. Reason: Get rid of s
captaindeterprimary is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 01-09-2013 , 10:16   Re: [REQ HELP]Rcon Ajax Error
Reply With Quote #2

Did you modify the CServerRcon class?
PHP Code:
fwrite($this->_sock$datastrlen($data)); 
I count 3 passed parameters. Don't know where your install get that 4 from.
__________________
Peace-Maker is offline
captaindeterprimary
AlliedModders Donor
Join Date: Sep 2012
Old 01-09-2013 , 17:06   Re: [REQ HELP]Rcon Ajax Error
Reply With Quote #3

Quote:
Originally Posted by Peace-Maker View Post
Did you modify the CServerRcon class?
PHP Code:
fwrite($this->_sock$datastrlen($data)); 
I count 3 passed parameters. Don't know where your install get that 4 from.
No I deleted the whole install and reinstalled it and set the includes to 665 and it worked.
__________________
Last edited by ; Today at 08:20 AM. Reason: Get rid of s
captaindeterprimary 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 18:39.


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