The server reported an error

Game development with Board Game Arena Studio
Post Reply
User avatar
SteveD123
Posts: 9
Joined: 26 December 2021, 01:11

The server reported an error

Post by SteveD123 »

I made a change to gameinfos.inc.php. I got the error "The server reported an error" when I try to go to my game's management page. Troubleshooting page says this is due to a syntax error in gameinfos.inc.php. I reverted back to the previous working gamesinfos.inc.php. I even reverted back to the template gamesinfos.inc.php. But because I can't even get to my game's management page, I cannot press the "Reload Game information" button to reload gameinfos.inc.php. I think I'm in a catch-22: The loaded gameinfos.inc.php has a syntax error that makes it so I can't get to the game's management page. But I need to get to the management page to reload a clean gamesinfos.inc.php. Advice? Thanks!
User avatar
SteveD123
Posts: 9
Joined: 26 December 2021, 01:11

Re: The server reported an error

Post by SteveD123 »

If it helps, the only thing I changed before the error was the contents of the 'presentation' array.
User avatar
SteveD123
Posts: 9
Joined: 26 December 2021, 01:11

Re: The server reported an error

Post by SteveD123 »

I was able to break out of the Catch-22 by manually going to the URL https://studio.boardgamearena.com/admin ... html?game=
<my_project_name> after having uploaded the template gamesinfos.inc.php . That was the equivalent of pushing the "Reload game informations" button without actually being in the game's management page. After that I could get to my game's management page again, upload a fixed gamesinfos.inc.php, and press the "Reload game informations" button.
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: The server reported an error

Post by Een »

Thanks for reporting this, we should indeed make sure that a syntax error in the gameinfos doesn't break the manage game page.
Post Reply

Return to “Developers”