Game
Maintained by
Vasilis Daloukas
The game activity module makes use of questions, quizzes and glossaries to create offer a variety of interactive games.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
Please take a look at this error:
https://tracker.moodle.org/browse/CONTRIB-5463
Thank you.
We are using version 2013082406 with Moodle 2.4.7
After turning debugging on, I see:
line 476 of /lib/setuplib.php: moodle_exception thrown
line 42 of /mod/game/cross/play.php: call to print_error()
line 25 of /mod/game/cross/play.php: call to game_cross_new()
line 194 of /mod/game/attempt.php: call to game_cross_continue()
line 175 of /mod/game/attempt.php: call to game_create()
line 25 of /mod/game/attempt.php: call to game_do_attempt()
Any help you provide is very much appreciated!
Thank you.
This error is already fixed at the function game_get_version
I found an issue for Game module with Moodle 2.6.x (I have not tested it with moodle 2.7.x). In moodle 2.5.x there is a column called "version" at mdl_modules table, but this column is not present at moodle 2.6.x. It causes that game activity can not be edited after an upgrade. I think this is why George Chalatzoglidis reported an error on December 1 2013. I fixed quickly adding an empty column called version witn null property at table mdl_modules.
Yes, I know, this is not the best solution, but I needed to gain a couple hours without users requests while I could be able to fix it in the code.
I hope this helps you to check this issue in the code.
Best regards
Juan Saenz
Edu Labs Colombia
Donations help me have more time to continue working on this project.