-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: restore fails #36
Comments
I added in db a default value of 0 for the field mdl_cardbox_statistics.numberofcards and got the following error. Foutopsporingsinformatie: Field 'duration' doesn't have a default value So I also added a default value of 0 for the field mdl_cardbox_statistics.duration. Now the restore seems to work. I don't know if choosing a 0 as default value is a good choice, but it works for now |
Couple of years later, researching a restore problem and finding my own bug again. Default exception handler: Fout bij het schrijven van de databank Debug: Field 'numberofcards' doesn't have a default value
|
I'm trying to restore a course with a large cardbox activity to another site with the cardbox installed.
Error message is
I looked at https://docs.moodle.org/400/en/error/moodle/dmlwriteexception#dmlwriteexception_error_when_restoring_a_course and the database tables are Barracuda.
I also added
to my mysql configuration.
I'm mentioning the problem here, because of Field 'numberofcards' doesn't have a default value seems to be a problem in the cardbox db configuration.
I can't look any further into it right now, but 'll try to provide some more info in a few days if necessary
The text was updated successfully, but these errors were encountered: