Page 1 of 1

El Grande - Won't Start

Posted: 30 January 2020, 04:14
by VanHlebar
My game won't start again. I am getting the following error when trying to start it:

Unexpected error: Wrong formatted data from BGA gameserver 1 (method: createGame): JSON_ERROR_SYNTAX
Warning: require_once(/var/www/tournoi/include/sefl.inc.php): failed to open stream: No such file or directory in /var/tournoi/release/tournoi-200121-1227-gs/www/index.php on line 99

Fatal error: require_once(): Failed opening required '/var/www/tournoi/include/sefl.inc.php' (include_path='.:/usr/share/php') in /var/tournoi/release/tournoi-200121-1227-gs/www/index.php on line 99

I hate to say I expect I messed up again but hoping you can assist. :)

Thanks,
Eric

Re: El Grande - Won't Start

Posted: 30 January 2020, 09:08
by RicardoRix
This is a guess. I had the exact same error when the BGA team ported my game over to the main site for testing.
One of the php modules I had made was not being linked \ referred to correctly.

Code: Select all

require_once('modules/tokens.php');

Re: El Grande - Won't Start

Posted: 30 January 2020, 10:48
by Een
It looks like it tries to autoload a file to satisfy a class dependency. My guess would be a typo when creating an object :)

Re: El Grande - Won't Start

Posted: 30 January 2020, 23:39
by VanHlebar
Wow you know what I really LOVE?? I love putting on display to all the other devs here just how terrible I am at this coding stuff! 🤣

I mean I seem to post here monthly with at least one of my own dumb mistakes. This one...well I mistyped self:: as sefl::

Lesson here kids, don't be like me, use version control that highlights your code changes in Visual Studio! This way you can quickly see lines that have been changed.

That's my public service announcement for today. 🤣