Page 1 of 1

Impossible to load the gameinfos file. Make sure it exists and it is a valid PHP file.

Posted: 25 August 2025, 17:56
by Soraton
I have a problem developing hereistand

When i try to start the game via express start, I get the error (linebreaks inserted for readability)

Unexpected error:
Wrong formatted data from gameserver 1 (method: createGame):
JSON_ERROR_SYNTAX <br />

<b>Warning</b>:
file_get_contents(/var/tournoi/release/games/hereistand/current/dbmodel.sql):
Failed to open stream: No such file or directory in <b>/var/tournoi/release/tournoi-250819-1100-gs/www/include/ModuleDbObject.inc.php</b> on line <b>206</b><br />

{"status":"0",
"exception":"feException",
"error":"Fatal error during hereistand setup: Legacy game module not found: hereistand.game.php (reference: GS1 25\/08 18:33:06)",
"expected":0,
"code":100,
"args":null}(reference: GS0 25/08 18:33:06)

When I try to reload the gameinfo in https://studio.boardgamearena.com/studi ... hereistand

I get the error

Reload game informations 🚨
Impossible to load the gameinfos file. Make sure it exists and it is a valid PHP file.

I am sure that the file exists and is a valid PHP file. After replacing the file with the clean template, the same error occures.

Re: Impossible to load the gameinfos file. Make sure it exists and it is a valid PHP file.

Posted: 25 August 2025, 18:28
by cheval_raye
I downloaded your project, and you moved all the files from root to hereistand directory. I think the framework expect the automatically created files where they are upon creation on the project, and not in another directory.

Re: Impossible to load the gameinfos file. Make sure it exists and it is a valid PHP file.

Posted: 25 August 2025, 18:34
by Soraton
omg thanks, I would have never noticed.
Problem was fixed when I opend the hereistand folder (instead of its parent) with visual studio code.

thank you so much!