maniaplanet/dedicated-server-api doesn't work with PHP-XMLRPC enabled

Discuss the Dedicated Server Tools developed by Nadeo Live such as ManiaLive, Trust Circles, Dedicated Manager, Competition Manager and Lobbies

Moderator: NADEO

Post Reply
User avatar
Chris92
Translator
Translator
Posts: 929
Joined: 15 Jun 2010, 13:22
Location: Vilshofen, Germany
Contact:

maniaplanet/dedicated-server-api doesn't work with PHP-XMLRPC enabled

Post by Chris92 » 24 Jan 2018, 09:49

I'm using the dedicated-server-api library in AdminServ-Neo and I just had a user encounter an issue in the library.
With XMLRPC extension for PHP enabled, he gets the following error in this file: https://github.com/maniaplanet/dedicate ... equest.php on Line 30

Code: Select all

Fatal error: xmlrpc_encode_request(): XML-RPC doesn't support circular references
Can you perhaps take a look at what exactly the error could be? Either the XMLRPC extension is buggy or something in that Request.php doesn't work as it's supposed to.
Stacktrace: https://i.imgur.com/LaXpQ79.png
Image

Maintainer of AdminServ - Follow @AdminServ on Twitter!
Check out my Personal Twitter account!

User avatar
magnetik
Nadeo
Nadeo
Posts: 1643
Joined: 01 Feb 2012, 19:13
Location: Paris
Contact:

Re: maniaplanet/dedicated-server-api doesn't work with PHP-XMLRPC enabled

Post by magnetik » 24 Jan 2018, 14:40

Hi,

First of all I'm not sure that I would recommend using this extension at all. I have not done any benchmark, but I don't think that it save any time.

Maybe you are sending something wrong as a param, could you log the params that cause an error ?
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!

Post Reply

Return to “Dedicated Server Tools”

Who is online

Users browsing this forum: No registered users and 1 guest