Forums

How to fix " Field 'form_id' doesn't have a default value" problem??

kraadde 11 Apr, 2024
How to fix the problem with "Field 'form_id' doesn't have a default value" ? The DB table has indeed values in the field form_id!
Max_admin 11 Apr, 2024
Where do you get this error ? can you post a screenshot ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
simelas 11 Apr, 2024
Hi all,

I got this onceĀ  when for any obscure reason the AUTO_INCREMENT id got unchecked. It was during an import DB process.
kraadde 11 Apr, 2024
Max,


here the screenshots .

Thanks for helping
2-min.jpg
kraadde 11 Apr, 2024
Max,


here the screenshots .

Thanks for helping
1-min.jpg
kraadde 11 Apr, 2024
Max,


here the screenshots .

Thanks for helping
Max_admin 12 Apr, 2024
Answer
is this an old table ? v8 uses "form_id" column and the value is never empty

but the problem you have is as "simelas" has pointed, the uniq_id column has no default value and you did not provide a value to be saved
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.