I am working with a copy of Hanabi - it worked before Christmas but when I come back to it it fails to start with the error:
It seems like the game options array is empty, so the option being requested is coming back as 0, which is not in the array being looked up.
When I set up the game, there are also not visible game options being set.
---
Within the game management, I have tried pressing the "Reload Game Options Config", but that returns the following output:
It seems like it is loading an empty configuration for some reason.
Here is the gameoptions.inc.php file:
Is there anyway to see errors from gameoptions.inc.php, perhaps to see if I have introduced a syntax error somehow?
I have tried reverting the gameoptions.inc.php to the original version from the version I copied, but even that does not work.
Code: Select all
Notice: Undefined offset: 0 in /var/tournoi/release/games/hanabiant/999999-9999/hanabiant.game.php on line 444
When I set up the game, there are also not visible game options being set.
---
Within the game management, I have tried pressing the "Reload Game Options Config", but that returns the following output:
Code: Select all
Reloading game options for game hanabiant
New gameoptions.json and gamepreferences.json are now in place:
[]
{"200":{"name":"Display tooltips","needReload":false,"generic":true,"values":[{"name":"Enabled"},{"name":"Disabled"}]}}
Here is the gameoptions.inc.php file:
Is there anyway to see errors from gameoptions.inc.php, perhaps to see if I have introduced a syntax error somehow?
I have tried reverting the gameoptions.inc.php to the original version from the version I copied, but even that does not work.