It appears the binding is not allowing empty fields. But why now. The strict is off (or was).
in toad's window I can write these two inserts. The first fails. The second does not.
insert into info (infoid, infoindex values ('', '');
insert into info (infoid, infotext) value (null, null);
both fields are default null. both are ints.
C:\xampp\htdocs\csc> mysql -e "SELECT @@sql_mode;"
+--------------------------------------------+
| @@sql_mode |
+--------------------------------------------+
| NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION |
+--------------------------------------------+
Also checked the table.
Practice aside, this was working yesterday. .