Page 2 of 2

Re: Cant start my new project

Posted: 02 April 2017, 16:01
by Victoria_La
I don't have code access but I can guess that its accessing states structure and you did not define "name" field for one of your states.
alrusdi wrote: Undefined index: name in /var/tournoi/release/tournoi-151226-1240-gs/www/game/module/table/gamestate.game.php on line 335

Dont know how to debug this error

Re: Cant start my new project

Posted: 02 April 2017, 17:23
by docthib
alrusdi wrote:It is not my code - it is closed part of BGA engine. I want to analyze this part of code too))
My bad, it seems obvious that your game isn't named "gamestate".. xD sorry

But yes, sometimes you get errors from BGA Engine that doesn't match with the code displayed.
Recently I got a "createGame error" and it tooks me some hours to discover that the real problem was in gameState #12... (setup is #10, got another one in #11)