Adding Attendance Code

Home > School Admin > Attendance Settings > Add Attendance Code

I get an error Your request failed due to a database error.
v24.0.00

Hi Tieku, you’ve found a bug! It is triggered when a new code is added but it has no roles specified. I suspect that it might be MySQL version related. I’ve fixed this in v25, and you can apply the fix to v24:

https://github.com/GibbonEdu/core/commit/3932dc88598412d5460936452a3d465fef898088

A work around for an unpatched v24 install is to add a code with some roles, then edit the roles out.

Sorry for the inconvenience : (

Ross