Page 1 of 1

The server reported an error

Posted: 22 April 2022, 21:03
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!

Re: The server reported an error

Posted: 22 April 2022, 22:01
by SteveD123
If it helps, the only thing I changed before the error was the contents of the 'presentation' array.

Re: The server reported an error

Posted: 23 April 2022, 17:37
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.

Re: The server reported an error

Posted: 24 April 2022, 11:30
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.