Raised This Month: $68 Target: $400
 17% 

Web panel error since upgrading from 1.4.9 to 1.4.11


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
WebNoob
Senior Member
Join Date: Jul 2008
Old 06-26-2015 , 13:53   Web panel error since upgrading from 1.4.9 to 1.4.11
Reply With Quote #1

Hello all,

I've been having a strange error since upgrading my sourcebans installation from 1.4.9 to 1.4.11:

On the RCON Console (where you can send rcon commands via the web panel to a server) when I send a command such as "changelevel pl_upward" to a server, the command executes on the game server correctly, but I get an error back on the web panel that says:

Code:
Error: the XML response that was returned from the server is invalid. Received: changelevel pl_upward
]]>]]>scroll.toBottom(); $('cmd').value=''; $('cmd').disabled=''; $('rcon_btn').disabled=''
...and the screen where it would usually show the output from the game server rcon command stay stuck at "executing..."

Is this a known bug, or is there something I need to fix?
WebNoob is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 06-29-2015 , 04:24   Re: Web panel error since upgrading from 1.4.9 to 1.4.11
Reply With Quote #2

That's a known quirk with php's unpack function and missing support for NULL terminators in strings. I've worked around this in the repo.
Try replacing the includes/CServerRcon.php file with the new one from git.
__________________
Peace-Maker is offline
WebNoob
Senior Member
Join Date: Jul 2008
Old 06-29-2015 , 22:28   Re: Web panel error since upgrading from 1.4.9 to 1.4.11
Reply With Quote #3

Looks like that did the trick.

Thank you, good sir!
WebNoob 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 15:05.


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